diff mbox series

[027/149] board: bosch: Remove <common.h> and add needed includes

Message ID 20240501024316.1767971-27-trini@konsulko.com
State Accepted
Commit 8439417d9ad19ff3606382090ccac3dd656edf37
Delegated to: Tom Rini
Headers show
Series [001/149] global: Make <asm/global_data.h> include <asm/u-boot.h> | expand

Commit Message

Tom Rini May 1, 2024, 2:41 a.m. UTC
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
Cc: Matthias Winker <matthias.winker@de.bosch.com>
Cc: Philip Oberfichtner <pro@denx.de>
Cc: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Cc: Govindaraji Sivanantham <Govindaraji.Sivanantham@in.bosch.com>
Cc: Hiremath Gireesh <Gireesh.Hiremath@in.bosch.com>
Cc: Heiko Schocher <hs@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(-)

Comments

Heiko Schocher May 1, 2024, 5:08 a.m. UTC | #1
Hello Tom,

On 01.05.24 04:41, Tom Rini wrote:
> Remove <common.h> from this board vendor directory and when needed
> add missing include files directly.
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
> Cc: Matthias Winker <matthias.winker@de.bosch.com>
> Cc: Philip Oberfichtner <pro@denx.de>
> Cc: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
> Cc: Govindaraji Sivanantham <Govindaraji.Sivanantham@in.bosch.com>
> Cc: Hiremath Gireesh <Gireesh.Hiremath@in.bosch.com>
> Cc: Heiko Schocher <hs@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(-)

Thanks!

Reviewed-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
diff mbox series

Patch

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@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>