diff mbox series

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

Message ID 20240501024316.1767971-78-trini@konsulko.com
State Accepted
Commit febc01caed52a47bf5cf29f00f290ac1af07c3b5
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: Holger Brunck <holger.brunck@hitachienergy.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Niel Fourie <lusus@denx.de>
Cc: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>
Cc: Rainer Boschung <rainer.boschung@hitachienergy.com>
---
 board/keymile/common/common.c       | 2 +-
 board/keymile/common/ivm.c          | 3 ++-
 board/keymile/common/qrio.c         | 2 +-
 board/keymile/km83xx/km83xx.c       | 2 +-
 board/keymile/pg-wcom-ls102xa/ddr.c | 2 +-
 board/keymile/secu1/socfpga.c       | 1 -
 6 files changed, 6 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: Holger Brunck <holger.brunck@hitachienergy.com>
> Cc: Heiko Schocher <hs@denx.de>
> Cc: Niel Fourie <lusus@denx.de>
> Cc: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>
> Cc: Rainer Boschung <rainer.boschung@hitachienergy.com>
> ---
>   board/keymile/common/common.c       | 2 +-
>   board/keymile/common/ivm.c          | 3 ++-
>   board/keymile/common/qrio.c         | 2 +-
>   board/keymile/km83xx/km83xx.c       | 2 +-
>   board/keymile/pg-wcom-ls102xa/ddr.c | 2 +-
>   board/keymile/secu1/socfpga.c       | 1 -
>   6 files changed, 6 insertions(+), 6 deletions(-)

Thanks!

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

bye,
Heiko
Holger Brunck May 3, 2024, 6:36 a.m. UTC | #2
Hi Tom,

> 
> 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: Holger Brunck <holger.brunck@hitachienergy.com>
> Cc: Heiko Schocher <hs@denx.de>
> Cc: Niel Fourie <lusus@denx.de>
> Cc: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>
> Cc: Rainer Boschung <rainer.boschung@hitachienergy.com>
> ---
>  board/keymile/common/common.c       | 2 +-
>  board/keymile/common/ivm.c          | 3 ++-
>  board/keymile/common/qrio.c         | 2 +-
>  board/keymile/km83xx/km83xx.c       | 2 +-
>  board/keymile/pg-wcom-ls102xa/ddr.c | 2 +-
>  board/keymile/secu1/socfpga.c       | 1 -
>  6 files changed, 6 insertions(+), 6 deletions(-)
> 

Reviewed-By: Holger Brunck <holger.brunck@hitachienergy.com>

Best regards
Holger
diff mbox series

Patch

diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c
index 991022ac833a..9358c25dcb05 100644
--- a/board/keymile/common/common.c
+++ b/board/keymile/common/common.c
@@ -7,7 +7,7 @@ 
  * Holger Brunck, Keymile GmbH Hannover, holger.brunck@keymile.com
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <ioports.h>
 #include <command.h>
diff --git a/board/keymile/common/ivm.c b/board/keymile/common/ivm.c
index 67db0c50f47c..f01fe44303c9 100644
--- a/board/keymile/common/ivm.c
+++ b/board/keymile/common/ivm.c
@@ -4,10 +4,11 @@ 
  * Holger Brunck, Keymile GmbH Hannover, holger.brunck@keymile.com
  */
 
-#include <common.h>
 #include <cli_hush.h>
 #include <env.h>
 #include <i2c.h>
+#include <stdio.h>
+#include <vsprintf.h>
 #include "common.h"
 
 #define MAC_STR_SZ	20
diff --git a/board/keymile/common/qrio.c b/board/keymile/common/qrio.c
index b433f69675ab..c8299483299d 100644
--- a/board/keymile/common/qrio.c
+++ b/board/keymile/common/qrio.c
@@ -4,7 +4,7 @@ 
  * Valentin Longchamp <valentin.longchamp@keymile.com>
  */
 
-#include <common.h>
+#include <config.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
 
diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx/km83xx.c
index acd13105dd55..40718aa58a7b 100644
--- a/board/keymile/km83xx/km83xx.c
+++ b/board/keymile/km83xx/km83xx.c
@@ -13,7 +13,7 @@ 
  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
  */
 
-#include <common.h>
+#include <config.h>
 #include <env.h>
 #include <event.h>
 #include <fdt_support.h>
diff --git a/board/keymile/pg-wcom-ls102xa/ddr.c b/board/keymile/pg-wcom-ls102xa/ddr.c
index 556d39d4d4e3..51938a1b4d88 100644
--- a/board/keymile/pg-wcom-ls102xa/ddr.c
+++ b/board/keymile/pg-wcom-ls102xa/ddr.c
@@ -4,7 +4,7 @@ 
  * Copyright 2020 Hitachi Power Grids. All rights reserved.
  */
 
-#include <common.h>
+#include <config.h>
 #include <fsl_ddr_sdram.h>
 #include <fsl_ddr_dimm_params.h>
 #include <asm/io.h>
diff --git a/board/keymile/secu1/socfpga.c b/board/keymile/secu1/socfpga.c
index 6a4cb21786ac..1a626c520680 100644
--- a/board/keymile/secu1/socfpga.c
+++ b/board/keymile/secu1/socfpga.c
@@ -2,7 +2,6 @@ 
 /*
  * Copyright (C) 2017-2020 Hitachi Power Grids
  */
-#include <common.h>
 #include <i2c.h>
 #include <asm/gpio.h>