Remove <common.h> from this board vendor directory and when needed add missing include files directly.
Signed-off-by: Tom Rini <tr...@konsulko.com> --- Cc: Holger Brunck <holger.bru...@hitachienergy.com> Cc: Heiko Schocher <h...@denx.de> Cc: Niel Fourie <lu...@denx.de> Cc: Aleksandar Gerasimovski <aleksandar.gerasimov...@hitachienergy.com> Cc: Rainer Boschung <rainer.bosch...@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(-) 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.bru...@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.bru...@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.longch...@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, h...@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> -- 2.34.1