]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
bootcount: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Thu, 2 May 2024 01:30:32 +0000 (19:30 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 7 May 2024 14:00:41 +0000 (08:00 -0600)
Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/bootcount/bootcount-uclass.c
drivers/bootcount/bootcount_at91.c
drivers/bootcount/bootcount_env.c
drivers/bootcount/bootcount_ram.c
drivers/bootcount/bootcount_syscon.c
drivers/bootcount/i2c-eeprom.c
drivers/bootcount/pmic_pfuze100.c
drivers/bootcount/rtc.c
drivers/bootcount/spi-flash.c

index 5a369c82f1c5e22d48aa7e498e0d5af38bf12a47..0178c1818e59edbe63412beb2dc3287cec8a65c2 100644 (file)
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_BOOTCOUNT
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <bootcount.h>
index c4ab5ceafabdf03828ecd53310a13cfd7a5376a7..1a06db1fb7406792d6519695a2b404326070246f 100644 (file)
@@ -1,6 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0+
 
-#include <common.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/at91_gpbr.h>
index b75c9002b2c0a7ffb532570a9af13aa637ffcf22..960cd71b9d562cccc35a8c82ada5455a1246862c 100644 (file)
@@ -4,7 +4,6 @@
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  */
 
-#include <common.h>
 #include <env.h>
 
 void bootcount_store(ulong a)
index 8cc30cf40eff4a6c2310007c6175b662d40ac39c..33e157b865a113f4f4aadf48f19636093a6c7338 100644 (file)
@@ -4,7 +4,6 @@
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  */
 
-#include <common.h>
 #include <cpu_func.h>
 #include <asm/cache.h>
 #include <asm/global_data.h>
index f80d87071d98b0dbf6d612691395954ad13335b3..5dbc13cd5452e9a9a113a737f857b00223c33e2f 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (c) Vaisala Oyj. All rights reserved.
  */
 
-#include <common.h>
 #include <bootcount.h>
 #include <dm.h>
 #include <dm/device_compat.h>
index 709be094b118084e7a340b215516bf23be3e3225..12c430465c981ae1e8764a16cfdb36c28275faa8 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2019 GE
  */
 
-#include <common.h>
 #include <bootcount.h>
 #include <dm.h>
 #include <i2c_eeprom.h>
index df046f1b0ab08a719102921b6bb4c66a956facc3..8c529f5592b43e19a41ed48234cf92f2b797cb68 100644 (file)
@@ -8,7 +8,6 @@
  * This works only, if the PMIC is not connected to a battery.
  */
 
-#include <common.h>
 #include <bootcount.h>
 #include <dm.h>
 #include <power/pmic.h>
index 483caaa80df400d11c4796d7ac45d55c96801bb1..b131946aa9d1e00777924d9045e973827b7e82d6 100644 (file)
@@ -3,7 +3,6 @@
  * (C) Copyright 2018 Theobroma Systems Design und Consulting GmbH
  */
 
-#include <common.h>
 #include <bootcount.h>
 #include <dm.h>
 #include <log.h>
index 03050e66613470cedd1d2623c3c75d5e662037c0..155d0323ee78477d2f52ff9785b1ff90d05c523d 100644 (file)
@@ -4,7 +4,6 @@
  * (C) Copyright 2019 GE
  */
 
-#include <common.h>
 #include <bootcount.h>
 #include <dm.h>
 #include <spi_flash.h>