[PATCH 027/149] board: bosch: Remove <common.h> and add needed includes
Tom Rini
trini at konsulko.com
Wed May 1 04:41:14 CEST 2024
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
Cc: Matthias Winker <matthias.winker at de.bosch.com>
Cc: Philip Oberfichtner <pro at denx.de>
Cc: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
Cc: Govindaraji Sivanantham <Govindaraji.Sivanantham at in.bosch.com>
Cc: Hiremath Gireesh <Gireesh.Hiremath at in.bosch.com>
Cc: Heiko Schocher <hs at denx.de>
---
board/bosch/acc/acc.c | 2 +-
board/bosch/guardian/board.c | 2 +-
board/bosch/guardian/mux.c | 1 -
board/bosch/shc/board.c | 2 +-
board/bosch/shc/mux.c | 1 -
5 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/board/bosch/acc/acc.c b/board/bosch/acc/acc.c
index 65c2f3567135..a1a00e7ffc49 100644
--- a/board/bosch/acc/acc.c
+++ b/board/bosch/acc/acc.c
@@ -5,7 +5,7 @@
* Copyright (c) 2022 DENX Software Engineering GmbH, Philip Oberfichtner <pro at denx.de>
*/
-#include <common.h>
+#include <config.h>
#include <cpu_func.h>
#include <bootstage.h>
#include <dm.h>
diff --git a/board/bosch/guardian/board.c b/board/bosch/guardian/board.c
index ee9e6d632ed4..41d7567ad21e 100644
--- a/board/bosch/guardian/board.c
+++ b/board/bosch/guardian/board.c
@@ -8,7 +8,7 @@
* Copyright (C) 2018 Robert Bosch Power Tools GmbH
*/
-#include <common.h>
+#include <config.h>
#include <dm.h>
#include <env_internal.h>
#include <errno.h>
diff --git a/board/bosch/guardian/mux.c b/board/bosch/guardian/mux.c
index 53850ffb8f7e..eab3398c4aec 100644
--- a/board/bosch/guardian/mux.c
+++ b/board/bosch/guardian/mux.c
@@ -6,7 +6,6 @@
* Copyright (C) 2018 Robert Bosch Power Tools GmbH
*/
-#include <common.h>
#include <i2c.h>
#include <asm/arch/hardware.h>
#include <asm/arch/mux.h>
diff --git a/board/bosch/shc/board.c b/board/bosch/shc/board.c
index aebdfd4dfec0..ab688745938a 100644
--- a/board/bosch/shc/board.c
+++ b/board/bosch/shc/board.c
@@ -11,7 +11,7 @@
* Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
*/
-#include <common.h>
+#include <config.h>
#include <bootstage.h>
#include <cpu_func.h>
#include <env.h>
diff --git a/board/bosch/shc/mux.c b/board/bosch/shc/mux.c
index f19d1866c721..a2a8947a3bd8 100644
--- a/board/bosch/shc/mux.c
+++ b/board/bosch/shc/mux.c
@@ -9,7 +9,6 @@
* Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
*/
-#include <common.h>
#include <hang.h>
#include <asm/arch/sys_proto.h>
#include <asm/arch/hardware.h>
--
2.34.1
More information about the U-Boot
mailing list