diff options
author | Tom Rini <trini@konsulko.com> | 2024-04-30 20:41:37 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-05-06 15:07:50 -0600 |
commit | f1f9871e86f84f1fd0e67a3d290aef92274cac07 (patch) | |
tree | af76a1e95af43b02d81eb0acb9abf91e1ae8c73f | |
parent | a1bb705c6dddc901b7a53a70c68f7a0cf613b6c6 (diff) | |
download | u-boot-f1f9871e86f84f1fd0e67a3d290aef92274cac07.tar.gz u-boot-f1f9871e86f84f1fd0e67a3d290aef92274cac07.tar.bz2 u-boot-f1f9871e86f84f1fd0e67a3d290aef92274cac07.zip |
board: dhelectronics: Remove <common.h> and add needed includes
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | board/dhelectronics/common/dh_common.c | 1 | ||||
-rw-r--r-- | board/dhelectronics/common/dh_imx.c | 2 | ||||
-rw-r--r-- | board/dhelectronics/dh_imx6/dh_imx6.c | 1 | ||||
-rw-r--r-- | board/dhelectronics/dh_imx6/dh_imx6_spl.c | 1 | ||||
-rw-r--r-- | board/dhelectronics/dh_imx8mp/common.c | 1 | ||||
-rw-r--r-- | board/dhelectronics/dh_imx8mp/imx8mp_dhcom_pdk2.c | 1 | ||||
-rw-r--r-- | board/dhelectronics/dh_imx8mp/spl.c | 1 | ||||
-rw-r--r-- | board/dhelectronics/dh_stm32mp1/board.c | 1 |
8 files changed, 1 insertions, 8 deletions
diff --git a/board/dhelectronics/common/dh_common.c b/board/dhelectronics/common/dh_common.c index 34094a020b..32c50b4f0f 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 7f451bad59..3d6487dd0d 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 9dcfcec9e9..c8dd30dfea 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 e6d5657c62..3a5495ea18 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 44456da681..f6db9f6780 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 ff2c0e8721..c635735d89 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 7d228da8e5..714f846521 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 22af423536..20c9d70737 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> |