From: Tom Rini <trini@konsulko.com> Date: Wed, 1 May 2024 02:42:40 +0000 (-0600) Subject: board: samsung: Remove <common.h> and add needed includes X-Git-Tag: v2025.01-rc5-pxa1908~409^2~18^2~95 X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/login.html?a=commitdiff_plain;h=e4f0fc0e2173a789cc5feeec4683a04e793a07a9;p=u-boot.git board: samsung: 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> --- diff --git a/board/samsung/arndale/arndale.c b/board/samsung/arndale/arndale.c index 3ebf600e1d..e70b4a8268 100644 --- a/board/samsung/arndale/arndale.c +++ b/board/samsung/arndale/arndale.c @@ -3,7 +3,7 @@ * Copyright (C) 2013 Samsung Electronics */ -#include <common.h> +#include <config.h> #include <cpu_func.h> #include <init.h> #include <log.h> diff --git a/board/samsung/arndale/arndale_spl.c b/board/samsung/arndale/arndale_spl.c index 6ad0273e04..c40ca7fa74 100644 --- a/board/samsung/arndale/arndale_spl.c +++ b/board/samsung/arndale/arndale_spl.c @@ -3,7 +3,6 @@ * Copyright (c) 2012 The Chromium OS Authors. */ -#include <common.h> #include <asm/arch/spl.h> #define SIGNATURE 0xdeadbeef diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c index 5a71982775..eed1c2450f 100644 --- a/board/samsung/common/board.c +++ b/board/samsung/common/board.c @@ -4,7 +4,7 @@ * Rajeshwari Shinde <rajeshwari.s@samsung.com> */ -#include <common.h> +#include <config.h> #include <cros_ec.h> #include <env.h> #include <errno.h> diff --git a/board/samsung/common/exynos5-dt-types.c b/board/samsung/common/exynos5-dt-types.c index 9294d36ba3..8328bf427c 100644 --- a/board/samsung/common/exynos5-dt-types.c +++ b/board/samsung/common/exynos5-dt-types.c @@ -4,7 +4,7 @@ * Przemyslaw Marczak <p.marczak@samsung.com> */ -#include <common.h> +#include <config.h> #include <adc.h> #include <dm.h> #include <errno.h> diff --git a/board/samsung/common/exynos5-dt.c b/board/samsung/common/exynos5-dt.c index b3e87c9375..56862bcb34 100644 --- a/board/samsung/common/exynos5-dt.c +++ b/board/samsung/common/exynos5-dt.c @@ -3,7 +3,7 @@ * Copyright (C) 2012 Samsung Electronics */ -#include <common.h> +#include <config.h> #include <dm.h> #include <dwc3-uboot.h> #include <env.h> diff --git a/board/samsung/common/gadget.c b/board/samsung/common/gadget.c index 9487f9ec4e..c1b4342f4e 100644 --- a/board/samsung/common/gadget.c +++ b/board/samsung/common/gadget.c @@ -4,7 +4,7 @@ * Lukasz Majewski <l.majewski@samsung.com> */ -#include <common.h> +#include <linux/string.h> #include <linux/usb/ch9.h> #define EXYNOS_G_DNL_THOR_VENDOR_NUM 0x04E8 diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c index cc114aaaa6..c134a9d70e 100644 --- a/board/samsung/common/misc.c +++ b/board/samsung/common/misc.c @@ -4,7 +4,7 @@ * Przemyslaw Marczak <p.marczak@samsung.com> */ -#include <common.h> +#include <config.h> #include <command.h> #include <env.h> #include <libtizen.h> diff --git a/board/samsung/common/sromc.c b/board/samsung/common/sromc.c index 76e37dfe26..689ac8f8c6 100644 --- a/board/samsung/common/sromc.c +++ b/board/samsung/common/sromc.c @@ -5,7 +5,6 @@ #define LOG_CATEGORY UCLASS_ETH -#include <common.h> #include <dm.h> #include <log.h> #include <asm/arch/pinmux.h> diff --git a/board/samsung/goni/goni.c b/board/samsung/goni/goni.c index c8f5a153bb..a1047f3fd2 100644 --- a/board/samsung/goni/goni.c +++ b/board/samsung/goni/goni.c @@ -5,7 +5,6 @@ * Kyungmin Park <kyungmin.park@samsung.com> */ -#include <common.h> #include <init.h> #include <log.h> #include <asm/global_data.h> diff --git a/board/samsung/goni/onenand.c b/board/samsung/goni/onenand.c index c67c107b16..6c7a03624b 100644 --- a/board/samsung/goni/onenand.c +++ b/board/samsung/goni/onenand.c @@ -4,7 +4,7 @@ * Kyungmin Park <kyungmin.park@samsung.com> */ -#include <common.h> +#include <config.h> #include <linux/mtd/mtd.h> #include <linux/mtd/onenand.h> #include <linux/mtd/samsung_onenand.h> diff --git a/board/samsung/odroid/odroid.c b/board/samsung/odroid/odroid.c index 99e5613ced..84d6d919f0 100644 --- a/board/samsung/odroid/odroid.c +++ b/board/samsung/odroid/odroid.c @@ -4,7 +4,7 @@ * Przemyslaw Marczak <p.marczak@samsung.com> */ -#include <common.h> +#include <config.h> #include <log.h> #include <asm/arch/pinmux.h> #include <asm/arch/power.h> diff --git a/board/samsung/origen/origen.c b/board/samsung/origen/origen.c index ddf6a2b72f..c474a7e54f 100644 --- a/board/samsung/origen/origen.c +++ b/board/samsung/origen/origen.c @@ -3,7 +3,6 @@ * Copyright (C) 2011 Samsung Electronics */ -#include <common.h> #include <asm/io.h> #include <asm/gpio.h> #include <asm/arch/cpu.h> diff --git a/board/samsung/smdk5250/smdk5250_spl.c b/board/samsung/smdk5250/smdk5250_spl.c index b0ef34dd6a..1c78cb6dda 100644 --- a/board/samsung/smdk5250/smdk5250_spl.c +++ b/board/samsung/smdk5250/smdk5250_spl.c @@ -3,7 +3,6 @@ * Copyright (c) 2012 The Chromium OS Authors. */ -#include <common.h> #include <asm/arch/cpu.h> #include <asm/arch/spl.h> #include <asm/arch/clk.h> diff --git a/board/samsung/smdk5420/smdk5420_spl.c b/board/samsung/smdk5420/smdk5420_spl.c index 84126f5608..ccf8b257ec 100644 --- a/board/samsung/smdk5420/smdk5420_spl.c +++ b/board/samsung/smdk5420/smdk5420_spl.c @@ -3,7 +3,6 @@ * Copyright (C) 2013 The Chromium OS Authors. */ -#include <common.h> #include <asm/arch/cpu.h> #include <asm/arch/spl.h> #include <asm/arch/clk.h> diff --git a/board/samsung/smdkc100/onenand.c b/board/samsung/smdkc100/onenand.c index 04dc04a1a4..86ec550aac 100644 --- a/board/samsung/smdkc100/onenand.c +++ b/board/samsung/smdkc100/onenand.c @@ -4,7 +4,6 @@ * Kyungmin Park <kyungmin.park@samsung.com> */ -#include <common.h> #include <linux/compat.h> #include <linux/mtd/mtd.h> #include <linux/mtd/onenand.h> diff --git a/board/samsung/smdkc100/smdkc100.c b/board/samsung/smdkc100/smdkc100.c index 4f46911b0b..7d0b0fcb0a 100644 --- a/board/samsung/smdkc100/smdkc100.c +++ b/board/samsung/smdkc100/smdkc100.c @@ -5,7 +5,7 @@ * Kyungmin Park <kyungmin.park@samsung.com> */ -#include <common.h> +#include <config.h> #include <init.h> #include <net.h> #include <asm/global_data.h> diff --git a/board/samsung/smdkv310/smdkv310.c b/board/samsung/smdkv310/smdkv310.c index 47483a26a6..5a4874b29c 100644 --- a/board/samsung/smdkv310/smdkv310.c +++ b/board/samsung/smdkv310/smdkv310.c @@ -3,7 +3,7 @@ * Copyright (C) 2011 Samsung Electronics */ -#include <common.h> +#include <config.h> #include <init.h> #include <log.h> #include <net.h> diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c index 6a3e5b29b9..6efc6f3831 100644 --- a/board/samsung/trats/trats.c +++ b/board/samsung/trats/trats.c @@ -6,7 +6,6 @@ * Donghwa Lee <dh09.lee@samsung.com> */ -#include <common.h> #include <env.h> #include <log.h> #include <asm/io.h> diff --git a/board/samsung/trats2/trats2.c b/board/samsung/trats2/trats2.c index 81ccc124c8..612575a509 100644 --- a/board/samsung/trats2/trats2.c +++ b/board/samsung/trats2/trats2.c @@ -5,7 +5,6 @@ * Piotr Wilczek <p.wilczek@samsung.com> */ -#include <common.h> #include <log.h> #include <asm/gpio.h> #include <asm/arch/pinmux.h> diff --git a/board/samsung/universal_c210/onenand.c b/board/samsung/universal_c210/onenand.c index 265a2cde4b..ba56e86df4 100644 --- a/board/samsung/universal_c210/onenand.c +++ b/board/samsung/universal_c210/onenand.c @@ -4,7 +4,7 @@ * Kyungmin Park <kyungmin.park@samsung.com> */ -#include <common.h> +#include <config.h> #include <linux/mtd/mtd.h> #include <linux/mtd/onenand.h> #include <linux/mtd/samsung_onenand.h> diff --git a/board/samsung/universal_c210/universal.c b/board/samsung/universal_c210/universal.c index 2d61dff89c..6bed724153 100644 --- a/board/samsung/universal_c210/universal.c +++ b/board/samsung/universal_c210/universal.c @@ -5,7 +5,6 @@ * Kyungmin Park <kyungmin.park@samsung.com> */ -#include <common.h> #include <env.h> #include <log.h> #include <spi.h>