diff mbox series

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

Message ID 20240501024316.1767971-116-trini@konsulko.com
State Accepted
Commit bdae1d831fa762e8fceb715a8117f5a8547ecb27
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:42 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: Anatolij Gustschin <agust@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Le Jin <le.jin@siemens.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
---
 board/siemens/capricorn/board.c   | 1 -
 board/siemens/capricorn/spl.c     | 1 -
 board/siemens/corvus/board.c      | 2 +-
 board/siemens/iot2050/board.c     | 2 +-
 board/siemens/smartweb/smartweb.c | 2 +-
 board/siemens/taurus/taurus.c     | 2 +-
 6 files changed, 4 insertions(+), 6 deletions(-)

Comments

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

On 01.05.24 04:42, 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: Anatolij Gustschin <agust@denx.de>
> Cc: Heiko Schocher <hs@denx.de>
> Cc: Le Jin <le.jin@siemens.com>
> Cc: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>   board/siemens/capricorn/board.c   | 1 -
>   board/siemens/capricorn/spl.c     | 1 -
>   board/siemens/corvus/board.c      | 2 +-
>   board/siemens/iot2050/board.c     | 2 +-
>   board/siemens/smartweb/smartweb.c | 2 +-
>   board/siemens/taurus/taurus.c     | 2 +-
>   6 files changed, 4 insertions(+), 6 deletions(-)

Thanks!

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

bye,
Heiko
diff mbox series

Patch

diff --git a/board/siemens/capricorn/board.c b/board/siemens/capricorn/board.c
index b1d7e3b1c05a..53dac8bfe1be 100644
--- a/board/siemens/capricorn/board.c
+++ b/board/siemens/capricorn/board.c
@@ -5,7 +5,6 @@ 
  * Copyright 2019 Siemens AG
  *
  */
-#include <common.h>
 #include <command.h>
 #include <dm.h>
 #include <env.h>
diff --git a/board/siemens/capricorn/spl.c b/board/siemens/capricorn/spl.c
index e160c611a962..696b5ebd340b 100644
--- a/board/siemens/capricorn/spl.c
+++ b/board/siemens/capricorn/spl.c
@@ -5,7 +5,6 @@ 
  * Copyright 2019 Siemens AG
  *
  */
-#include <common.h>
 #include <init.h>
 #include <spl.h>
 #include <dm.h>
diff --git a/board/siemens/corvus/board.c b/board/siemens/corvus/board.c
index 569b86db00ac..7d73d1f2b361 100644
--- a/board/siemens/corvus/board.c
+++ b/board/siemens/corvus/board.c
@@ -10,7 +10,7 @@ 
  * Lead Tech Design <www.leadtechdesign.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <log.h>
diff --git a/board/siemens/iot2050/board.c b/board/siemens/iot2050/board.c
index 0b0686e2628b..ed292c364a5f 100644
--- a/board/siemens/iot2050/board.c
+++ b/board/siemens/iot2050/board.c
@@ -8,7 +8,7 @@ 
  *   Jan Kiszka <jan.kiszka@siemens.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <bootstage.h>
 #include <dm.h>
 #include <fdt_support.h>
diff --git a/board/siemens/smartweb/smartweb.c b/board/siemens/smartweb/smartweb.c
index 15044c7d0edf..946fbc3f2299 100644
--- a/board/siemens/smartweb/smartweb.c
+++ b/board/siemens/smartweb/smartweb.c
@@ -15,7 +15,7 @@ 
  * DENX Software Engineering GmbH
  */
 
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <init.h>
 #include <net.h>
diff --git a/board/siemens/taurus/taurus.c b/board/siemens/taurus/taurus.c
index ad44a7c0d28b..bda12a977088 100644
--- a/board/siemens/taurus/taurus.c
+++ b/board/siemens/taurus/taurus.c
@@ -12,7 +12,7 @@ 
  */
 
 #include <command.h>
-#include <common.h>
+#include <config.h>
 #include <dm.h>
 #include <env.h>
 #include <init.h>