[PATCH 04/33] arm: u8500: Remove <common.h> and add needed includes

Tom Rini trini at konsulko.com
Tue Apr 30 15:35:30 CEST 2024


Remove <common.h> from all mach-u8500 files and when needed add missing
include files directly.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Stephan Gerhold <stephan at gerhold.net>
Cc: Linus Walleij <linus.walleij at linaro.org>
---
 arch/arm/mach-u8500/cache.c   | 2 +-
 arch/arm/mach-u8500/cpuinfo.c | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/mach-u8500/cache.c b/arch/arm/mach-u8500/cache.c
index 05a91346a897..7541b567d0fd 100644
--- a/arch/arm/mach-u8500/cache.c
+++ b/arch/arm/mach-u8500/cache.c
@@ -3,7 +3,7 @@
  * Copyright (C) 2019 Stephan Gerhold <stephan at gerhold.net>
  */
 
-#include <common.h>
+#include <config.h>
 #include <cpu_func.h>
 #include <asm/armv7.h>
 #include <asm/cache.h>
diff --git a/arch/arm/mach-u8500/cpuinfo.c b/arch/arm/mach-u8500/cpuinfo.c
index ab05b8a51b23..6d4c6196c3df 100644
--- a/arch/arm/mach-u8500/cpuinfo.c
+++ b/arch/arm/mach-u8500/cpuinfo.c
@@ -3,7 +3,6 @@
  * Copyright (C) 2019 Stephan Gerhold <stephan at gerhold.net>
  */
 
-#include <common.h>
 #include <init.h>
 #include <asm/io.h>
 
-- 
2.34.1



More information about the U-Boot mailing list