[PATCH 40/81] memory: Remove <common.h> and add needed includes

Tom Rini trini at konsulko.com
Thu May 2 03:30:57 CEST 2024


Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Patrick Delaunay <patrick.delaunay at foss.st.com>
Cc: Patrice Chotard <patrice.chotard at foss.st.com>
Cc: Tom Rini <trini at konsulko.com>
Cc: Christophe Kerello <christophe.kerello at foss.st.com>
Cc: Eugen Hristev <eugen.hristev at collabora.com>
Cc: Caleb Connolly <caleb.connolly at linaro.org>
Cc: Igor Prusov <ivprusov at salutedevices.com>
Cc: Dario Binacchi <dario.binacchi at amarulasolutions.com>
Cc: Roger Quadros <rogerq at kernel.org>
Cc: Nishanth Menon <nm at ti.com>
---
 drivers/memory/stm32-fmc2-ebi.c | 1 -
 drivers/memory/ti-aemif.c       | 1 -
 drivers/memory/ti-gpmc.c        | 1 -
 3 files changed, 3 deletions(-)

diff --git a/drivers/memory/stm32-fmc2-ebi.c b/drivers/memory/stm32-fmc2-ebi.c
index 1ce960778586..713dead5c572 100644
--- a/drivers/memory/stm32-fmc2-ebi.c
+++ b/drivers/memory/stm32-fmc2-ebi.c
@@ -5,7 +5,6 @@
 
 #define LOG_CATEGORY UCLASS_NOP
 
-#include <common.h>
 #include <clk.h>
 #include <dm.h>
 #include <reset.h>
diff --git a/drivers/memory/ti-aemif.c b/drivers/memory/ti-aemif.c
index 41325eb0f941..29131f536a66 100644
--- a/drivers/memory/ti-aemif.c
+++ b/drivers/memory/ti-aemif.c
@@ -6,7 +6,6 @@
  *     Texas Instruments Incorporated, <www.ti.com>
  */
 
-#include <common.h>
 #include <asm/arch/hardware.h>
 #include <asm/ti-common/ti-aemif.h>
 
diff --git a/drivers/memory/ti-gpmc.c b/drivers/memory/ti-gpmc.c
index 8877b8f4385b..8af48e199a74 100644
--- a/drivers/memory/ti-gpmc.c
+++ b/drivers/memory/ti-gpmc.c
@@ -7,7 +7,6 @@
 
 #include <asm/io.h>
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device-internal.h>
 #include <dm/device_compat.h>
-- 
2.34.1



More information about the U-Boot mailing list