diff --git a/board/dhelectronics/common/dh_common.c b/board/dhelectronics/common/dh_common.c index 34094a020b07..32c50b4f0f59 100644 --- a/board/dhelectronics/common/dh_common.c +++ b/board/dhelectronics/common/dh_common.c @@ -4,7 +4,6 @@ * Copyright 2022 DENX Software Engineering GmbH, Philip Oberfichtner <pro@denx.de> */ -#include <common.h> #include <dm.h> #include <i2c_eeprom.h> #include <net.h> diff --git a/board/dhelectronics/common/dh_imx.c b/board/dhelectronics/common/dh_imx.c index 7f451bad59c7..3d6487dd0d8c 100644 --- a/board/dhelectronics/common/dh_imx.c +++ b/board/dhelectronics/common/dh_imx.c @@ -4,9 +4,9 @@ * Copyright 2022 DENX Software Engineering GmbH, Philip Oberfichtner <pro@denx.de> */ +#include <linux/errno.h> #include <asm/arch/imx-regs.h> #include <asm/arch/sys_proto.h> -#include <common.h> #include <net.h> #include "dh_imx.h" diff --git a/board/dhelectronics/dh_imx6/dh_imx6.c b/board/dhelectronics/dh_imx6/dh_imx6.c index 9dcfcec9e9e6..c8dd30dfeaf5 100644 --- a/board/dhelectronics/dh_imx6/dh_imx6.c +++ b/board/dhelectronics/dh_imx6/dh_imx6.c @@ -5,7 +5,6 @@ * Copyright (C) 2017 Marek Vasut <marex@denx.de> */ -#include <common.h> #include <dm.h> #include <image.h> #include <init.h> diff --git a/board/dhelectronics/dh_imx6/dh_imx6_spl.c b/board/dhelectronics/dh_imx6/dh_imx6_spl.c index e6d5657c62d0..3a5495ea18e3 100644 --- a/board/dhelectronics/dh_imx6/dh_imx6_spl.c +++ b/board/dhelectronics/dh_imx6/dh_imx6_spl.c @@ -5,7 +5,6 @@ * Copyright (C) 2017 Marek Vasut <marex@denx.de> */ -#include <common.h> #include <cpu_func.h> #include <init.h> #include <asm/arch/clock.h> diff --git a/board/dhelectronics/dh_imx8mp/common.c b/board/dhelectronics/dh_imx8mp/common.c index 44456da681ce..f6db9f678042 100644 --- a/board/dhelectronics/dh_imx8mp/common.c +++ b/board/dhelectronics/dh_imx8mp/common.c @@ -3,7 +3,6 @@ * Copyright 2022 Marek Vasut <marex@denx.de> */ -#include <common.h> #include <asm/io.h> #include <asm-generic/gpio.h> diff --git a/board/dhelectronics/dh_imx8mp/imx8mp_dhcom_pdk2.c b/board/dhelectronics/dh_imx8mp/imx8mp_dhcom_pdk2.c index ff2c0e872151..c635735d89cb 100644 --- a/board/dhelectronics/dh_imx8mp/imx8mp_dhcom_pdk2.c +++ b/board/dhelectronics/dh_imx8mp/imx8mp_dhcom_pdk2.c @@ -3,7 +3,6 @@ * Copyright 2022 Marek Vasut <marex@denx.de> */ -#include <common.h> #include <asm/arch/clock.h> #include <asm/arch/ddr.h> #include <asm/arch/sys_proto.h> diff --git a/board/dhelectronics/dh_imx8mp/spl.c b/board/dhelectronics/dh_imx8mp/spl.c index 7d228da8e5b7..714f846521e0 100644 --- a/board/dhelectronics/dh_imx8mp/spl.c +++ b/board/dhelectronics/dh_imx8mp/spl.c @@ -3,7 +3,6 @@ * Copyright 2022 Marek Vasut <marex@denx.de> */ -#include <common.h> #include <hang.h> #include <image.h> #include <init.h> diff --git a/board/dhelectronics/dh_stm32mp1/board.c b/board/dhelectronics/dh_stm32mp1/board.c index 22af423536d5..20c9d70737ec 100644 --- a/board/dhelectronics/dh_stm32mp1/board.c +++ b/board/dhelectronics/dh_stm32mp1/board.c @@ -3,7 +3,6 @@ * Copyright (C) 2018, STMicroelectronics - All Rights Reserved */ -#include <common.h> #include <adc.h> #include <log.h> #include <net.h>
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: Andreas Geisreiter <ageisreiter@dh-electronics.de> Cc: Christoph Niedermaier <cniedermaier@dh-electronics.com> Cc: Marek Vasut <marex@denx.de> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com> Cc: Patrice Chotard <patrice.chotard@foss.st.com> --- board/dhelectronics/common/dh_common.c | 1 - board/dhelectronics/common/dh_imx.c | 2 +- board/dhelectronics/dh_imx6/dh_imx6.c | 1 - board/dhelectronics/dh_imx6/dh_imx6_spl.c | 1 - board/dhelectronics/dh_imx8mp/common.c | 1 - board/dhelectronics/dh_imx8mp/imx8mp_dhcom_pdk2.c | 1 - board/dhelectronics/dh_imx8mp/spl.c | 1 - board/dhelectronics/dh_stm32mp1/board.c | 1 - 8 files changed, 1 insertion(+), 8 deletions(-)