diff options
author | Tom Rini <trini@konsulko.com> | 2024-05-18 20:20:43 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-05-19 08:16:36 -0600 |
commit | d678a59d2d719da9e807495b4b021501f2836ca5 (patch) | |
tree | 313e5c32e3d02d3cf1904875b1655140973126e9 /board | |
parent | 3be9f399e911cfc437a37ac826441f1d96da1c9b (diff) | |
download | u-boot-d678a59d2d719da9e807495b4b021501f2836ca5.zip u-boot-d678a59d2d719da9e807495b4b021501f2836ca5.tar.gz u-boot-d678a59d2d719da9e807495b4b021501f2836ca5.tar.bz2 |
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet""
When bringing in the series 'arm: dts: am62-beagleplay: Fix Beagleplay
Ethernet"' I failed to notice that b4 noticed it was based on next and
so took that as the base commit and merged that part of next to master.
This reverts commit c8ffd1356d42223cbb8c86280a083cc3c93e6426, reversing
changes made to 2ee6f3a5f7550de3599faef9704e166e5dcace35.
Reported-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board')
753 files changed, 823 insertions, 399 deletions
diff --git a/board/BuR/brppt1/board.c b/board/BuR/brppt1/board.c index 192a2fa..36945bb 100644 --- a/board/BuR/brppt1/board.c +++ b/board/BuR/brppt1/board.c @@ -9,7 +9,7 @@ * */ -#include <config.h> +#include <common.h> #include <bootcount.h> #include <env.h> #include <errno.h> diff --git a/board/BuR/brppt1/mux.c b/board/BuR/brppt1/mux.c index 8932b9a..5d2c7a2 100644 --- a/board/BuR/brppt1/mux.c +++ b/board/BuR/brppt1/mux.c @@ -8,6 +8,7 @@ * Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com */ +#include <common.h> #include <asm/arch/sys_proto.h> #include <asm/arch/hardware.h> #include <asm/arch/mux.h> diff --git a/board/BuR/brppt2/board.c b/board/BuR/brppt2/board.c index 105fac8..ee006f0 100644 --- a/board/BuR/brppt2/board.c +++ b/board/BuR/brppt2/board.c @@ -6,6 +6,7 @@ * B&R Industrial Automation GmbH - http://www.br-automation.com/ * */ +#include <common.h> #include <cpu_func.h> #include <hang.h> #include <init.h> diff --git a/board/BuR/brsmarc1/board.c b/board/BuR/brsmarc1/board.c index 2d3f593..738a5d2 100644 --- a/board/BuR/brsmarc1/board.c +++ b/board/BuR/brsmarc1/board.c @@ -8,6 +8,7 @@ * B&R Industrial Automation GmbH - http://www.br-automation.com * */ +#include <common.h> #include <errno.h> #include <init.h> #include <spl.h> diff --git a/board/BuR/brsmarc1/mux.c b/board/BuR/brsmarc1/mux.c index b59d64f..33c214d 100644 --- a/board/BuR/brsmarc1/mux.c +++ b/board/BuR/brsmarc1/mux.c @@ -9,6 +9,7 @@ * */ +#include <common.h> #include <asm/arch/sys_proto.h> #include <asm/arch/hardware.h> #include <asm/arch/mux.h> diff --git a/board/BuR/brxre1/board.c b/board/BuR/brxre1/board.c index b9b595c..a909104 100644 --- a/board/BuR/brxre1/board.c +++ b/board/BuR/brxre1/board.c @@ -8,6 +8,7 @@ * Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com * */ +#include <common.h> #include <env.h> #include <errno.h> #include <init.h> diff --git a/board/BuR/brxre1/mux.c b/board/BuR/brxre1/mux.c index e2e8ec5..6c5ad89 100644 --- a/board/BuR/brxre1/mux.c +++ b/board/BuR/brxre1/mux.c @@ -8,6 +8,7 @@ * Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com */ +#include <common.h> #include <asm/arch/sys_proto.h> #include <asm/arch/hardware.h> #include <asm/arch/mux.h> diff --git a/board/BuR/common/br_resetc.c b/board/BuR/common/br_resetc.c index f5d09fe..32f32b6 100644 --- a/board/BuR/common/br_resetc.c +++ b/board/BuR/common/br_resetc.c @@ -5,6 +5,7 @@ * Copyright (C) 2019 Hannes Schmelzer <oe5hpm@oevsv.at> * B&R Industrial Automation GmbH - http://www.br-automation.com/ * */ +#include <common.h> #include <env.h> #include <errno.h> #include <i2c.h> diff --git a/board/BuR/common/common.c b/board/BuR/common/common.c index 8aff821..3c78020 100644 --- a/board/BuR/common/common.c +++ b/board/BuR/common/common.c @@ -10,6 +10,7 @@ */ #include <log.h> #include <version.h> +#include <common.h> #include <env.h> #include <fdtdec.h> #include <i2c.h> diff --git a/board/BuS/eb_cpu5282/eb_cpu5282.c b/board/BuS/eb_cpu5282/eb_cpu5282.c index cf56108..ea49c7a 100644 --- a/board/BuS/eb_cpu5282/eb_cpu5282.c +++ b/board/BuS/eb_cpu5282/eb_cpu5282.c @@ -7,7 +7,7 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <config.h> +#include <common.h> #include <command.h> #include <asm/global_data.h> #include "asm/m5282.h" diff --git a/board/CZ.NIC/turris_mox/mox_sp.c b/board/CZ.NIC/turris_mox/mox_sp.c index 1591b40..11d8756 100644 --- a/board/CZ.NIC/turris_mox/mox_sp.c +++ b/board/CZ.NIC/turris_mox/mox_sp.c @@ -3,7 +3,7 @@ * Copyright (C) 2018 Marek Behún <kabel@kernel.org> */ -#include <vsprintf.h> +#include <common.h> #include <asm/arch/soc.h> #include <asm/io.h> #include <linux/bitops.h> diff --git a/board/CZ.NIC/turris_mox/turris_mox.c b/board/CZ.NIC/turris_mox/turris_mox.c index e4ed7f2..00114e6 100644 --- a/board/CZ.NIC/turris_mox/turris_mox.c +++ b/board/CZ.NIC/turris_mox/turris_mox.c @@ -3,7 +3,7 @@ * Copyright (C) 2018 Marek Behún <kabel@kernel.org> */ -#include <config.h> +#include <common.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> #include <net.h> diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c b/board/CZ.NIC/turris_omnia/turris_omnia.c index 4ee1a39..3b7a71b 100644 --- a/board/CZ.NIC/turris_omnia/turris_omnia.c +++ b/board/CZ.NIC/turris_omnia/turris_omnia.c @@ -7,7 +7,7 @@ * Marvell/db-88f6820-gp by Stefan Roese <sr@denx.de> */ -#include <config.h> +#include <common.h> #include <env.h> #include <i2c.h> #include <init.h> diff --git a/board/LaCie/common/common.c b/board/LaCie/common/common.c index e8a7830..52880a1 100644 --- a/board/LaCie/common/common.c +++ b/board/LaCie/common/common.c @@ -3,6 +3,7 @@ * Copyright (C) 2011 Simon Guinot <sguinot@lacie.com> */ +#include <common.h> #include <i2c.h> #include <miiphy.h> diff --git a/board/LaCie/net2big_v2/net2big_v2.c b/board/LaCie/net2big_v2/net2big_v2.c index 083d91b..9170913 100644 --- a/board/LaCie/net2big_v2/net2big_v2.c +++ b/board/LaCie/net2big_v2/net2big_v2.c @@ -8,7 +8,7 @@ * Written-by: Prafulla Wadaskar <prafulla@marvell.com> */ -#include <config.h> +#include <common.h> #include <command.h> #include <env.h> #include <i2c.h> diff --git a/board/LaCie/netspace_v2/netspace_v2.c b/board/LaCie/netspace_v2/netspace_v2.c index 3a2fdb5..22bb008 100644 --- a/board/LaCie/netspace_v2/netspace_v2.c +++ b/board/LaCie/netspace_v2/netspace_v2.c @@ -8,6 +8,7 @@ * Written-by: Prafulla Wadaskar <prafulla@marvell.com> */ +#include <common.h> #include <command.h> #include <env.h> #include <init.h> diff --git a/board/Marvell/db-88f6720/db-88f6720.c b/board/Marvell/db-88f6720/db-88f6720.c index 9204213..26c3064 100644 --- a/board/Marvell/db-88f6720/db-88f6720.c +++ b/board/Marvell/db-88f6720/db-88f6720.c @@ -3,6 +3,7 @@ * Copyright (C) 2016 Stefan Roese <sr@denx.de> */ +#include <common.h> #include <init.h> #include <miiphy.h> #include <net.h> diff --git a/board/Marvell/db-88f6820-amc/db-88f6820-amc.c b/board/Marvell/db-88f6820-amc/db-88f6820-amc.c index 0f92cc3..122c63d 100644 --- a/board/Marvell/db-88f6820-amc/db-88f6820-amc.c +++ b/board/Marvell/db-88f6820-amc/db-88f6820-amc.c @@ -3,7 +3,7 @@ * Copyright (C) 2015 Stefan Roese <sr@denx.de> */ -#include <config.h> +#include <common.h> #include <i2c.h> #include <init.h> #include <miiphy.h> diff --git a/board/Marvell/db-88f6820-gp/db-88f6820-gp.c b/board/Marvell/db-88f6820-gp/db-88f6820-gp.c index 8f8b272..1edc1cb 100644 --- a/board/Marvell/db-88f6820-gp/db-88f6820-gp.c +++ b/board/Marvell/db-88f6820-gp/db-88f6820-gp.c @@ -3,7 +3,7 @@ * Copyright (C) 2015 Stefan Roese <sr@denx.de> */ -#include <config.h> +#include <common.h> #include <i2c.h> #include <init.h> #include <miiphy.h> diff --git a/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c b/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c index 6bca1f9..9e1fdec 100644 --- a/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c +++ b/board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c @@ -3,6 +3,7 @@ * Copyright (C) 2014 Stefan Roese <sr@denx.de> */ +#include <common.h> #include <init.h> #include <miiphy.h> #include <net.h> diff --git a/board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c b/board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c index a7a8479..0abdca1 100644 --- a/board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c +++ b/board/Marvell/db-xc3-24g4xg/db-xc3-24g4xg.c @@ -3,6 +3,7 @@ * Copyright (C) 2015 Stefan Roese <sr@denx.de> */ +#include <common.h> #include <i2c.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/Marvell/dreamplug/dreamplug.c b/board/Marvell/dreamplug/dreamplug.c index 3812750..d15faa1 100644 --- a/board/Marvell/dreamplug/dreamplug.c +++ b/board/Marvell/dreamplug/dreamplug.c @@ -8,6 +8,7 @@ * Written-by: Siddarth Gore <gores@marvell.com> */ +#include <common.h> #include <init.h> #include <netdev.h> #include <asm/arch/cpu.h> diff --git a/board/Marvell/guruplug/guruplug.c b/board/Marvell/guruplug/guruplug.c index 7c3cea2..ea87ded 100644 --- a/board/Marvell/guruplug/guruplug.c +++ b/board/Marvell/guruplug/guruplug.c @@ -5,6 +5,7 @@ * Written-by: Siddarth Gore <gores@marvell.com> */ +#include <common.h> #include <init.h> #include <miiphy.h> #include <net.h> diff --git a/board/Marvell/mvebu_alleycat-5/board.c b/board/Marvell/mvebu_alleycat-5/board.c index c1b7cc3..0c4f8e0 100644 --- a/board/Marvell/mvebu_alleycat-5/board.c +++ b/board/Marvell/mvebu_alleycat-5/board.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0+ -#include <config.h> +#include <common.h> #include <asm/global_data.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/Marvell/mvebu_armada-37xx/board.c b/board/Marvell/mvebu_armada-37xx/board.c index df3fb6d..1685b12 100644 --- a/board/Marvell/mvebu_armada-37xx/board.c +++ b/board/Marvell/mvebu_armada-37xx/board.c @@ -3,7 +3,7 @@ * Copyright (C) 2016 Stefan Roese <sr@denx.de> */ -#include <config.h> +#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <env.h> diff --git a/board/Marvell/mvebu_armada-8k/board.c b/board/Marvell/mvebu_armada-8k/board.c index 6d70421..a8899af 100644 --- a/board/Marvell/mvebu_armada-8k/board.c +++ b/board/Marvell/mvebu_armada-8k/board.c @@ -3,7 +3,7 @@ * Copyright (C) 2016 Stefan Roese <sr@denx.de> */ -#include <config.h> +#include <common.h> #include <dm.h> #include <i2c.h> #include <init.h> diff --git a/board/Marvell/octeontx2/soc-utils.c b/board/Marvell/octeontx2/soc-utils.c index 64eb95f..43a19a9 100644 --- a/board/Marvell/octeontx2/soc-utils.c +++ b/board/Marvell/octeontx2/soc-utils.c @@ -5,6 +5,7 @@ * https://spdx.org/licenses */ +#include <common.h> #include <dm.h> #include <malloc.h> #include <errno.h> diff --git a/board/Marvell/openrd/openrd.c b/board/Marvell/openrd/openrd.c index dda56a5..581e2e0 100644 --- a/board/Marvell/openrd/openrd.c +++ b/board/Marvell/openrd/openrd.c @@ -10,6 +10,7 @@ * Written-by: Prafulla Wadaskar <prafulla@marvell.com> */ +#include <common.h> #include <init.h> #include <miiphy.h> #include <net.h> diff --git a/board/Marvell/sheevaplug/sheevaplug.c b/board/Marvell/sheevaplug/sheevaplug.c index 23e761d..26ee39e 100644 --- a/board/Marvell/sheevaplug/sheevaplug.c +++ b/board/Marvell/sheevaplug/sheevaplug.c @@ -6,6 +6,7 @@ * Written-by: Prafulla Wadaskar <prafulla@marvell.com> */ +#include <common.h> #include <init.h> #include <netdev.h> #include <asm/global_data.h> diff --git a/board/Seagate/dockstar/dockstar.c b/board/Seagate/dockstar/dockstar.c index e6ec00a..d72e3ef 100644 --- a/board/Seagate/dockstar/dockstar.c +++ b/board/Seagate/dockstar/dockstar.c @@ -9,6 +9,7 @@ * Marvell Semiconductor <www.marvell.com> */ +#include <common.h> #include <bootstage.h> #include <init.h> #include <netdev.h> diff --git a/board/Seagate/goflexhome/goflexhome.c b/board/Seagate/goflexhome/goflexhome.c index b2d0ad8..caea89c 100644 --- a/board/Seagate/goflexhome/goflexhome.c +++ b/board/Seagate/goflexhome/goflexhome.c @@ -12,6 +12,7 @@ * Marvell Semiconductor <www.marvell.com> */ +#include <common.h> #include <bootstage.h> #include <init.h> #include <netdev.h> diff --git a/board/Seagate/nas220/nas220.c b/board/Seagate/nas220/nas220.c index fa75532..cd2bbda 100644 --- a/board/Seagate/nas220/nas220.c +++ b/board/Seagate/nas220/nas220.c @@ -8,6 +8,7 @@ * Marvell Semiconductor <www.marvell.com> */ +#include <common.h> #include <init.h> #include <miiphy.h> #include <net.h> diff --git a/board/Synology/ds109/ds109.c b/board/Synology/ds109/ds109.c index 4f39757..5c3f46e 100644 --- a/board/Synology/ds109/ds109.c +++ b/board/Synology/ds109/ds109.c @@ -5,7 +5,7 @@ * Luka Perkov <luka@openwrt.org> */ -#include <config.h> +#include <common.h> #include <init.h> #include <miiphy.h> #include <net.h> diff --git a/board/Synology/ds414/cmd_syno.c b/board/Synology/ds414/cmd_syno.c index 29ea35e..a62658a 100644 --- a/board/Synology/ds414/cmd_syno.c +++ b/board/Synology/ds414/cmd_syno.c @@ -5,6 +5,7 @@ * Copyright (C) 2015 Phil Sutter <phil@nwl.cc> */ +#include <common.h> #include <command.h> #include <div64.h> #include <env.h> diff --git a/board/Synology/ds414/ds414.c b/board/Synology/ds414/ds414.c index 8db810a..abe6f9e 100644 --- a/board/Synology/ds414/ds414.c +++ b/board/Synology/ds414/ds414.c @@ -4,6 +4,7 @@ * Copyright (C) 2015 Phil Sutter <phil@nwl.cc> */ +#include <common.h> #include <init.h> #include <miiphy.h> #include <asm/global_data.h> diff --git a/board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c b/board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c index 070933f..d87fe36 100644 --- a/board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c +++ b/board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c @@ -4,6 +4,7 @@ * Copyright 2022 Linaro */ +#include <common.h> #include <dwc3-uboot.h> #include <efi.h> #include <efi_loader.h> diff --git a/board/advantech/imx8mp_rsb3720a1/spl.c b/board/advantech/imx8mp_rsb3720a1/spl.c index 1f7c1f2..f4257bc 100644 --- a/board/advantech/imx8mp_rsb3720a1/spl.c +++ b/board/advantech/imx8mp_rsb3720a1/spl.c @@ -4,7 +4,7 @@ * Copyright 2022 Linaro */ -#include <config.h> +#include <common.h> #include <command.h> #include <cpu_func.h> #include <errno.h> diff --git a/board/advantech/imx8qm_dmsse20_a1/imx8qm_dmsse20_a1.c b/board/advantech/imx8qm_dmsse20_a1/imx8qm_dmsse20_a1.c index 50b35db..56b7bdb 100644 --- a/board/advantech/imx8qm_dmsse20_a1/imx8qm_dmsse20_a1.c +++ b/board/advantech/imx8qm_dmsse20_a1/imx8qm_dmsse20_a1.c @@ -4,6 +4,7 @@ * Copyright 2019-2023 Kococonnector GmbH */ +#include <common.h> #include <errno.h> #include <linux/libfdt.h> #include <asm/io.h> diff --git a/board/advantech/imx8qm_dmsse20_a1/spl.c b/board/advantech/imx8qm_dmsse20_a1/spl.c index 93cf074..e8959ed 100644 --- a/board/advantech/imx8qm_dmsse20_a1/spl.c +++ b/board/advantech/imx8qm_dmsse20_a1/spl.c @@ -3,7 +3,7 @@ * Copyright 2017-2018 NXP * Copyright 2019-2023 Kococonnector GmbH */ -#include <config.h> +#include <common.h> #include <dm.h> #include <spl.h> #include <init.h> diff --git a/board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c b/board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c index 3def182..7f766a6 100644 --- a/board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c +++ b/board/advantech/imx8qm_rom7720_a1/imx8qm_rom7720_a1.c @@ -4,6 +4,7 @@ * Copyright (C) 2019 Oliver Graute <oliver.graute@kococonnector.com> */ +#include <common.h> #include <cpu_func.h> #include <env.h> #include <errno.h> diff --git a/board/advantech/imx8qm_rom7720_a1/spl.c b/board/advantech/imx8qm_rom7720_a1/spl.c index 5863e33..d324001 100644 --- a/board/advantech/imx8qm_rom7720_a1/spl.c +++ b/board/advantech/imx8qm_rom7720_a1/spl.c @@ -2,7 +2,7 @@ /* * Copyright 2017-2018 NXP */ -#include <config.h> +#include <common.h> #include <dm.h> #include <image.h> #include <init.h> diff --git a/board/advantech/som-db5800-som-6867/som-db5800-som-6867.c b/board/advantech/som-db5800-som-6867/som-db5800-som-6867.c index 9bbd5fd..8499fc5 100644 --- a/board/advantech/som-db5800-som-6867/som-db5800-som-6867.c +++ b/board/advantech/som-db5800-som-6867/som-db5800-som-6867.c @@ -4,6 +4,7 @@ * Copyright (C) 2016 George McCollister <george.mccollister@gmail.com> */ +#include <common.h> #include <init.h> #include <asm/fsp1/fsp_support.h> diff --git a/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c b/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c index 5e6d6c6..e0a7f3f 100644 --- a/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c +++ b/board/alliedtelesis/SBx81LIFKW/sbx81lifkw.c @@ -4,6 +4,7 @@ * Allied Telesis <www.alliedtelesis.com> */ +#include <common.h> #include <init.h> #include <net.h> #include <asm/global_data.h> diff --git a/board/alliedtelesis/SBx81LIFXCAT/sbx81lifxcat.c b/board/alliedtelesis/SBx81LIFXCAT/sbx81lifxcat.c index f30821c..52b8eba 100644 --- a/board/alliedtelesis/SBx81LIFXCAT/sbx81lifxcat.c +++ b/board/alliedtelesis/SBx81LIFXCAT/sbx81lifxcat.c @@ -4,6 +4,7 @@ * Allied Telesis <www.alliedtelesis.com> */ +#include <common.h> #include <init.h> #include <miiphy.h> #include <net.h> diff --git a/board/alliedtelesis/common/gpio_hog.c b/board/alliedtelesis/common/gpio_hog.c index 7da70fb..4aecf7e 100644 --- a/board/alliedtelesis/common/gpio_hog.c +++ b/board/alliedtelesis/common/gpio_hog.c @@ -3,6 +3,7 @@ * Copyright (C) 2018 Allied Telesis Labs */ +#include <common.h> #include <dm.h> #include <asm/global_data.h> #include <asm/gpio.h> diff --git a/board/alliedtelesis/x240/x240.c b/board/alliedtelesis/x240/x240.c index c1b7cc3..0c4f8e0 100644 --- a/board/alliedtelesis/x240/x240.c +++ b/board/alliedtelesis/x240/x240.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0+ -#include <config.h> +#include <common.h> #include <asm/global_data.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/alliedtelesis/x530/x530.c b/board/alliedtelesis/x530/x530.c index 65e6d48..80ad62c 100644 --- a/board/alliedtelesis/x530/x530.c +++ b/board/alliedtelesis/x530/x530.c @@ -3,7 +3,7 @@ * Copyright (C) 2017 Allied Telesis Labs */ -#include <config.h> +#include <common.h> #include <command.h> #include <dm.h> #include <env.h> diff --git a/board/amarula/vyasa-rk3288/vyasa-rk3288.c b/board/amarula/vyasa-rk3288/vyasa-rk3288.c index b220256..92e0698 100644 --- a/board/amarula/vyasa-rk3288/vyasa-rk3288.c +++ b/board/amarula/vyasa-rk3288/vyasa-rk3288.c @@ -3,6 +3,7 @@ * Copyright (C) 2017 Amarula Solutions */ +#include <common.h> #include <serial.h> #ifndef CONFIG_TPL_BUILD diff --git a/board/amlogic/beelink-s922x/beelink-s922x.c b/board/amlogic/beelink-s922x/beelink-s922x.c index ccb2f7d..c277631 100644 --- a/board/amlogic/beelink-s922x/beelink-s922x.c +++ b/board/amlogic/beelink-s922x/beelink-s922x.c @@ -4,6 +4,7 @@ * Author: Neil Armstrong <narmstrong@baylibre.com> */ +#include <common.h> #include <dm.h> #include <env.h> #include <init.h> diff --git a/board/amlogic/jethub-j100/jethub-j100.c b/board/amlogic/jethub-j100/jethub-j100.c index b770a1f..010fc0d 100644 --- a/board/amlogic/jethub-j100/jethub-j100.c +++ b/board/amlogic/jethub-j100/jethub-j100.c @@ -4,6 +4,7 @@ * Author: Vyacheslav Bocharov <adeep@lexina.in> */ +#include <common.h> #include <dm.h> #include <init.h> #include <net.h> diff --git a/board/amlogic/jethub-j80/jethub-j80.c b/board/amlogic/jethub-j80/jethub-j80.c index 07a08dc..0b78166 100644 --- a/board/amlogic/jethub-j80/jethub-j80.c +++ b/board/amlogic/jethub-j80/jethub-j80.c @@ -6,6 +6,7 @@ * */ +#include <common.h> #include <dm.h> #include <adc.h> #include <env.h> diff --git a/board/amlogic/odroid-go-ultra/odroid-go-ultra.c b/board/amlogic/odroid-go-ultra/odroid-go-ultra.c index 8f3f204..bbd23e2 100644 --- a/board/amlogic/odroid-go-ultra/odroid-go-ultra.c +++ b/board/amlogic/odroid-go-ultra/odroid-go-ultra.c @@ -3,7 +3,7 @@ * Copyright (C) 2023 Neil Armstrong <neil.armstrong@linaro.org> */ -#include <log.h> +#include <common.h> #include <asm/arch/boot.h> #include <power/regulator.h> diff --git a/board/amlogic/odroid-n2/odroid-n2.c b/board/amlogic/odroid-n2/odroid-n2.c index ae953d0..a4bcc62 100644 --- a/board/amlogic/odroid-n2/odroid-n2.c +++ b/board/amlogic/odroid-n2/odroid-n2.c @@ -4,6 +4,7 @@ * Author: Neil Armstrong <narmstrong@baylibre.com> */ +#include <common.h> #include <dm.h> #include <adc.h> #include <env.h> diff --git a/board/amlogic/p200/p200.c b/board/amlogic/p200/p200.c index 3bede46..754242e 100644 --- a/board/amlogic/p200/p200.c +++ b/board/amlogic/p200/p200.c @@ -3,6 +3,7 @@ * (C) Copyright 2016 Beniamino Galvani <b.galvani@gmail.com> */ +#include <common.h> #include <dm.h> #include <env.h> #include <init.h> diff --git a/board/amlogic/p201/p201.c b/board/amlogic/p201/p201.c index d44ebae..769e273 100644 --- a/board/amlogic/p201/p201.c +++ b/board/amlogic/p201/p201.c @@ -3,6 +3,7 @@ * (C) Copyright 2016 Beniamino Galvani <b.galvani@gmail.com> */ +#include <common.h> #include <dm.h> #include <env.h> #include <init.h> diff --git a/board/amlogic/p212/p212.c b/board/amlogic/p212/p212.c index ae9834c..f6e60ae 100644 --- a/board/amlogic/p212/p212.c +++ b/board/amlogic/p212/p212.c @@ -4,6 +4,7 @@ * Author: Neil Armstrong <narmstrong@baylibre.com> */ +#include <common.h> #include <dm.h> #include <env.h> #include <init.h> diff --git a/board/amlogic/q200/q200.c b/board/amlogic/q200/q200.c index 0c0afcc..47f1566 100644 --- a/board/amlogic/q200/q200.c +++ b/board/amlogic/q200/q200.c @@ -4,6 +4,7 @@ * Author: Neil Armstrong <narmstrong@baylibre.com> */ +#include <common.h> #include <dm.h> #include <env.h> #include <init.h> diff --git a/board/amlogic/s400/s400.c b/board/amlogic/s400/s400.c index 96244c9..06a9044 100644 --- a/board/amlogic/s400/s400.c +++ b/board/amlogic/s400/s400.c @@ -4,6 +4,7 @@ * Author: Neil Armstrong <narmstrong@baylibre.com> */ +#include <common.h> #include <dm.h> #include <init.h> #include <net.h> diff --git a/board/amlogic/sei510/sei510.c b/board/amlogic/sei510/sei510.c index 1a978d1..bb188c2 100644 --- a/board/amlogic/sei510/sei510.c +++ b/board/amlogic/sei510/sei510.c @@ -4,6 +4,7 @@ * Author: Neil Armstrong <narmstrong@baylibre.com> */ +#include <common.h> #include <dm.h> #include <env.h> #include <env_internal.h> diff --git a/board/amlogic/sei610/sei610.c b/board/amlogic/sei610/sei610.c index 8a096b1..6490bac 100644 --- a/board/amlogic/sei610/sei610.c +++ b/board/amlogic/sei610/sei610.c @@ -4,6 +4,7 @@ * Author: Neil Armstrong <narmstrong@baylibre.com> */ +#include <common.h> #include <dm.h> #include <env.h> #include <env_internal.h> diff --git a/board/amlogic/u200/u200.c b/board/amlogic/u200/u200.c index 96244c9..06a9044 100644 --- a/board/amlogic/u200/u200.c +++ b/board/amlogic/u200/u200.c @@ -4,6 +4,7 @@ * Author: Neil Armstrong <narmstrong@baylibre.com> */ +#include <common.h> #include <dm.h> #include <init.h> #include <net.h> diff --git a/board/amlogic/vim3/vim3.c b/board/amlogic/vim3/vim3.c index bbc2d82..a485036 100644 --- a/board/amlogic/vim3/vim3.c +++ b/board/amlogic/vim3/vim3.c @@ -4,6 +4,7 @@ * Author: Neil Armstrong <narmstrong@baylibre.com> */ +#include <common.h> #include <dm.h> #include <env_internal.h> #include <init.h> diff --git a/board/amlogic/w400/w400.c b/board/amlogic/w400/w400.c index b84366a..4199198 100644 --- a/board/amlogic/w400/w400.c +++ b/board/amlogic/w400/w400.c @@ -4,6 +4,7 @@ * Author: Neil Armstrong <narmstrong@baylibre.com> */ +#include <common.h> #include <dm.h> #include <env_internal.h> #include <init.h> diff --git a/board/aristainetos/aristainetos.c b/board/aristainetos/aristainetos.c index 8cfac9f..17f37ba 100644 --- a/board/aristainetos/aristainetos.c +++ b/board/aristainetos/aristainetos.c @@ -9,6 +9,7 @@ * Author: Fabio Estevam <fabio.estevam@freescale.com> */ +#include <common.h> #include <bmp_layout.h> #include <command.h> #include <image.h> diff --git a/board/armadeus/opos6uldev/board.c b/board/armadeus/opos6uldev/board.c index 5b25545..365fdca 100644 --- a/board/armadeus/opos6uldev/board.c +++ b/board/armadeus/opos6uldev/board.c @@ -3,6 +3,7 @@ * Copyright (C) 2018 Armadeus Systems */ +#include <common.h> #include <init.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> diff --git a/board/armltd/corstone1000/corstone1000.c b/board/armltd/corstone1000/corstone1000.c index 3ad77f5..01c80aa 100644 --- a/board/armltd/corstone1000/corstone1000.c +++ b/board/armltd/corstone1000/corstone1000.c @@ -6,6 +6,7 @@ */ #include <blk.h> +#include <common.h> #include <cpu_func.h> #include <dm.h> #include <env.h> diff --git a/board/armltd/integrator/integrator.c b/board/armltd/integrator/integrator.c index eaf87e3..ad02cf1 100644 --- a/board/armltd/integrator/integrator.c +++ b/board/armltd/integrator/integrator.c @@ -16,7 +16,7 @@ * Philippe Robin, <philippe.robin@arm.com> */ -#include <config.h> +#include <common.h> #include <bootstage.h> #include <cpu_func.h> #include <dm.h> diff --git a/board/armltd/integrator/timer.c b/board/armltd/integrator/timer.c index f4101b6..9db5135 100644 --- a/board/armltd/integrator/timer.c +++ b/board/armltd/integrator/timer.c @@ -16,7 +16,7 @@ * Philippe Robin, <philippe.robin@arm.com> */ -#include <config.h> +#include <common.h> #include <div64.h> #include <time.h> #include <linux/delay.h> diff --git a/board/armltd/total_compute/total_compute.c b/board/armltd/total_compute/total_compute.c index e1b4f49..53941b5 100644 --- a/board/armltd/total_compute/total_compute.c +++ b/board/armltd/total_compute/total_compute.c @@ -4,7 +4,7 @@ * Usama Arif <usama.arif@arm.com> */ -#include <config.h> +#include <common.h> #include <dm.h> #include <dm/platform_data/serial_pl01x.h> #include <asm/armv8/mmu.h> diff --git a/board/armltd/vexpress/vexpress_common.c b/board/armltd/vexpress/vexpress_common.c index 6c374e2..763131c 100644 --- a/board/armltd/vexpress/vexpress_common.c +++ b/board/armltd/vexpress/vexpress_common.c @@ -15,7 +15,7 @@ * ARM Ltd. * Philippe Robin, <philippe.robin@arm.com> */ -#include <config.h> +#include <common.h> #include <bootstage.h> #include <cpu_func.h> #include <init.h> diff --git a/board/armltd/vexpress64/pcie.c b/board/armltd/vexpress64/pcie.c index 1045c90..e553da8 100644 --- a/board/armltd/vexpress64/pcie.c +++ b/board/armltd/vexpress64/pcie.c @@ -5,6 +5,7 @@ * Author: Liviu Dudau <Liviu.Dudau@arm.com> */ +#include <common.h> #include <init.h> #include <log.h> #include <asm/io.h> diff --git a/board/armltd/vexpress64/vexpress64.c b/board/armltd/vexpress64/vexpress64.c index 0119f54..ee65a59 100644 --- a/board/armltd/vexpress64/vexpress64.c +++ b/board/armltd/vexpress64/vexpress64.c @@ -4,7 +4,7 @@ * David Feng <fenghua@phytium.com.cn> * Sharma Bhupesh <bhupesh.sharma@freescale.com> */ -#include <config.h> +#include <common.h> #include <cpu_func.h> #include <dm.h> #include <init.h> diff --git a/board/astro/mcf5373l/fpga.c b/board/astro/mcf5373l/fpga.c index 6e505c6..f857374 100644 --- a/board/astro/mcf5373l/fpga.c +++ b/board/astro/mcf5373l/fpga.c @@ -13,6 +13,7 @@ /* Altera/Xilinx FPGA configuration support for the ASTRO "URMEL" board */ +#include <common.h> #include <console.h> #include <watchdog.h> #include <altera.h> diff --git a/board/astro/mcf5373l/mcf5373l.c b/board/astro/mcf5373l/mcf5373l.c index 43fcbc6..43563c4 100644 --- a/board/astro/mcf5373l/mcf5373l.c +++ b/board/astro/mcf5373l/mcf5373l.c @@ -5,10 +5,9 @@ * modified by Wolfgang Wegner <w.wegner@astro-kom.de> for ASTRO 5373l */ -#include <config.h> +#include <common.h> #include <init.h> #include <serial.h> -#include <time.h> #include <watchdog.h> #include <command.h> #include <asm/global_data.h> diff --git a/board/atmel/at91sam9260ek/at91sam9260ek.c b/board/atmel/at91sam9260ek/at91sam9260ek.c index 48aec65..b8e02f4 100644 --- a/board/atmel/at91sam9260ek/at91sam9260ek.c +++ b/board/atmel/at91sam9260ek/at91sam9260ek.c @@ -5,7 +5,7 @@ * Lead Tech Design <www.leadtechdesign.com> */ -#include <config.h> +#include <common.h> #include <debug_uart.h> #include <init.h> #include <net.h> diff --git a/board/atmel/at91sam9261ek/at91sam9261ek.c b/board/atmel/at91sam9261ek/at91sam9261ek.c index 5d7a183..eab3a13 100644 --- a/board/atmel/at91sam9261ek/at91sam9261ek.c +++ b/board/atmel/at91sam9261ek/at91sam9261ek.c @@ -5,7 +5,7 @@ * Lead Tech Design <www.leadtechdesign.com> */ -#include <config.h> +#include <common.h> #include <debug_uart.h> #include <init.h> #include <vsprintf.h> diff --git a/board/atmel/at91sam9263ek/at91sam9263ek.c b/board/atmel/at91sam9263ek/at91sam9263ek.c index 2b0b017..15f20b6 100644 --- a/board/atmel/at91sam9263ek/at91sam9263ek.c +++ b/board/atmel/at91sam9263ek/at91sam9263ek.c @@ -5,7 +5,7 @@ * Lead Tech Design <www.leadtechdesign.com> */ -#include <config.h> +#include <common.h> #include <debug_uart.h> #include <init.h> #include <net.h> diff --git a/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c b/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c index 3bd94d0..f53c1cf 100644 --- a/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c +++ b/board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c @@ -5,7 +5,7 @@ * Lead Tech Design <www.leadtechdesign.com> */ -#include <config.h> +#include <common.h> #include <debug_uart.h> #include <init.h> #include <net.h> diff --git a/board/atmel/at91sam9n12ek/at91sam9n12ek.c b/board/atmel/at91sam9n12ek/at91sam9n12ek.c index afc0c05..a3e294c 100644 --- a/board/atmel/at91sam9n12ek/at91sam9n12ek.c +++ b/board/atmel/at91sam9n12ek/at91sam9n12ek.c @@ -4,7 +4,7 @@ * Josh Wu <josh.wu@atmel.com> */ -#include <config.h> +#include <common.h> #include <init.h> #include <net.h> #include <vsprintf.h> diff --git a/board/atmel/at91sam9rlek/at91sam9rlek.c b/board/atmel/at91sam9rlek/at91sam9rlek.c index 214e917..11725f7 100644 --- a/board/atmel/at91sam9rlek/at91sam9rlek.c +++ b/board/atmel/at91sam9rlek/at91sam9rlek.c @@ -5,7 +5,7 @@ * Lead Tech Design <www.leadtechdesign.com> */ -#include <config.h> +#include <common.h> #include <debug_uart.h> #include <init.h> #include <vsprintf.h> diff --git a/board/atmel/at91sam9x5ek/at91sam9x5ek.c b/board/atmel/at91sam9x5ek/at91sam9x5ek.c index e5688c6..ab666b6 100644 --- a/board/atmel/at91sam9x5ek/at91sam9x5ek.c +++ b/board/atmel/at91sam9x5ek/at91sam9x5ek.c @@ -3,7 +3,7 @@ * Copyright (C) 2012 Atmel Corporation */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/atmel/common/board.c b/board/atmel/common/board.c index 55afd43..c93c0e5 100644 --- a/board/atmel/common/board.c +++ b/board/atmel/common/board.c @@ -4,6 +4,7 @@ * Wenyou Yang <wenyou.yang@microchip.com> */ +#include <common.h> #include <dm.h> #include <env.h> #include <w1.h> diff --git a/board/atmel/common/mac-spi-nor.c b/board/atmel/common/mac-spi-nor.c index 628f795..ced27b6 100644 --- a/board/atmel/common/mac-spi-nor.c +++ b/board/atmel/common/mac-spi-nor.c @@ -5,6 +5,7 @@ * Author: Tudor Ambarus <tudor.ambarus@microchip.com> */ +#include <common.h> #include <dm.h> #include <env.h> #include <net.h> diff --git a/board/atmel/common/mac_eeprom.c b/board/atmel/common/mac_eeprom.c index 97edb7a..4606008 100644 --- a/board/atmel/common/mac_eeprom.c +++ b/board/atmel/common/mac_eeprom.c @@ -4,7 +4,9 @@ * Wenyou Yang <wenyou.yang@microchip.com> */ +#include <common.h> #include <dm.h> +#include <eeprom.h> #include <env.h> #include <i2c_eeprom.h> #include <net.h> diff --git a/board/atmel/common/video_display.c b/board/atmel/common/video_display.c index 7718882..a5049f4 100644 --- a/board/atmel/common/video_display.c +++ b/board/atmel/common/video_display.c @@ -4,6 +4,7 @@ * Wenyou Yang <wenyou.yang@microchip.com> */ +#include <common.h> #include <atmel_lcd.h> #include <dm.h> #include <init.h> diff --git a/board/atmel/sam9x60_curiosity/sam9x60_curiosity.c b/board/atmel/sam9x60_curiosity/sam9x60_curiosity.c index e75043e..f53d359 100644 --- a/board/atmel/sam9x60_curiosity/sam9x60_curiosity.c +++ b/board/atmel/sam9x60_curiosity/sam9x60_curiosity.c @@ -5,6 +5,7 @@ * Author: Durai Manickam KR <durai.manickamkr@microchip.com> */ +#include <common.h> #include <debug_uart.h> #include <fdtdec.h> #include <init.h> diff --git a/board/atmel/sam9x60ek/sam9x60ek.c b/board/atmel/sam9x60ek/sam9x60ek.c index 2e5073f..3fbfca4 100644 --- a/board/atmel/sam9x60ek/sam9x60ek.c +++ b/board/atmel/sam9x60ek/sam9x60ek.c @@ -5,7 +5,7 @@ * Author: Sandeep Sheriker M <sandeep.sheriker@microchip.com> */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c b/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c index 36995a9..329eac7 100644 --- a/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c +++ b/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c @@ -4,6 +4,7 @@ * Wenyou.Yang <wenyou.yang@microchip.com> */ +#include <common.h> #include <debug_uart.h> #include <fdtdec.h> #include <init.h> diff --git a/board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c b/board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c index c775d59..6e41017 100644 --- a/board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c +++ b/board/atmel/sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c @@ -5,7 +5,7 @@ * Author: Nicolas Ferre <nicolas.ferre@microcihp.com> */ -#include <config.h> +#include <common.h> #include <debug_uart.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/atmel/sama5d29_curiosity/sama5d29_curiosity.c b/board/atmel/sama5d29_curiosity/sama5d29_curiosity.c index 8759ff6..d067931 100644 --- a/board/atmel/sama5d29_curiosity/sama5d29_curiosity.c +++ b/board/atmel/sama5d29_curiosity/sama5d29_curiosity.c @@ -6,6 +6,7 @@ * */ +#include <common.h> #include <debug_uart.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/atmel/sama5d2_icp/sama5d2_icp.c b/board/atmel/sama5d2_icp/sama5d2_icp.c index 986da01..fabe492 100644 --- a/board/atmel/sama5d2_icp/sama5d2_icp.c +++ b/board/atmel/sama5d2_icp/sama5d2_icp.c @@ -4,7 +4,7 @@ * Eugen Hristev <eugen.hristev@microchip.com> */ -#include <config.h> +#include <common.h> #include <debug_uart.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c b/board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c index 438829d..854715e 100644 --- a/board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c +++ b/board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c @@ -4,7 +4,7 @@ * Wenyou Yang <wenyou.yang@microchip.com> */ -#include <config.h> +#include <common.h> #include <debug_uart.h> #include <dm.h> #include <i2c.h> diff --git a/board/atmel/sama5d2_xplained/sama5d2_xplained.c b/board/atmel/sama5d2_xplained/sama5d2_xplained.c index c8a8eb4..aa52207 100644 --- a/board/atmel/sama5d2_xplained/sama5d2_xplained.c +++ b/board/atmel/sama5d2_xplained/sama5d2_xplained.c @@ -4,6 +4,7 @@ * Wenyou.Yang <wenyou.yang@atmel.com> */ +#include <common.h> #include <debug_uart.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/atmel/sama5d3_xplained/sama5d3_xplained.c b/board/atmel/sama5d3_xplained/sama5d3_xplained.c index 54cc3c4..ce73a80 100644 --- a/board/atmel/sama5d3_xplained/sama5d3_xplained.c +++ b/board/atmel/sama5d3_xplained/sama5d3_xplained.c @@ -4,7 +4,7 @@ * Bo Shen <voice.shen@atmel.com> */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/atmel/sama5d3xek/sama5d3xek.c b/board/atmel/sama5d3xek/sama5d3xek.c index f2e1242..660a6b9 100644 --- a/board/atmel/sama5d3xek/sama5d3xek.c +++ b/board/atmel/sama5d3xek/sama5d3xek.c @@ -4,7 +4,7 @@ * Bo Shen <voice.shen@atmel.com> */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/atmel/sama5d4_xplained/sama5d4_xplained.c b/board/atmel/sama5d4_xplained/sama5d4_xplained.c index 09ca16c..780aba1 100644 --- a/board/atmel/sama5d4_xplained/sama5d4_xplained.c +++ b/board/atmel/sama5d4_xplained/sama5d4_xplained.c @@ -4,7 +4,7 @@ * Bo Shen <voice.shen@atmel.com> */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/atmel/sama5d4ek/sama5d4ek.c b/board/atmel/sama5d4ek/sama5d4ek.c index 1f8b85f..2226906 100644 --- a/board/atmel/sama5d4ek/sama5d4ek.c +++ b/board/atmel/sama5d4ek/sama5d4ek.c @@ -4,7 +4,7 @@ * Bo Shen <voice.shen@atmel.com> */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/atmel/sama7g54_curiosity/sama7g54_curiosity.c b/board/atmel/sama7g54_curiosity/sama7g54_curiosity.c index b05c975..33cd090 100644 --- a/board/atmel/sama7g54_curiosity/sama7g54_curiosity.c +++ b/board/atmel/sama7g54_curiosity/sama7g54_curiosity.c @@ -6,6 +6,7 @@ * */ +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/atmel/sama7g5ek/sama7g5ek.c b/board/atmel/sama7g5ek/sama7g5ek.c index c07115a..295fd07 100644 --- a/board/atmel/sama7g5ek/sama7g5ek.c +++ b/board/atmel/sama7g5ek/sama7g5ek.c @@ -4,7 +4,7 @@ * Eugen Hristev <eugen.hristev@microchip.com> */ -#include <config.h> +#include <common.h> #include <debug_uart.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/avionic-design/common/tamonten-ng.c b/board/avionic-design/common/tamonten-ng.c index e35bda8..29bde60 100644 --- a/board/avionic-design/common/tamonten-ng.c +++ b/board/avionic-design/common/tamonten-ng.c @@ -4,6 +4,7 @@ * Avionic Design GmbH <www.avionic-design.de> */ +#include <common.h> #include <dm.h> #include <log.h> #include <asm/arch/pinmux.h> diff --git a/board/avionic-design/common/tamonten.c b/board/avionic-design/common/tamonten.c index 4d74772..988f057 100644 --- a/board/avionic-design/common/tamonten.c +++ b/board/avionic-design/common/tamonten.c @@ -6,6 +6,7 @@ * Avionic Design GmbH <www.avionic-design.de> */ +#include <common.h> #include <ns16550.h> #include <asm/io.h> #include <asm/gpio.h> diff --git a/board/avionic-design/tec-ng/tec-ng-spl.c b/board/avionic-design/tec-ng/tec-ng-spl.c index 2504945..6e54464 100644 --- a/board/avionic-design/tec-ng/tec-ng-spl.c +++ b/board/avionic-design/tec-ng/tec-ng-spl.c @@ -7,6 +7,7 @@ * Svyatoslav Ryhel <clamor95@gmail.com> */ +#include <common.h> #include <asm/arch-tegra/tegra_i2c.h> #include <linux/delay.h> diff --git a/board/beacon/beacon-rzg2m/beacon-rzg2m.c b/board/beacon/beacon-rzg2m/beacon-rzg2m.c index 0990532..99fe1ed 100644 --- a/board/beacon/beacon-rzg2m/beacon-rzg2m.c +++ b/board/beacon/beacon-rzg2m/beacon-rzg2m.c @@ -3,6 +3,7 @@ * Copyright 2020 Compass Electronics Group, LLC */ +#include <common.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/beacon/imx8mm/lpddr4_timing.c b/board/beacon/imx8mm/lpddr4_timing.c index c1498dd..8e48b9d 100644 --- a/board/beacon/imx8mm/lpddr4_timing.c +++ b/board/beacon/imx8mm/lpddr4_timing.c @@ -4,6 +4,7 @@ */ #include <linux/kernel.h> +#include <common.h> #include <asm/arch/ddr.h> #include <asm/arch/lpddr4_define.h> diff --git a/board/beacon/imx8mm/spl.c b/board/beacon/imx8mm/spl.c index 12013aa..1632238 100644 --- a/board/beacon/imx8mm/spl.c +++ b/board/beacon/imx8mm/spl.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0+ +#include <common.h> #include <cpu_func.h> #include <hang.h> #include <init.h> diff --git a/board/beacon/imx8mn/spl.c b/board/beacon/imx8mn/spl.c index f03841e..b4d46f1 100644 --- a/board/beacon/imx8mn/spl.c +++ b/board/beacon/imx8mn/spl.c @@ -3,6 +3,7 @@ * Copyright 2020 Compass Electronics Group, LLC */ +#include <common.h> #include <hang.h> #include <image.h> #include <init.h> diff --git a/board/beacon/imx8mp/imx8mp_beacon.c b/board/beacon/imx8mp/imx8mp_beacon.c index dd74e7c..8963a51 100644 --- a/board/beacon/imx8mp/imx8mp_beacon.c +++ b/board/beacon/imx8mp/imx8mp_beacon.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0+ /* Copyright 2023 Logic PD, Inc dba Beacon EmbeddedWorks */ +#include <common.h> #include <init.h> #include <miiphy.h> #include <asm/arch/sys_proto.h> diff --git a/board/beacon/imx8mp/spl.c b/board/beacon/imx8mp/spl.c index 30d577f..591e8ca 100644 --- a/board/beacon/imx8mp/spl.c +++ b/board/beacon/imx8mp/spl.c @@ -4,6 +4,7 @@ * */ +#include <common.h> #include <hang.h> #include <init.h> #include <log.h> diff --git a/board/beagle/beagle/beagle.c b/board/beagle/beagle/beagle.c index ac2f89c..847d596 100644 --- a/board/beagle/beagle/beagle.c +++ b/board/beagle/beagle/beagle.c @@ -12,7 +12,7 @@ * Syed Mohammed Khasim <khasim@ti.com> * */ -#include <config.h> +#include <common.h> #include <bootstage.h> #include <dm.h> #include <env.h> diff --git a/board/beagle/beagle/led.c b/board/beagle/beagle/led.c index efbd7c1..e21c016 100644 --- a/board/beagle/beagle/led.c +++ b/board/beagle/beagle/led.c @@ -3,6 +3,7 @@ * Copyright (c) 2010 Texas Instruments, Inc. * Jason Kridner <jkridner@beagleboard.org> */ +#include <common.h> #include <status_led.h> #include <asm/arch/cpu.h> #include <asm/io.h> diff --git a/board/beckhoff/mx53cx9020/mx53cx9020.c b/board/beckhoff/mx53cx9020/mx53cx9020.c index 3a76672..e7b1318 100644 --- a/board/beckhoff/mx53cx9020/mx53cx9020.c +++ b/board/beckhoff/mx53cx9020/mx53cx9020.c @@ -7,6 +7,7 @@ * Copyright (C) 2011 Freescale Semiconductor, Inc. */ +#include <common.h> #include <cpu_func.h> #include <init.h> #include <asm/arch/sys_proto.h> diff --git a/board/beckhoff/mx53cx9020/mx53cx9020_video.c b/board/beckhoff/mx53cx9020/mx53cx9020_video.c index fd28a70..bf47290 100644 --- a/board/beckhoff/mx53cx9020/mx53cx9020_video.c +++ b/board/beckhoff/mx53cx9020/mx53cx9020_video.c @@ -7,6 +7,7 @@ * Copyright (C) 2012 Freescale Semiconductor, Inc. */ +#include <common.h> #include <asm/arch/iomux-mx53.h> #include <asm/gpio.h> #include <asm/mach-imx/video.h> diff --git a/board/bluewater/gurnard/gurnard.c b/board/bluewater/gurnard/gurnard.c index 3275803..9b42299 100644 --- a/board/bluewater/gurnard/gurnard.c +++ b/board/bluewater/gurnard/gurnard.c @@ -7,7 +7,7 @@ * Author: Ryan Mallon <ryan@bluewatersys.com> */ -#include <config.h> +#include <common.h> #include <atmel_lcd.h> #include <atmel_lcdc.h> #include <atmel_mci.h> diff --git a/board/bosch/acc/acc.c b/board/bosch/acc/acc.c index a1a00e7..65c2f35 100644 --- a/board/bosch/acc/acc.c +++ b/board/bosch/acc/acc.c @@ -5,7 +5,7 @@ * Copyright (c) 2022 DENX Software Engineering GmbH, Philip Oberfichtner <pro@denx.de> */ -#include <config.h> +#include <common.h> #include <cpu_func.h> #include <bootstage.h> #include <dm.h> diff --git a/board/bosch/guardian/board.c b/board/bosch/guardian/board.c index 41d7567..ee9e6d6 100644 --- a/board/bosch/guardian/board.c +++ b/board/bosch/guardian/board.c @@ -8,7 +8,7 @@ * Copyright (C) 2018 Robert Bosch Power Tools GmbH */ -#include <config.h> +#include <common.h> #include <dm.h> #include <env_internal.h> #include <errno.h> diff --git a/board/bosch/guardian/mux.c b/board/bosch/guardian/mux.c index eab3398..53850ff 100644 --- a/board/bosch/guardian/mux.c +++ b/board/bosch/guardian/mux.c @@ -6,6 +6,7 @@ * Copyright (C) 2018 Robert Bosch Power Tools GmbH */ +#include <common.h> #include <i2c.h> #include <asm/arch/hardware.h> #include <asm/arch/mux.h> diff --git a/board/bosch/shc/board.c b/board/bosch/shc/board.c index ab68874..aebdfd4 100644 --- a/board/bosch/shc/board.c +++ b/board/bosch/shc/board.c @@ -11,7 +11,7 @@ * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/ */ -#include <config.h> +#include <common.h> #include <bootstage.h> #include <cpu_func.h> #include <env.h> diff --git a/board/bosch/shc/mux.c b/board/bosch/shc/mux.c index a2a8947..f19d186 100644 --- a/board/bosch/shc/mux.c +++ b/board/bosch/shc/mux.c @@ -9,6 +9,7 @@ * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ */ +#include <common.h> #include <hang.h> #include <asm/arch/sys_proto.h> #include <asm/arch/hardware.h> diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index 2b0cb23..382c01d 100644 --- a/board/boundary/nitrogen6x/nitrogen6x.c +++ b/board/boundary/nitrogen6x/nitrogen6x.c @@ -4,6 +4,7 @@ * Copyright (C) 2013, Boundary Devices <info@boundarydevices.com> */ +#include <common.h> #include <command.h> #include <env.h> #include <init.h> diff --git a/board/broadcom/bcmbca/board.c b/board/broadcom/bcmbca/board.c index a6ced92..bcecb4d 100644 --- a/board/broadcom/bcmbca/board.c +++ b/board/broadcom/bcmbca/board.c @@ -3,6 +3,7 @@ * (C) Copyright 2022 Broadcom Ltd. */ +#include <common.h> #include <fdtdec.h> int board_init(void) diff --git a/board/broadcom/bcmns/ns.c b/board/broadcom/bcmns/ns.c index 45cc629..1249e45 100644 --- a/board/broadcom/bcmns/ns.c +++ b/board/broadcom/bcmns/ns.c @@ -4,6 +4,7 @@ * Copyright (C) 2023 Linus Walleij <linus.walleij@linaro.org> */ +#include <common.h> #include <dm.h> #include <init.h> #include <log.h> diff --git a/board/broadcom/bcmns3/ns3.c b/board/broadcom/bcmns3/ns3.c index bb2f1e4..7ae6742 100644 --- a/board/broadcom/bcmns3/ns3.c +++ b/board/broadcom/bcmns3/ns3.c @@ -4,8 +4,8 @@ * */ +#include <common.h> #include <fdt_support.h> -#include <linux/errno.h> #include <asm/io.h> #include <asm/gic-v3.h> #include <asm/global_data.h> diff --git a/board/broadcom/bcmstb/bcmstb.c b/board/broadcom/bcmstb/bcmstb.c index bc05aec..aead6f0 100644 --- a/board/broadcom/bcmstb/bcmstb.c +++ b/board/broadcom/bcmstb/bcmstb.c @@ -12,6 +12,7 @@ #include <time.h> #include <asm/global_data.h> #include <linux/types.h> +#include <common.h> #include <env.h> #include <asm/io.h> #include <asm/bootm.h> diff --git a/board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c b/board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c index c03e390..c82eabb 100644 --- a/board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c +++ b/board/bsh/imx6ulz_smm_m2/imx6ulz_smm_m2.c @@ -14,6 +14,7 @@ #include <asm/mach-imx/boot_mode.h> #include <asm/global_data.h> #include <asm/gpio.h> +#include <common.h> #include <env.h> #include <linux/sizes.h> diff --git a/board/bsh/imx6ulz_smm_m2/spl.c b/board/bsh/imx6ulz_smm_m2/spl.c index 724841b..5b4812e 100644 --- a/board/bsh/imx6ulz_smm_m2/spl.c +++ b/board/bsh/imx6ulz_smm_m2/spl.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0+ +#include <common.h> #include <cpu_func.h> #include <hang.h> #include <init.h> diff --git a/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c b/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c index c998968..0ebf208 100644 --- a/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c +++ b/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c @@ -3,6 +3,7 @@ * Copyright 2021 Collabora Ltd. */ +#include <common.h> #include <asm/arch/sys_proto.h> #include <env.h> diff --git a/board/bticino/mamoj/mamoj.c b/board/bticino/mamoj/mamoj.c index 71497b8..c9da42b 100644 --- a/board/bticino/mamoj/mamoj.c +++ b/board/bticino/mamoj/mamoj.c @@ -5,6 +5,7 @@ * Copyright (C) 2018 Jagan Teki <jagan@amarulasolutions.com> */ +#include <common.h> #include <init.h> #include <asm/arch/sys_proto.h> #include <asm/global_data.h> diff --git a/board/bticino/mamoj/spl.c b/board/bticino/mamoj/spl.c index 59b7c24..883b7f4 100644 --- a/board/bticino/mamoj/spl.c +++ b/board/bticino/mamoj/spl.c @@ -5,6 +5,7 @@ * Copyright (C) 2018 Jagan Teki <jagan@amarulasolutions.com> */ +#include <common.h> #include <init.h> #include <serial.h> #include <spl.h> diff --git a/board/buffalo/lsxl/lsxl.c b/board/buffalo/lsxl/lsxl.c index 1e501a0..6a866b5 100644 --- a/board/buffalo/lsxl/lsxl.c +++ b/board/buffalo/lsxl/lsxl.c @@ -7,6 +7,7 @@ * Marvell Semiconductor <www.marvell.com> */ +#include <common.h> #include <bootstage.h> #include <button.h> #include <command.h> diff --git a/board/cadence/xtfpga/xtfpga.c b/board/cadence/xtfpga/xtfpga.c index 5110fed..8e4081b 100644 --- a/board/cadence/xtfpga/xtfpga.c +++ b/board/cadence/xtfpga/xtfpga.c @@ -4,7 +4,7 @@ * (C) Copyright 2014 - 2016 Cadence Design Systems Inc. */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <command.h> #include <dm.h> diff --git a/board/calao/usb_a9263/usb_a9263.c b/board/calao/usb_a9263/usb_a9263.c index 8e39a15..3d31776 100644 --- a/board/calao/usb_a9263/usb_a9263.c +++ b/board/calao/usb_a9263/usb_a9263.c @@ -7,7 +7,7 @@ * Mateusz Kulikowski <mateusz.kulikowski@gmail.com> */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/arch/at91sam9_smc.h> #include <asm/arch/at91_common.h> diff --git a/board/cavium/thunderx/atf.c b/board/cavium/thunderx/atf.c index ce7afb7..37340fe 100644 --- a/board/cavium/thunderx/atf.c +++ b/board/cavium/thunderx/atf.c @@ -3,9 +3,8 @@ * (C) Copyright 2014, Cavium Inc. **/ -#include <config.h> +#include <common.h> #include <command.h> -#include <vsprintf.h> #include <asm/cache.h> #include <asm/io.h> #include <asm/ptrace.h> diff --git a/board/cavium/thunderx/thunderx.c b/board/cavium/thunderx/thunderx.c index b1a805c..ab20825 100644 --- a/board/cavium/thunderx/thunderx.c +++ b/board/cavium/thunderx/thunderx.c @@ -3,7 +3,7 @@ * (C) Copyright 2014, Cavium Inc. **/ -#include <config.h> +#include <common.h> #include <cpu_func.h> #include <dm.h> #include <init.h> diff --git a/board/cei/cei-tk1-som/cei-tk1-som.c b/board/cei/cei-tk1-som/cei-tk1-som.c index 15b2004..95ee7bb 100644 --- a/board/cei/cei-tk1-som/cei-tk1-som.c +++ b/board/cei/cei-tk1-som/cei-tk1-som.c @@ -4,7 +4,7 @@ * NVIDIA Corporation <www.nvidia.com> */ -#include <linux/kernel.h> +#include <common.h> #include <power/as3722.h> #include <asm/arch/gpio.h> diff --git a/board/chipspark/popmetal_rk3288/popmetal-rk3288.c b/board/chipspark/popmetal_rk3288/popmetal-rk3288.c index dd75511..e6909b3 100644 --- a/board/chipspark/popmetal_rk3288/popmetal-rk3288.c +++ b/board/chipspark/popmetal_rk3288/popmetal-rk3288.c @@ -3,6 +3,7 @@ * (C) Copyright 2016 Rockchip Electronics Co., Ltd */ +#include <common.h> #include <init.h> #include <asm/gpio.h> diff --git a/board/cloos/imx8mm_phg/imx8mm_phg.c b/board/cloos/imx8mm_phg/imx8mm_phg.c index 091c9a5..bc4e984 100644 --- a/board/cloos/imx8mm_phg/imx8mm_phg.c +++ b/board/cloos/imx8mm_phg/imx8mm_phg.c @@ -3,6 +3,7 @@ * Copyright 2018 NXP */ +#include <common.h> #include <env.h> #include <init.h> #include <miiphy.h> diff --git a/board/cloos/imx8mm_phg/spl.c b/board/cloos/imx8mm_phg/spl.c index b8892ed..0c3a013 100644 --- a/board/cloos/imx8mm_phg/spl.c +++ b/board/cloos/imx8mm_phg/spl.c @@ -3,6 +3,7 @@ * Copyright 2019 NXP */ +#include <common.h> #include <command.h> #include <cpu_func.h> #include <hang.h> diff --git a/board/cloudengines/pogo_e02/pogo_e02.c b/board/cloudengines/pogo_e02/pogo_e02.c index 48eee67..59e1218 100644 --- a/board/cloudengines/pogo_e02/pogo_e02.c +++ b/board/cloudengines/pogo_e02/pogo_e02.c @@ -10,6 +10,7 @@ * Written-by: Prafulla Wadaskar <prafulla@marvell.com> */ +#include <common.h> #include <init.h> #include <log.h> #include <netdev.h> diff --git a/board/cloudengines/pogo_v4/pogo_v4.c b/board/cloudengines/pogo_v4/pogo_v4.c index c8ad563..61ce0d5 100644 --- a/board/cloudengines/pogo_v4/pogo_v4.c +++ b/board/cloudengines/pogo_v4/pogo_v4.c @@ -11,6 +11,7 @@ * Written-by: Prafulla Wadaskar <prafulla@marvell.com> */ +#include <common.h> #include <netdev.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> diff --git a/board/cobra5272/cobra5272.c b/board/cobra5272/cobra5272.c index 774aa82..69a9df9 100644 --- a/board/cobra5272/cobra5272.c +++ b/board/cobra5272/cobra5272.c @@ -4,7 +4,7 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/immap.h> diff --git a/board/cobra5272/flash.c b/board/cobra5272/flash.c index 157b71d..8416af1 100644 --- a/board/cobra5272/flash.c +++ b/board/cobra5272/flash.c @@ -4,17 +4,13 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <config.h> +#include <common.h> #include <console.h> #include <cpu_func.h> #include <flash.h> #include <irq_func.h> -#include <stdio.h> -#include <time.h> #include <uuid.h> -#include <vsprintf.h> #include <linux/delay.h> -#include <linux/string.h> #define PHYS_FLASH_1 CFG_SYS_FLASH_BASE #define FLASH_BANK_SIZE 0x200000 diff --git a/board/compulab/cl-som-imx7/cl-som-imx7.c b/board/compulab/cl-som-imx7/cl-som-imx7.c index 7853c4d..af19a65 100644 --- a/board/compulab/cl-som-imx7/cl-som-imx7.c +++ b/board/compulab/cl-som-imx7/cl-som-imx7.c @@ -7,7 +7,7 @@ * Author: Uri Mashiach <uri.mashiach@compulab.co.il> */ -#include <config.h> +#include <common.h> #include <env.h> #include <init.h> #include <mmc.h> diff --git a/board/compulab/cl-som-imx7/common.c b/board/compulab/cl-som-imx7/common.c index ae8e834..40ba0f7 100644 --- a/board/compulab/cl-som-imx7/common.c +++ b/board/compulab/cl-som-imx7/common.c @@ -7,6 +7,7 @@ * Author: Uri Mashiach <uri.mashiach@compulab.co.il> */ +#include <common.h> #include <fsl_esdhc_imx.h> #include <asm-generic/gpio.h> #include "common.h" diff --git a/board/compulab/cl-som-imx7/mux.c b/board/compulab/cl-som-imx7/mux.c index 25123ee..18f16a4 100644 --- a/board/compulab/cl-som-imx7/mux.c +++ b/board/compulab/cl-som-imx7/mux.c @@ -7,7 +7,7 @@ * Author: Uri Mashiach <uri.mashiach@compulab.co.il> */ -#include <linux/kernel.h> +#include <common.h> #include <asm/mach-imx/iomux-v3.h> #include <asm/arch-mx7/mx7-pins.h> diff --git a/board/compulab/cl-som-imx7/spl.c b/board/compulab/cl-som-imx7/spl.c index 9b6bbb9..98c3b83 100644 --- a/board/compulab/cl-som-imx7/spl.c +++ b/board/compulab/cl-som-imx7/spl.c @@ -7,6 +7,7 @@ * Author: Uri Mashiach <uri.mashiach@compulab.co.il> */ +#include <common.h> #include <hang.h> #include <init.h> #include <spl.h> diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c index 4a6cc3e..7bce09e 100644 --- a/board/compulab/cm_fx6/cm_fx6.c +++ b/board/compulab/cm_fx6/cm_fx6.c @@ -7,7 +7,7 @@ * Author: Nikita Kiryanov <nikita@compulab.co.il> */ -#include <config.h> +#include <common.h> #include <ahci.h> #include <dm.h> #include <dwc_ahsata.h> diff --git a/board/compulab/cm_fx6/common.c b/board/compulab/cm_fx6/common.c index a71861b..ed8c7a3 100644 --- a/board/compulab/cm_fx6/common.c +++ b/board/compulab/cm_fx6/common.c @@ -7,6 +7,7 @@ * Author: Nikita Kiryanov <nikita@compulab.co.il> */ +#include <common.h> #include <asm/arch/sys_proto.h> #include <asm/gpio.h> #include <asm/mach-imx/spi.h> diff --git a/board/compulab/cm_fx6/spl.c b/board/compulab/cm_fx6/spl.c index b11bf2d..079f196 100644 --- a/board/compulab/cm_fx6/spl.c +++ b/board/compulab/cm_fx6/spl.c @@ -7,6 +7,7 @@ * Author: Nikita Kiryanov <nikita@compulab.co.il> */ +#include <common.h> #include <clock_legacy.h> #include <hang.h> #include <init.h> diff --git a/board/compulab/cm_t43/cm_t43.c b/board/compulab/cm_t43/cm_t43.c index 1815819..5df378a 100644 --- a/board/compulab/cm_t43/cm_t43.c +++ b/board/compulab/cm_t43/cm_t43.c @@ -3,7 +3,7 @@ * Copyright (C) 2015 Compulab, Ltd. */ -#include <config.h> +#include <common.h> #include <i2c.h> #include <miiphy.h> #include <cpsw.h> diff --git a/board/compulab/cm_t43/mux.c b/board/compulab/cm_t43/mux.c index f109105..778ea05 100644 --- a/board/compulab/cm_t43/mux.c +++ b/board/compulab/cm_t43/mux.c @@ -3,6 +3,7 @@ * Copyright (C) 2015 Compulab, Ltd. */ +#include <common.h> #include <asm/arch/sys_proto.h> #include <asm/arch/mux.h> #include "board.h" diff --git a/board/compulab/cm_t43/spl.c b/board/compulab/cm_t43/spl.c index 212bfeb..a6223a4 100644 --- a/board/compulab/cm_t43/spl.c +++ b/board/compulab/cm_t43/spl.c @@ -3,7 +3,7 @@ * Copyright (C) 2016 Compulab, Ltd. */ -#include <config.h> +#include <common.h> #include <hang.h> #include <init.h> #include <spl.h> diff --git a/board/compulab/common/common.c b/board/compulab/common/common.c index 6ffebe6..528c97d 100644 --- a/board/compulab/common/common.c +++ b/board/compulab/common/common.c @@ -5,6 +5,7 @@ * Authors: Igor Grinberg <grinberg@compulab.co.il> */ +#include <common.h> #include <malloc.h> #include <asm/bootm.h> #include <asm/gpio.h> diff --git a/board/compulab/common/eeprom.c b/board/compulab/common/eeprom.c index efdaf34..c4b257f 100644 --- a/board/compulab/common/eeprom.c +++ b/board/compulab/common/eeprom.c @@ -6,13 +6,13 @@ * Igor Grinberg <grinberg@compulab.co.il> */ +#include <common.h> +#include <eeprom.h> #include <i2c.h> -#include <vsprintf.h> #include <eeprom_layout.h> #include <eeprom_field.h> #include <asm/setup.h> #include <linux/kernel.h> -#include <linux/string.h> #include "eeprom.h" #define EEPROM_LAYOUT_VER_OFFSET 44 diff --git a/board/compulab/common/omap3_smc911x.c b/board/compulab/common/omap3_smc911x.c index 411fc49..f0d3652 100644 --- a/board/compulab/common/omap3_smc911x.c +++ b/board/compulab/common/omap3_smc911x.c @@ -5,6 +5,7 @@ * Authors: Igor Grinberg <grinberg@compulab.co.il> */ +#include <common.h> #include <netdev.h> #include <linux/delay.h> diff --git a/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c b/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c index 99d3bf3..b230478 100644 --- a/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c +++ b/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c @@ -5,6 +5,7 @@ * */ +#include <common.h> #include <spl.h> #include <asm/io.h> #include <errno.h> diff --git a/board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.1_2.c b/board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.1_2.c index efcc95c..9019a1f 100644 --- a/board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.1_2.c +++ b/board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.1_2.c @@ -7,6 +7,7 @@ */ #include <linux/kernel.h> +#include <common.h> #include <asm/arch/ddr.h> #include <asm/arch/lpddr4_define.h> diff --git a/board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.c b/board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.c index 67f59ed..5141c04 100644 --- a/board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.c +++ b/board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_01061010.c @@ -7,6 +7,7 @@ */ #include <linux/kernel.h> +#include <common.h> #include <asm/arch/ddr.h> #include <asm/arch/lpddr4_define.h> diff --git a/board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff000110.c b/board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff000110.c index 273ee89..2334722 100644 --- a/board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff000110.c +++ b/board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff000110.c @@ -7,6 +7,7 @@ */ #include <linux/kernel.h> +#include <common.h> #include <asm/arch/ddr.h> #include <asm/arch/lpddr4_define.h> diff --git a/board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff020008.c b/board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff020008.c index 1243800..e65445e 100644 --- a/board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff020008.c +++ b/board/compulab/imx8mm-cl-iot-gate/ddr/lpddr4_timing_ff020008.c @@ -7,6 +7,7 @@ */ #include <linux/kernel.h> +#include <common.h> #include <asm/arch/ddr.h> #include <asm/arch/lpddr4_define.h> diff --git a/board/compulab/imx8mm-cl-iot-gate/eeprom_spl.c b/board/compulab/imx8mm-cl-iot-gate/eeprom_spl.c index 1256848..90cc33a 100644 --- a/board/compulab/imx8mm-cl-iot-gate/eeprom_spl.c +++ b/board/compulab/imx8mm-cl-iot-gate/eeprom_spl.c @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0+ /* (C) Copyright 2019 CompuLab, Ltd. <www.compulab.co.il> */ -#include <config.h> +#include <common.h> #include <i2c.h> #include <linux/kernel.h> #include <asm/arch/imx8mq_pins.h> diff --git a/board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c b/board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c index ba15873..af070ec 100644 --- a/board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c +++ b/board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c @@ -4,6 +4,7 @@ * Copyright 2020 Linaro */ +#include <common.h> #include <efi.h> #include <efi_loader.h> #include <env.h> diff --git a/board/compulab/imx8mm-cl-iot-gate/spl.c b/board/compulab/imx8mm-cl-iot-gate/spl.c index 6d9af25..19c1acd 100644 --- a/board/compulab/imx8mm-cl-iot-gate/spl.c +++ b/board/compulab/imx8mm-cl-iot-gate/spl.c @@ -4,6 +4,7 @@ * Copyright 2020 Linaro */ +#include <common.h> #include <command.h> #include <cpu_func.h> #include <hang.h> diff --git a/board/compulab/trimslice/trimslice.c b/board/compulab/trimslice/trimslice.c index af05c0c..21ff0cd 100644 --- a/board/compulab/trimslice/trimslice.c +++ b/board/compulab/trimslice/trimslice.c @@ -4,6 +4,7 @@ * NVIDIA Corporation <www.nvidia.com> */ +#include <common.h> #include <asm/io.h> #include <asm/arch/tegra.h> #include <asm/arch/clock.h> diff --git a/board/conclusive/kstr-sama5d27/kstr-sama5d27.c b/board/conclusive/kstr-sama5d27/kstr-sama5d27.c index 64282ae..1b765b1 100644 --- a/board/conclusive/kstr-sama5d27/kstr-sama5d27.c +++ b/board/conclusive/kstr-sama5d27/kstr-sama5d27.c @@ -4,7 +4,7 @@ * Copyright (C) 2021-2023 Conclusive Engineering Sp. z o. o. */ -#include <config.h> +#include <common.h> #include <debug_uart.h> #include <init.h> #include <env.h> diff --git a/board/congatec/cgtqmx8/cgtqmx8.c b/board/congatec/cgtqmx8/cgtqmx8.c index 99c33a1..d8e5b1d 100644 --- a/board/congatec/cgtqmx8/cgtqmx8.c +++ b/board/congatec/cgtqmx8/cgtqmx8.c @@ -3,7 +3,7 @@ * Copyright 2018 congatec AG * Copyright (C) 2019 Oliver Graute <oliver.graute@kococonnector.com> */ -#include <config.h> +#include <common.h> #include <errno.h> #include <linux/libfdt.h> #include <fsl_esdhc.h> diff --git a/board/congatec/cgtqmx8/spl.c b/board/congatec/cgtqmx8/spl.c index 242e794..b432ce2 100644 --- a/board/congatec/cgtqmx8/spl.c +++ b/board/congatec/cgtqmx8/spl.c @@ -4,6 +4,7 @@ * */ +#include <common.h> #include <dm.h> #include <fdt_support.h> #include <init.h> diff --git a/board/congatec/common/mmc.c b/board/congatec/common/mmc.c index 74a189a..bb7a3d4 100644 --- a/board/congatec/common/mmc.c +++ b/board/congatec/common/mmc.c @@ -4,8 +4,7 @@ * Copyright 2018 NXP * */ - -#include <vsprintf.h> +#include <common.h> #include <linux/errno.h> #include <asm/io.h> #include <env.h> diff --git a/board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c b/board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c index 4197e88..315b6dc 100644 --- a/board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c +++ b/board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c @@ -3,6 +3,7 @@ * Copyright (C) 2016 Stefan Roese <sr@denx.de> */ +#include <common.h> #include <i2c.h> #include <init.h> #include <winbond_w83627.h> diff --git a/board/coreboot/coreboot/coreboot.c b/board/coreboot/coreboot/coreboot.c index f2ca107..e58dce3 100644 --- a/board/coreboot/coreboot/coreboot.c +++ b/board/coreboot/coreboot/coreboot.c @@ -3,6 +3,7 @@ * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com> */ +#include <common.h> #include <splash.h> #include <init.h> #include <smbios.h> diff --git a/board/cortina/presidio-asic/presidio.c b/board/cortina/presidio-asic/presidio.c index c07e0ea..fdfa3af 100644 --- a/board/cortina/presidio-asic/presidio.c +++ b/board/cortina/presidio-asic/presidio.c @@ -3,7 +3,7 @@ * (C) Copyright 2020 - Cortina Access Inc. * */ -#include <config.h> +#include <common.h> #include <event.h> #include <init.h> #include <malloc.h> diff --git a/board/cssi/cmpcpro/cmpcpro.c b/board/cssi/cmpcpro/cmpcpro.c index ec13d9a..ef30412 100644 --- a/board/cssi/cmpcpro/cmpcpro.c +++ b/board/cssi/cmpcpro/cmpcpro.c @@ -7,6 +7,7 @@ #include <dm.h> #include <env.h> #include <env_internal.h> +#include <eeprom.h> #include <fdt_support.h> #include <hang.h> #include <ioports.h> diff --git a/board/d-link/dns325/dns325.c b/board/d-link/dns325/dns325.c index 3bbde98..8ebfe4c 100644 --- a/board/d-link/dns325/dns325.c +++ b/board/d-link/dns325/dns325.c @@ -9,6 +9,7 @@ * Written-by: Prafulla Wadaskar <prafulla@marvell.com> */ +#include <common.h> #include <init.h> #include <log.h> #include <miiphy.h> diff --git a/board/data_modul/common/common.c b/board/data_modul/common/common.c index b4d74a8..4ece82c 100644 --- a/board/data_modul/common/common.c +++ b/board/data_modul/common/common.c @@ -3,6 +3,7 @@ * Copyright 2022 Marek Vasut <marex@denx.de> */ +#include <common.h> #include <asm-generic/gpio.h> #include <asm-generic/sections.h> #include <asm/arch/clock.h> diff --git a/board/data_modul/imx8mm_edm_sbc/imx8mm_data_modul_edm_sbc.c b/board/data_modul/imx8mm_edm_sbc/imx8mm_data_modul_edm_sbc.c index 339702e..bfb2bdd 100644 --- a/board/data_modul/imx8mm_edm_sbc/imx8mm_data_modul_edm_sbc.c +++ b/board/data_modul/imx8mm_edm_sbc/imx8mm_data_modul_edm_sbc.c @@ -3,6 +3,7 @@ * Copyright 2022 Marek Vasut <marex@denx.de> */ +#include <common.h> #include <asm/arch/clock.h> #include <asm/arch/imx8mm_pins.h> #include <asm/io.h> diff --git a/board/data_modul/imx8mm_edm_sbc/spl.c b/board/data_modul/imx8mm_edm_sbc/spl.c index 17aafd7..4a9c62f 100644 --- a/board/data_modul/imx8mm_edm_sbc/spl.c +++ b/board/data_modul/imx8mm_edm_sbc/spl.c @@ -3,6 +3,7 @@ * Copyright 2022 Marek Vasut <marex@denx.de> */ +#include <common.h> #include <hang.h> #include <image.h> #include <init.h> diff --git a/board/data_modul/imx8mp_edm_sbc/imx8mp_data_modul_edm_sbc.c b/board/data_modul/imx8mp_edm_sbc/imx8mp_data_modul_edm_sbc.c index 138acd3..f0f373a 100644 --- a/board/data_modul/imx8mp_edm_sbc/imx8mp_data_modul_edm_sbc.c +++ b/board/data_modul/imx8mp_edm_sbc/imx8mp_data_modul_edm_sbc.c @@ -3,6 +3,7 @@ * Copyright 2022 Marek Vasut <marex@denx.de> */ +#include <common.h> #include <asm/arch/clock.h> #include <asm/arch/imx8mp_pins.h> #include <asm/io.h> diff --git a/board/data_modul/imx8mp_edm_sbc/spl.c b/board/data_modul/imx8mp_edm_sbc/spl.c index c193589..cc2d253 100644 --- a/board/data_modul/imx8mp_edm_sbc/spl.c +++ b/board/data_modul/imx8mp_edm_sbc/spl.c @@ -3,6 +3,7 @@ * Copyright 2022 Marek Vasut <marex@denx.de> */ +#include <common.h> #include <hang.h> #include <image.h> #include <init.h> diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c index 0011c82..05053a8 100644 --- a/board/davinci/da8xxevm/da850evm.c +++ b/board/davinci/da8xxevm/da850evm.c @@ -8,7 +8,7 @@ * Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net> */ -#include <config.h> +#include <common.h> #include <dm.h> #include <env.h> #include <i2c.h> diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/board/davinci/da8xxevm/omapl138_lcdk.c index 607e05a..9738e2b 100644 --- a/board/davinci/da8xxevm/omapl138_lcdk.c +++ b/board/davinci/da8xxevm/omapl138_lcdk.c @@ -8,7 +8,7 @@ * Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net> */ -#include <config.h> +#include <common.h> #include <env.h> #include <i2c.h> #include <init.h> diff --git a/board/dfi/dfi-bt700/dfi-bt700.c b/board/dfi/dfi-bt700/dfi-bt700.c index 907cc98..87506a7 100644 --- a/board/dfi/dfi-bt700/dfi-bt700.c +++ b/board/dfi/dfi-bt700/dfi-bt700.c @@ -3,6 +3,7 @@ * Copyright (C) 2016 Stefan Roese <sr@denx.de> */ +#include <common.h> #include <init.h> #include <log.h> #include <nuvoton_nct6102d.h> diff --git a/board/dhelectronics/common/dh_common.c b/board/dhelectronics/common/dh_common.c index 32c50b4..34094a0 100644 --- a/board/dhelectronics/common/dh_common.c +++ b/board/dhelectronics/common/dh_common.c @@ -4,6 +4,7 @@ * 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 3d6487d..7f451ba 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 c8dd30d..0676587 100644 --- a/board/dhelectronics/dh_imx6/dh_imx6.c +++ b/board/dhelectronics/dh_imx6/dh_imx6.c @@ -5,7 +5,9 @@ * Copyright (C) 2017 Marek Vasut <marex@denx.de> */ +#include <common.h> #include <dm.h> +#include <eeprom.h> #include <image.h> #include <init.h> #include <net.h> diff --git a/board/dhelectronics/dh_imx6/dh_imx6_spl.c b/board/dhelectronics/dh_imx6/dh_imx6_spl.c index 3a5495e..e6d5657 100644 --- a/board/dhelectronics/dh_imx6/dh_imx6_spl.c +++ b/board/dhelectronics/dh_imx6/dh_imx6_spl.c @@ -5,6 +5,7 @@ * 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 f6db9f6..44456da 100644 --- a/board/dhelectronics/dh_imx8mp/common.c +++ b/board/dhelectronics/dh_imx8mp/common.c @@ -3,6 +3,7 @@ * 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 c635735..ff2c0e8 100644 --- a/board/dhelectronics/dh_imx8mp/imx8mp_dhcom_pdk2.c +++ b/board/dhelectronics/dh_imx8mp/imx8mp_dhcom_pdk2.c @@ -3,6 +3,7 @@ * 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 714f846..7d228da 100644 --- a/board/dhelectronics/dh_imx8mp/spl.c +++ b/board/dhelectronics/dh_imx8mp/spl.c @@ -3,6 +3,7 @@ * 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 20c9d70..22af423 100644 --- a/board/dhelectronics/dh_stm32mp1/board.c +++ b/board/dhelectronics/dh_stm32mp1/board.c @@ -3,6 +3,7 @@ * Copyright (C) 2018, STMicroelectronics - All Rights Reserved */ +#include <common.h> #include <adc.h> #include <log.h> #include <net.h> diff --git a/board/ea/ea-lpc3250devkitv2/ea-lpc3250devkitv2.c b/board/ea/ea-lpc3250devkitv2/ea-lpc3250devkitv2.c index 222e5fa..2b03e48 100644 --- a/board/ea/ea-lpc3250devkitv2/ea-lpc3250devkitv2.c +++ b/board/ea/ea-lpc3250devkitv2/ea-lpc3250devkitv2.c @@ -5,7 +5,7 @@ */ #include <init.h> -#include <config.h> +#include <common.h> #include <asm/io.h> #include <asm/global_data.h> diff --git a/board/ea/mx7ulp_com/mx7ulp_com.c b/board/ea/mx7ulp_com/mx7ulp_com.c index 8f78937..cd9591a 100644 --- a/board/ea/mx7ulp_com/mx7ulp_com.c +++ b/board/ea/mx7ulp_com/mx7ulp_com.c @@ -3,6 +3,7 @@ * Copyright (C) 2016 Freescale Semiconductor, Inc. */ +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/eets/pdu001/board.c b/board/eets/pdu001/board.c index 2ad256f..3a52e4a 100644 --- a/board/eets/pdu001/board.c +++ b/board/eets/pdu001/board.c @@ -9,7 +9,7 @@ * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/ */ -#include <config.h> +#include <common.h> #include <env.h> #include <errno.h> #include <init.h> diff --git a/board/eets/pdu001/mux.c b/board/eets/pdu001/mux.c index f306a13..c97927e 100644 --- a/board/eets/pdu001/mux.c +++ b/board/eets/pdu001/mux.c @@ -7,7 +7,7 @@ * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ */ -#include <config.h> +#include <common.h> #include <i2c.h> #include <asm/arch/sys_proto.h> #include <asm/arch/hardware.h> diff --git a/board/efi/efi-x86_payload/payload.c b/board/efi/efi-x86_payload/payload.c index d7d1e53..5d4492c 100644 --- a/board/efi/efi-x86_payload/payload.c +++ b/board/efi/efi-x86_payload/payload.c @@ -3,6 +3,7 @@ * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com> */ +#include <common.h> #include <init.h> #include <usb.h> diff --git a/board/egnite/ethernut5/ethernut5.c b/board/egnite/ethernut5/ethernut5.c index 64e341c3..9953df0 100644 --- a/board/egnite/ethernut5/ethernut5.c +++ b/board/egnite/ethernut5/ethernut5.c @@ -52,7 +52,7 @@ * http://www.ethernut.de/ */ -#include <config.h> +#include <common.h> #include <init.h> #include <net.h> #include <netdev.h> diff --git a/board/egnite/ethernut5/ethernut5_pwrman.c b/board/egnite/ethernut5/ethernut5_pwrman.c index 42e1914..81f1abf 100644 --- a/board/egnite/ethernut5/ethernut5_pwrman.c +++ b/board/egnite/ethernut5/ethernut5_pwrman.c @@ -31,8 +31,8 @@ * For additional information visit the project home page at * http://www.ethernut.de/ */ +#include <common.h> #include <command.h> -#include <vsprintf.h> #include <asm/arch/at91sam9260.h> #include <asm/arch/at91_common.h> #include <asm/arch/gpio.h> diff --git a/board/elgin/elgin_rv1108/elgin_rv1108.c b/board/elgin/elgin_rv1108/elgin_rv1108.c index 9fea4f8..10398e7 100644 --- a/board/elgin/elgin_rv1108/elgin_rv1108.c +++ b/board/elgin/elgin_rv1108/elgin_rv1108.c @@ -4,6 +4,7 @@ * Authors: Andy Yan <andy.yan@rock-chips.com> */ +#include <common.h> #include <init.h> #include <syscon.h> #include <asm/global_data.h> diff --git a/board/embest/mx6boards/mx6boards.c b/board/embest/mx6boards/mx6boards.c index 8963501..a3c23bd 100644 --- a/board/embest/mx6boards/mx6boards.c +++ b/board/embest/mx6boards/mx6boards.c @@ -12,6 +12,7 @@ * Copyright (C) 2013 Jon Nettleton <jon.nettleton@gmail.com>. */ +#include <common.h> #include <init.h> #include <net.h> #include <asm/arch/clock.h> diff --git a/board/emulation/common/qemu_dfu.c b/board/emulation/common/qemu_dfu.c index 393fcae..7e7d84f 100644 --- a/board/emulation/common/qemu_dfu.c +++ b/board/emulation/common/qemu_dfu.c @@ -3,6 +3,7 @@ * Copyright (c) 2020 Linaro Limited */ +#include <common.h> #include <dfu.h> #include <env.h> #include <memalign.h> diff --git a/board/emulation/common/qemu_mtdparts.c b/board/emulation/common/qemu_mtdparts.c index c150127..60212e9 100644 --- a/board/emulation/common/qemu_mtdparts.c +++ b/board/emulation/common/qemu_mtdparts.c @@ -3,6 +3,7 @@ * Copyright (c) 2020 Linaro Limited */ +#include <common.h> #include <dm.h> #include <mtd.h> diff --git a/board/emulation/qemu-arm/qemu-arm.c b/board/emulation/qemu-arm/qemu-arm.c index 6095cb0..ecfd19f 100644 --- a/board/emulation/qemu-arm/qemu-arm.c +++ b/board/emulation/qemu-arm/qemu-arm.c @@ -3,7 +3,7 @@ * Copyright (c) 2017 Tuomas Tynkkynen */ -#include <config.h> +#include <common.h> #include <cpu_func.h> #include <dm.h> #include <efi.h> diff --git a/board/emulation/qemu-ppce500/qemu-ppce500.c b/board/emulation/qemu-ppce500/qemu-ppce500.c index 58e5d5e..2213616 100644 --- a/board/emulation/qemu-ppce500/qemu-ppce500.c +++ b/board/emulation/qemu-ppce500/qemu-ppce500.c @@ -4,7 +4,7 @@ * Copyright (C) 2021, Bin Meng <bmeng.cn@gmail.com> */ -#include <config.h> +#include <common.h> #include <command.h> #include <cpu_func.h> #include <dm.h> diff --git a/board/emulation/qemu-riscv/qemu-riscv.c b/board/emulation/qemu-riscv/qemu-riscv.c index e5193e3..173245b 100644 --- a/board/emulation/qemu-riscv/qemu-riscv.c +++ b/board/emulation/qemu-riscv/qemu-riscv.c @@ -3,6 +3,7 @@ * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com> */ +#include <common.h> #include <dm.h> #include <dm/ofnode.h> #include <env.h> diff --git a/board/engicam/common/board.c b/board/engicam/common/board.c index 8e0477c..df9149e 100644 --- a/board/engicam/common/board.c +++ b/board/engicam/common/board.c @@ -5,6 +5,7 @@ * Author: Jagan Teki <jagan@amarulasolutions.com> */ +#include <common.h> #include <command.h> #include <env.h> #include <hang.h> diff --git a/board/engicam/common/spl.c b/board/engicam/common/spl.c index 8bc80ee..f1ccdc3 100644 --- a/board/engicam/common/spl.c +++ b/board/engicam/common/spl.c @@ -5,6 +5,7 @@ * Author: Jagan Teki <jagan@amarulasolutions.com> */ +#include <common.h> #include <image.h> #include <init.h> #include <serial.h> diff --git a/board/engicam/imx6q/imx6q.c b/board/engicam/imx6q/imx6q.c index d799fe6..e6c888f 100644 --- a/board/engicam/imx6q/imx6q.c +++ b/board/engicam/imx6q/imx6q.c @@ -5,6 +5,7 @@ * Author: Jagan Teki <jagan@amarulasolutions.com> */ +#include <common.h> #include <asm/io.h> #include <asm/gpio.h> diff --git a/board/engicam/imx6ul/imx6ul.c b/board/engicam/imx6ul/imx6ul.c index 24d6544..412d6c3 100644 --- a/board/engicam/imx6ul/imx6ul.c +++ b/board/engicam/imx6ul/imx6ul.c @@ -5,6 +5,7 @@ * Author: Jagan Teki <jagan@amarulasolutions.com> */ +#include <common.h> #include <mmc.h> #include <asm/io.h> diff --git a/board/engicam/imx8mm/icore_mx8mm.c b/board/engicam/imx8mm/icore_mx8mm.c index 2363375..320388f 100644 --- a/board/engicam/imx8mm/icore_mx8mm.c +++ b/board/engicam/imx8mm/icore_mx8mm.c @@ -5,6 +5,7 @@ * Author: Jagan Teki <jagan@amarulasolutions.com> */ +#include <common.h> #include <miiphy.h> #include <netdev.h> diff --git a/board/engicam/imx8mm/lpddr4_timing.c b/board/engicam/imx8mm/lpddr4_timing.c index fcd45c1..8212127 100644 --- a/board/engicam/imx8mm/lpddr4_timing.c +++ b/board/engicam/imx8mm/lpddr4_timing.c @@ -6,6 +6,7 @@ * Align with uboot-imx_v2018.03_4.14.78_1.0.0_ga */ +#include <common.h> #include <asm/arch/ddr.h> #include <asm/arch/lpddr4_define.h> diff --git a/board/engicam/imx8mm/spl.c b/board/engicam/imx8mm/spl.c index d51ae24..af9044a 100644 --- a/board/engicam/imx8mm/spl.c +++ b/board/engicam/imx8mm/spl.c @@ -5,6 +5,7 @@ * Author: Jagan Teki <jagan@amarulasolutions.com> */ +#include <common.h> #include <hang.h> #include <init.h> #include <log.h> diff --git a/board/engicam/imx8mp/icore_mx8mp.c b/board/engicam/imx8mp/icore_mx8mp.c index e2ed70c..5f820cc 100644 --- a/board/engicam/imx8mp/icore_mx8mp.c +++ b/board/engicam/imx8mp/icore_mx8mp.c @@ -8,6 +8,7 @@ * Jagan Teki <jagan@amarulasolutions.com> */ +#include <common.h> #include <env.h> #include <errno.h> #include <init.h> diff --git a/board/engicam/imx8mp/spl.c b/board/engicam/imx8mp/spl.c index cd31aa6..36b83aa 100644 --- a/board/engicam/imx8mp/spl.c +++ b/board/engicam/imx8mp/spl.c @@ -8,6 +8,7 @@ * Jagan Teki <jagan@amarulasolutions.com> */ +#include <common.h> #include <hang.h> #include <init.h> #include <log.h> diff --git a/board/engicam/stm32mp1/spl.c b/board/engicam/stm32mp1/spl.c index bb2bd44..2b7779c 100644 --- a/board/engicam/stm32mp1/spl.c +++ b/board/engicam/stm32mp1/spl.c @@ -5,7 +5,7 @@ * Copyright (C) 2020 Amarula Solutions(India) */ -#include <linux/types.h> +#include <common.h> /* board early initialisation in board_f: need to use global variable */ static u32 opp_voltage_mv __section(".data"); diff --git a/board/engicam/stm32mp1/stm32mp1.c b/board/engicam/stm32mp1/stm32mp1.c index bc2af66..5223e9b 100644 --- a/board/engicam/stm32mp1/stm32mp1.c +++ b/board/engicam/stm32mp1/stm32mp1.c @@ -6,6 +6,7 @@ * Author: Jagan Teki <jagan@amarulasolutions.com> */ +#include <common.h> #include <env.h> #include <env_internal.h> #include <syscon.h> diff --git a/board/esd/meesc/meesc.c b/board/esd/meesc/meesc.c index dce69ab..9e36210 100644 --- a/board/esd/meesc/meesc.c +++ b/board/esd/meesc/meesc.c @@ -9,7 +9,7 @@ * esd electronic system design gmbh <www.esd.eu> */ -#include <config.h> +#include <common.h> #include <env.h> #include <init.h> #include <net.h> diff --git a/board/firefly/firefly-rk3288/firefly-rk3288.c b/board/firefly/firefly-rk3288/firefly-rk3288.c index 8e67ab4..95d8b00 100644 --- a/board/firefly/firefly-rk3288/firefly-rk3288.c +++ b/board/firefly/firefly-rk3288/firefly-rk3288.c @@ -3,6 +3,7 @@ * (C) Copyright 2015 Google, Inc */ +#include <common.h> #include <hang.h> #include <led.h> #include <log.h> diff --git a/board/firefly/firefly-rk3308/roc_cc_rk3308.c b/board/firefly/firefly-rk3308/roc_cc_rk3308.c index 404bdc6..af00250 100644 --- a/board/firefly/firefly-rk3308/roc_cc_rk3308.c +++ b/board/firefly/firefly-rk3308/roc_cc_rk3308.c @@ -3,6 +3,7 @@ * (C) Copyright 2019 Rockchip Electronics Co., Ltd */ +#include <common.h> #include <adc.h> #include <asm/arch-rockchip/grf_rk3308.h> #include <asm/arch-rockchip/hardware.h> diff --git a/board/firefly/roc-pc-rk3399/roc-pc-rk3399.c b/board/firefly/roc-pc-rk3399/roc-pc-rk3399.c index a149e4f..590519b 100644 --- a/board/firefly/roc-pc-rk3399/roc-pc-rk3399.c +++ b/board/firefly/roc-pc-rk3399/roc-pc-rk3399.c @@ -3,6 +3,7 @@ * (C) Copyright 2016 Rockchip Electronics Co., Ltd */ +#include <common.h> #include <dm.h> #include <env.h> #include <log.h> diff --git a/board/freescale/common/cadmus.c b/board/freescale/common/cadmus.c index 6f66ed6..e7e07ff 100644 --- a/board/freescale/common/cadmus.c +++ b/board/freescale/common/cadmus.c @@ -4,9 +4,8 @@ */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> -#include <linux/types.h> /* * CADMUS Board System Registers diff --git a/board/freescale/common/cds_pci_ft.c b/board/freescale/common/cds_pci_ft.c index 56b01e3..dc2d628 100644 --- a/board/freescale/common/cds_pci_ft.c +++ b/board/freescale/common/cds_pci_ft.c @@ -3,6 +3,7 @@ * Copyright 2004 Freescale Semiconductor. */ +#include <common.h> #include <linux/libfdt.h> #include <fdt_support.h> #include "cadmus.h" diff --git a/board/freescale/common/cds_via.c b/board/freescale/common/cds_via.c index 6fc3a21..6184472 100644 --- a/board/freescale/common/cds_via.c +++ b/board/freescale/common/cds_via.c @@ -3,6 +3,7 @@ * Copyright 2006 Freescale Semiconductor. */ +#include <common.h> #include <pci.h> /* Config the VIA chip */ diff --git a/board/freescale/common/cmd_esbc_validate.c b/board/freescale/common/cmd_esbc_validate.c index d4192e5..6c09626 100644 --- a/board/freescale/common/cmd_esbc_validate.c +++ b/board/freescale/common/cmd_esbc_validate.c @@ -3,10 +3,10 @@ * Copyright 2015 Freescale Semiconductor, Inc. */ +#include <common.h> #include <command.h> #include <env.h> #include <fsl_validate.h> -#include <vsprintf.h> int do_esbc_halt(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) diff --git a/board/freescale/common/emc2305.c b/board/freescale/common/emc2305.c index 50252bb..9a75c5a 100644 --- a/board/freescale/common/emc2305.c +++ b/board/freescale/common/emc2305.c @@ -4,6 +4,7 @@ * */ +#include <common.h> #include <command.h> #include <i2c.h> #include <asm/global_data.h> diff --git a/board/freescale/common/fman.c b/board/freescale/common/fman.c index 650ecc7..3583031 100644 --- a/board/freescale/common/fman.c +++ b/board/freescale/common/fman.c @@ -3,6 +3,7 @@ * Copyright 2011-2015 Freescale Semiconductor, Inc. */ +#include <common.h> #include <linux/libfdt.h> #include <linux/libfdt_env.h> #include <fdt_support.h> diff --git a/board/freescale/common/fsl_chain_of_trust.c b/board/freescale/common/fsl_chain_of_trust.c index 27a3392..87ed814 100644 --- a/board/freescale/common/fsl_chain_of_trust.c +++ b/board/freescale/common/fsl_chain_of_trust.c @@ -4,7 +4,7 @@ * Copyright 2022 NXP */ -#include <config.h> +#include <common.h> #include <dm.h> #include <env.h> #include <init.h> diff --git a/board/freescale/common/fsl_validate.c b/board/freescale/common/fsl_validate.c index e03434d..bfe6357 100644 --- a/board/freescale/common/fsl_validate.c +++ b/board/freescale/common/fsl_validate.c @@ -4,7 +4,7 @@ * Copyright 2021-2022 NXP */ -#include <config.h> +#include <common.h> #include <dm.h> #include <fsl_validate.h> #include <fsl_secboot_err.h> diff --git a/board/freescale/common/i2c_common.c b/board/freescale/common/i2c_common.c index 20705ec..119ed3c 100644 --- a/board/freescale/common/i2c_common.c +++ b/board/freescale/common/i2c_common.c @@ -5,7 +5,7 @@ * Copyright 2021 Microsoft Corporation */ -#include <stdio.h> +#include <common.h> #include <i2c.h> #include "i2c_common.h" diff --git a/board/freescale/common/i2c_mux.c b/board/freescale/common/i2c_mux.c index 89151cc..d40b34f 100644 --- a/board/freescale/common/i2c_mux.c +++ b/board/freescale/common/i2c_mux.c @@ -5,9 +5,8 @@ * Copyright 2021 Microsoft Corporation */ -#include <config.h> +#include <common.h> #include <i2c.h> -#include <stdio.h> #include "i2c_common.h" #include "i2c_mux.h" diff --git a/board/freescale/common/ics307_clk.c b/board/freescale/common/ics307_clk.c index af30faa..5f95571 100644 --- a/board/freescale/common/ics307_clk.c +++ b/board/freescale/common/ics307_clk.c @@ -3,7 +3,7 @@ * Copyright 2010-2011 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <log.h> #include <asm/io.h> diff --git a/board/freescale/common/ls102xa_stream_id.c b/board/freescale/common/ls102xa_stream_id.c index bf76274..f754cf4 100644 --- a/board/freescale/common/ls102xa_stream_id.c +++ b/board/freescale/common/ls102xa_stream_id.c @@ -3,7 +3,7 @@ * Copyright 2014 Freescale Semiconductor */ -#include <config.h> +#include <common.h> #include <asm/io.h> #include <asm/arch/ls102xa_stream_id.h> diff --git a/board/freescale/common/mc34vr500.c b/board/freescale/common/mc34vr500.c index cf14b29..d6b4c65 100644 --- a/board/freescale/common/mc34vr500.c +++ b/board/freescale/common/mc34vr500.c @@ -4,6 +4,7 @@ * Hou Zhiqiang <Zhiqiang.Hou@freescale.com> */ +#include <common.h> #include <errno.h> #include <i2c.h> #include <log.h> diff --git a/board/freescale/common/mmc.c b/board/freescale/common/mmc.c index 00e4f36..8cd5079 100644 --- a/board/freescale/common/mmc.c +++ b/board/freescale/common/mmc.c @@ -4,8 +4,8 @@ * Copyright 2018-2022 NXP */ +#include <common.h> #include <command.h> -#include <vsprintf.h> #include <asm/arch/sys_proto.h> #include <linux/errno.h> #include <asm/io.h> diff --git a/board/freescale/common/ngpixis.c b/board/freescale/common/ngpixis.c index 74c3458..7be1cce 100644 --- a/board/freescale/common/ngpixis.c +++ b/board/freescale/common/ngpixis.c @@ -29,6 +29,7 @@ * boot from the alternate bank. */ +#include <common.h> #include <command.h> #include <asm/io.h> diff --git a/board/freescale/common/ns_access.c b/board/freescale/common/ns_access.c index c46e87f..a95d15c 100644 --- a/board/freescale/common/ns_access.c +++ b/board/freescale/common/ns_access.c @@ -3,7 +3,7 @@ * Copyright 2014 Freescale Semiconductor */ -#include <config.h> +#include <common.h> #include <log.h> #include <asm/cache.h> #include <asm/io.h> diff --git a/board/freescale/common/p_corenet/law.c b/board/freescale/common/p_corenet/law.c index 83818d6..1a1e934 100644 --- a/board/freescale/common/p_corenet/law.c +++ b/board/freescale/common/p_corenet/law.c @@ -6,7 +6,7 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <config.h> +#include <common.h> #include <asm/fsl_law.h> #include <asm/mmu.h> diff --git a/board/freescale/common/p_corenet/tlb.c b/board/freescale/common/p_corenet/tlb.c index cebdedf..1a2d9cb 100644 --- a/board/freescale/common/p_corenet/tlb.c +++ b/board/freescale/common/p_corenet/tlb.c @@ -6,9 +6,8 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <config.h> +#include <common.h> #include <asm/mmu.h> -#include <asm/ppc.h> struct fsl_e_tlb_entry tlb_table[] = { /* TLB 0 - for temp stack in cache */ diff --git a/board/freescale/common/pfuze.c b/board/freescale/common/pfuze.c index 0d7a94f..a928882 100644 --- a/board/freescale/common/pfuze.c +++ b/board/freescale/common/pfuze.c @@ -3,6 +3,7 @@ * Copyright 2014 Freescale Semiconductor, Inc. */ +#include <common.h> #include <errno.h> #include <power/pmic.h> #include <power/pfuze100_pmic.h> diff --git a/board/freescale/common/qixis.c b/board/freescale/common/qixis.c index 6400ac0..da2c1de 100644 --- a/board/freescale/common/qixis.c +++ b/board/freescale/common/qixis.c @@ -7,7 +7,7 @@ * This file provides support for the QIXIS of some Freescale reference boards. */ -#include <config.h> +#include <common.h> #include <command.h> #include <asm/io.h> #include <linux/compiler.h> diff --git a/board/freescale/common/sdhc_boot.c b/board/freescale/common/sdhc_boot.c index 5ee730c..a1c7a94 100644 --- a/board/freescale/common/sdhc_boot.c +++ b/board/freescale/common/sdhc_boot.c @@ -3,6 +3,7 @@ * Copyright 2011 Freescale Semiconductor, Inc. */ +#include <common.h> #include <mmc.h> #include <malloc.h> diff --git a/board/freescale/common/sys_eeprom.c b/board/freescale/common/sys_eeprom.c index ec3c9e3..64139d4 100644 --- a/board/freescale/common/sys_eeprom.c +++ b/board/freescale/common/sys_eeprom.c @@ -6,6 +6,7 @@ * Timur Tabi (timur@freescale.com) */ +#include <common.h> #include <command.h> #include <env.h> #include <i2c.h> diff --git a/board/freescale/common/vid.c b/board/freescale/common/vid.c index 84cb43f..fc5d400 100644 --- a/board/freescale/common/vid.c +++ b/board/freescale/common/vid.c @@ -5,13 +5,12 @@ * Copyright 2020 Stephen Carlson <stcarlso@linux.microsoft.com> */ -#include <config.h> +#include <common.h> #include <command.h> #include <env.h> #include <i2c.h> #include <irq_func.h> #include <log.h> -#include <vsprintf.h> #include <asm/io.h> #ifdef CONFIG_FSL_LSCH2 #include <asm/arch/immap_lsch2.h> diff --git a/board/freescale/imx8mm_evk/imx8mm_evk.c b/board/freescale/imx8mm_evk/imx8mm_evk.c index 4c4436a..e0975fc 100644 --- a/board/freescale/imx8mm_evk/imx8mm_evk.c +++ b/board/freescale/imx8mm_evk/imx8mm_evk.c @@ -3,6 +3,7 @@ * Copyright 2018 NXP */ +#include <common.h> #include <env.h> #include <init.h> #include <miiphy.h> diff --git a/board/freescale/imx8mm_evk/spl.c b/board/freescale/imx8mm_evk/spl.c index cd251d2..3543781 100644 --- a/board/freescale/imx8mm_evk/spl.c +++ b/board/freescale/imx8mm_evk/spl.c @@ -3,6 +3,7 @@ * Copyright 2019, 2021 NXP */ +#include <common.h> #include <command.h> #include <cpu_func.h> #include <hang.h> diff --git a/board/freescale/imx8mn_evk/imx8mn_evk.c b/board/freescale/imx8mn_evk/imx8mn_evk.c index 6b6fb0a..e35d505 100644 --- a/board/freescale/imx8mn_evk/imx8mn_evk.c +++ b/board/freescale/imx8mn_evk/imx8mn_evk.c @@ -3,6 +3,7 @@ * Copyright 2019 NXP */ +#include <common.h> #include <env.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/freescale/imx8mn_evk/spl.c b/board/freescale/imx8mn_evk/spl.c index 231b928..dd54fa9 100644 --- a/board/freescale/imx8mn_evk/spl.c +++ b/board/freescale/imx8mn_evk/spl.c @@ -4,6 +4,7 @@ * */ +#include <common.h> #include <command.h> #include <cpu_func.h> #include <hang.h> diff --git a/board/freescale/imx8mp_evk/spl.c b/board/freescale/imx8mp_evk/spl.c index 12da1b2..9dd2cbc 100644 --- a/board/freescale/imx8mp_evk/spl.c +++ b/board/freescale/imx8mp_evk/spl.c @@ -4,6 +4,7 @@ * */ +#include <common.h> #include <hang.h> #include <init.h> #include <log.h> diff --git a/board/freescale/imx8mq_evk/imx8mq_evk.c b/board/freescale/imx8mq_evk/imx8mq_evk.c index ab920a4..e577e4d 100644 --- a/board/freescale/imx8mq_evk/imx8mq_evk.c +++ b/board/freescale/imx8mq_evk/imx8mq_evk.c @@ -3,6 +3,7 @@ * Copyright 2018 NXP */ +#include <common.h> #include <env.h> #include <init.h> #include <malloc.h> diff --git a/board/freescale/imx8mq_evk/lpddr4_timing.c b/board/freescale/imx8mq_evk/lpddr4_timing.c index e9559e3..46bc7f8 100644 --- a/board/freescale/imx8mq_evk/lpddr4_timing.c +++ b/board/freescale/imx8mq_evk/lpddr4_timing.c @@ -4,6 +4,7 @@ */ #include <linux/kernel.h> +#include <common.h> #include <asm/arch/ddr.h> #include <asm/arch/lpddr4_define.h> diff --git a/board/freescale/imx8mq_evk/lpddr4_timing_b0.c b/board/freescale/imx8mq_evk/lpddr4_timing_b0.c index 5d8f280..ec68eda 100644 --- a/board/freescale/imx8mq_evk/lpddr4_timing_b0.c +++ b/board/freescale/imx8mq_evk/lpddr4_timing_b0.c @@ -4,6 +4,7 @@ */ #include <linux/kernel.h> +#include <common.h> #include <asm/arch/ddr.h> #include <asm/arch/lpddr4_define.h> diff --git a/board/freescale/imx8mq_evk/spl.c b/board/freescale/imx8mq_evk/spl.c index a346305..818cdd6 100644 --- a/board/freescale/imx8mq_evk/spl.c +++ b/board/freescale/imx8mq_evk/spl.c @@ -4,7 +4,7 @@ * */ -#include <config.h> +#include <common.h> #include <hang.h> #include <image.h> #include <init.h> diff --git a/board/freescale/imx8qm_mek/imx8qm_mek.c b/board/freescale/imx8qm_mek/imx8qm_mek.c index 72527f7..2b209c8 100644 --- a/board/freescale/imx8qm_mek/imx8qm_mek.c +++ b/board/freescale/imx8qm_mek/imx8qm_mek.c @@ -3,6 +3,7 @@ * Copyright 2018 NXP */ +#include <common.h> #include <cpu_func.h> #include <env.h> #include <errno.h> diff --git a/board/freescale/imx8qm_mek/spl.c b/board/freescale/imx8qm_mek/spl.c index ad78683..17fd437 100644 --- a/board/freescale/imx8qm_mek/spl.c +++ b/board/freescale/imx8qm_mek/spl.c @@ -4,6 +4,7 @@ * */ +#include <common.h> #include <dm.h> #include <image.h> #include <init.h> diff --git a/board/freescale/imx8qxp_mek/imx8qxp_mek.c b/board/freescale/imx8qxp_mek/imx8qxp_mek.c index adb9556..833bee5 100644 --- a/board/freescale/imx8qxp_mek/imx8qxp_mek.c +++ b/board/freescale/imx8qxp_mek/imx8qxp_mek.c @@ -3,6 +3,7 @@ * Copyright 2018 NXP */ +#include <common.h> #include <cpu_func.h> #include <env.h> #include <errno.h> diff --git a/board/freescale/imx8qxp_mek/spl.c b/board/freescale/imx8qxp_mek/spl.c index 05e3c0a..462c43c 100644 --- a/board/freescale/imx8qxp_mek/spl.c +++ b/board/freescale/imx8qxp_mek/spl.c @@ -4,6 +4,7 @@ * */ +#include <common.h> #include <dm.h> #include <image.h> #include <init.h> diff --git a/board/freescale/imx8ulp_evk/imx8ulp_evk.c b/board/freescale/imx8ulp_evk/imx8ulp_evk.c index 0af6106..dd04d59 100644 --- a/board/freescale/imx8ulp_evk/imx8ulp_evk.c +++ b/board/freescale/imx8ulp_evk/imx8ulp_evk.c @@ -3,6 +3,7 @@ * Copyright 2020 NXP */ +#include <common.h> #include <miiphy.h> #include <netdev.h> #include <asm/arch/imx8ulp-pins.h> diff --git a/board/freescale/imx8ulp_evk/spl.c b/board/freescale/imx8ulp_evk/spl.c index d123b21..c49b5be 100644 --- a/board/freescale/imx8ulp_evk/spl.c +++ b/board/freescale/imx8ulp_evk/spl.c @@ -3,6 +3,7 @@ * Copyright 2021 NXP */ +#include <common.h> #include <init.h> #include <spl.h> #include <asm/io.h> diff --git a/board/freescale/imx93_evk/imx93_evk.c b/board/freescale/imx93_evk/imx93_evk.c index 341831a..c54dc9d 100644 --- a/board/freescale/imx93_evk/imx93_evk.c +++ b/board/freescale/imx93_evk/imx93_evk.c @@ -3,6 +3,7 @@ * Copyright 2022 NXP */ +#include <common.h> #include <env.h> #include <init.h> #include <miiphy.h> diff --git a/board/freescale/imx93_evk/spl.c b/board/freescale/imx93_evk/spl.c index e580713..6d5e110 100644 --- a/board/freescale/imx93_evk/spl.c +++ b/board/freescale/imx93_evk/spl.c @@ -3,6 +3,7 @@ * Copyright 2022 NXP */ +#include <common.h> #include <command.h> #include <cpu_func.h> #include <hang.h> diff --git a/board/freescale/imxrt1020-evk/imxrt1020-evk.c b/board/freescale/imxrt1020-evk/imxrt1020-evk.c index 42a0a67..785da60 100644 --- a/board/freescale/imxrt1020-evk/imxrt1020-evk.c +++ b/board/freescale/imxrt1020-evk/imxrt1020-evk.c @@ -4,6 +4,7 @@ * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com> */ +#include <common.h> #include <dm.h> #include <init.h> #include <log.h> diff --git a/board/freescale/imxrt1050-evk/imxrt1050-evk.c b/board/freescale/imxrt1050-evk/imxrt1050-evk.c index 46a6449..4cc3def 100644 --- a/board/freescale/imxrt1050-evk/imxrt1050-evk.c +++ b/board/freescale/imxrt1050-evk/imxrt1050-evk.c @@ -4,6 +4,7 @@ * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com> */ +#include <common.h> #include <dm.h> #include <init.h> #include <log.h> diff --git a/board/freescale/imxrt1170-evk/imxrt1170-evk.c b/board/freescale/imxrt1170-evk/imxrt1170-evk.c index e10b883..4b82ee5 100644 --- a/board/freescale/imxrt1170-evk/imxrt1170-evk.c +++ b/board/freescale/imxrt1170-evk/imxrt1170-evk.c @@ -4,6 +4,7 @@ * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com> */ +#include <common.h> #include <dm.h> #include <init.h> #include <log.h> diff --git a/board/freescale/ls1012afrdm/eth.c b/board/freescale/ls1012afrdm/eth.c index c431e5e..d2df935 100644 --- a/board/freescale/ls1012afrdm/eth.c +++ b/board/freescale/ls1012afrdm/eth.c @@ -4,6 +4,7 @@ * Copyright 2017 NXP */ +#include <common.h> #include <dm.h> #include <net.h> #include <asm/io.h> diff --git a/board/freescale/ls1012afrdm/ls1012afrdm.c b/board/freescale/ls1012afrdm/ls1012afrdm.c index dae2cf0..271072b 100644 --- a/board/freescale/ls1012afrdm/ls1012afrdm.c +++ b/board/freescale/ls1012afrdm/ls1012afrdm.c @@ -3,7 +3,7 @@ * Copyright 2017-2018, 2021 NXP */ -#include <config.h> +#include <common.h> #include <fdt_support.h> #include <i2c.h> #include <asm/cache.h> diff --git a/board/freescale/ls1012aqds/eth.c b/board/freescale/ls1012aqds/eth.c index d5e87c5..38267ac 100644 --- a/board/freescale/ls1012aqds/eth.c +++ b/board/freescale/ls1012aqds/eth.c @@ -4,7 +4,7 @@ * Copyright 2017 NXP */ -#include <config.h> +#include <common.h> #include <dm.h> #include <asm/io.h> #include <netdev.h> diff --git a/board/freescale/ls1012aqds/ls1012aqds.c b/board/freescale/ls1012aqds/ls1012aqds.c index 7d56eb0..a5ea8d6 100644 --- a/board/freescale/ls1012aqds/ls1012aqds.c +++ b/board/freescale/ls1012aqds/ls1012aqds.c @@ -4,7 +4,7 @@ * Copyright 2021 NXP */ -#include <config.h> +#include <common.h> #include <i2c.h> #include <fdt_support.h> #include <asm/cache.h> diff --git a/board/freescale/ls1012ardb/eth.c b/board/freescale/ls1012ardb/eth.c index 71cb298..5c66127 100644 --- a/board/freescale/ls1012ardb/eth.c +++ b/board/freescale/ls1012ardb/eth.c @@ -4,7 +4,7 @@ * Copyright 2017 NXP */ -#include <config.h> +#include <common.h> #include <dm.h> #include <net.h> #include <asm/io.h> diff --git a/board/freescale/ls1012ardb/ls1012ardb.c b/board/freescale/ls1012ardb/ls1012ardb.c index 7f8001b..18f9208 100644 --- a/board/freescale/ls1012ardb/ls1012ardb.c +++ b/board/freescale/ls1012ardb/ls1012ardb.c @@ -4,7 +4,7 @@ * Copyright 2021 NXP */ -#include <config.h> +#include <common.h> #include <command.h> #include <fdt_support.h> #include <hang.h> diff --git a/board/freescale/ls1021aiot/ls1021aiot.c b/board/freescale/ls1021aiot/ls1021aiot.c index 7abc412..d6f22bd 100644 --- a/board/freescale/ls1021aiot/ls1021aiot.c +++ b/board/freescale/ls1021aiot/ls1021aiot.c @@ -4,7 +4,7 @@ * Copyright 2021 NXP */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <fdt_support.h> #include <init.h> diff --git a/board/freescale/ls1021aqds/ddr.c b/board/freescale/ls1021aqds/ddr.c index 5b0f236..4e70acc 100644 --- a/board/freescale/ls1021aqds/ddr.c +++ b/board/freescale/ls1021aqds/ddr.c @@ -3,7 +3,7 @@ * Copyright 2014 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> #include <init.h> diff --git a/board/freescale/ls1028a/ddr.c b/board/freescale/ls1028a/ddr.c index c406f24..3e976da 100644 --- a/board/freescale/ls1028a/ddr.c +++ b/board/freescale/ls1028a/ddr.c @@ -3,6 +3,7 @@ * Copyright 2019 NXP */ +#include <common.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> #include <asm/global_data.h> diff --git a/board/freescale/ls1028a/ls1028a.c b/board/freescale/ls1028a/ls1028a.c index e01b5a8..7f181ab 100644 --- a/board/freescale/ls1028a/ls1028a.c +++ b/board/freescale/ls1028a/ls1028a.c @@ -3,7 +3,7 @@ * Copyright 2019-2022 NXP */ -#include <config.h> +#include <common.h> #include <display_options.h> #include <init.h> #include <malloc.h> diff --git a/board/freescale/ls1043aqds/ddr.c b/board/freescale/ls1043aqds/ddr.c index 2a9717d..23947bd 100644 --- a/board/freescale/ls1043aqds/ddr.c +++ b/board/freescale/ls1043aqds/ddr.c @@ -3,6 +3,7 @@ * Copyright 2015 Freescale Semiconductor, Inc. */ +#include <common.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> #ifdef CONFIG_FSL_DEEP_SLEEP diff --git a/board/freescale/ls1043aqds/eth.c b/board/freescale/ls1043aqds/eth.c index 5a8ca27..cd1f83e 100644 --- a/board/freescale/ls1043aqds/eth.c +++ b/board/freescale/ls1043aqds/eth.c @@ -4,7 +4,7 @@ * Copyright 2019 NXP */ -#include <config.h> +#include <common.h> #include <log.h> #include <net.h> #include <asm/io.h> diff --git a/board/freescale/ls1043aqds/ls1043aqds.c b/board/freescale/ls1043aqds/ls1043aqds.c index fdf011e..b87da41 100644 --- a/board/freescale/ls1043aqds/ls1043aqds.c +++ b/board/freescale/ls1043aqds/ls1043aqds.c @@ -4,7 +4,7 @@ * Copyright 2019-2020 NXP */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <i2c.h> #include <fdt_support.h> diff --git a/board/freescale/ls1043ardb/cpld.c b/board/freescale/ls1043ardb/cpld.c index bda2f3a..9db3aa5 100644 --- a/board/freescale/ls1043ardb/cpld.c +++ b/board/freescale/ls1043ardb/cpld.c @@ -5,7 +5,7 @@ * Freescale LS1043ARDB board-specific CPLD controlling supports. */ -#include <config.h> +#include <common.h> #include <command.h> #include <asm/io.h> #include "cpld.h" diff --git a/board/freescale/ls1043ardb/ddr.c b/board/freescale/ls1043ardb/ddr.c index 187925e..4d2fce3 100644 --- a/board/freescale/ls1043ardb/ddr.c +++ b/board/freescale/ls1043ardb/ddr.c @@ -3,6 +3,7 @@ * Copyright 2015 Freescale Semiconductor, Inc. */ +#include <common.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> #include <asm/global_data.h> diff --git a/board/freescale/ls1043ardb/eth.c b/board/freescale/ls1043ardb/eth.c index cacc49c..cc95214 100644 --- a/board/freescale/ls1043ardb/eth.c +++ b/board/freescale/ls1043ardb/eth.c @@ -2,7 +2,7 @@ /* * Copyright 2015 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <net.h> #include <asm/io.h> #include <netdev.h> diff --git a/board/freescale/ls1046afrwy/ddr.c b/board/freescale/ls1046afrwy/ddr.c index b08caee..256397b 100644 --- a/board/freescale/ls1046afrwy/ddr.c +++ b/board/freescale/ls1046afrwy/ddr.c @@ -3,6 +3,7 @@ * Copyright 2019 NXP */ +#include <common.h> #include <fsl_ddr_sdram.h> #include <asm/global_data.h> diff --git a/board/freescale/ls1046afrwy/eth.c b/board/freescale/ls1046afrwy/eth.c index 8efc7f6..d1a2bfe 100644 --- a/board/freescale/ls1046afrwy/eth.c +++ b/board/freescale/ls1046afrwy/eth.c @@ -2,7 +2,7 @@ /* * Copyright 2019 NXP */ -#include <config.h> +#include <common.h> #include <fdt_support.h> #include <net.h> #include <asm/io.h> diff --git a/board/freescale/ls1046afrwy/ls1046afrwy.c b/board/freescale/ls1046afrwy/ls1046afrwy.c index 8889c24..899c22a 100644 --- a/board/freescale/ls1046afrwy/ls1046afrwy.c +++ b/board/freescale/ls1046afrwy/ls1046afrwy.c @@ -3,7 +3,7 @@ * Copyright 2019, 2021 NXP */ -#include <config.h> +#include <common.h> #include <i2c.h> #include <fdt_support.h> #include <init.h> diff --git a/board/freescale/ls1046aqds/ddr.c b/board/freescale/ls1046aqds/ddr.c index ac1b604..9a96de2 100644 --- a/board/freescale/ls1046aqds/ddr.c +++ b/board/freescale/ls1046aqds/ddr.c @@ -3,6 +3,7 @@ * Copyright 2016 Freescale Semiconductor, Inc. */ +#include <common.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> #ifdef CONFIG_FSL_DEEP_SLEEP diff --git a/board/freescale/ls1046aqds/eth.c b/board/freescale/ls1046aqds/eth.c index cd3500c..bbf8b8c 100644 --- a/board/freescale/ls1046aqds/eth.c +++ b/board/freescale/ls1046aqds/eth.c @@ -4,7 +4,7 @@ * Copyright 2018-2020 NXP */ -#include <config.h> +#include <common.h> #include <log.h> #include <net.h> #include <asm/io.h> diff --git a/board/freescale/ls1046aqds/ls1046aqds.c b/board/freescale/ls1046aqds/ls1046aqds.c index a83b217..2faac54 100644 --- a/board/freescale/ls1046aqds/ls1046aqds.c +++ b/board/freescale/ls1046aqds/ls1046aqds.c @@ -4,7 +4,7 @@ * Copyright 2019-2021 NXP */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <i2c.h> #include <fdt_support.h> diff --git a/board/freescale/ls1046ardb/cpld.c b/board/freescale/ls1046ardb/cpld.c index 7f8ca2e..ee19d4f 100644 --- a/board/freescale/ls1046ardb/cpld.c +++ b/board/freescale/ls1046ardb/cpld.c @@ -5,7 +5,7 @@ * Freescale LS1046ARDB board-specific CPLD controlling supports. */ -#include <config.h> +#include <common.h> #include <command.h> #include <asm/io.h> #include "cpld.h" diff --git a/board/freescale/ls1046ardb/ddr.c b/board/freescale/ls1046ardb/ddr.c index 6835302..befb556 100644 --- a/board/freescale/ls1046ardb/ddr.c +++ b/board/freescale/ls1046ardb/ddr.c @@ -3,6 +3,7 @@ * Copyright 2016 Freescale Semiconductor, Inc. */ +#include <common.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> #include <asm/global_data.h> diff --git a/board/freescale/ls1046ardb/eth.c b/board/freescale/ls1046ardb/eth.c index fee8e0e..bbc22a3 100644 --- a/board/freescale/ls1046ardb/eth.c +++ b/board/freescale/ls1046ardb/eth.c @@ -2,7 +2,7 @@ /* * Copyright 2016 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <fdt_support.h> #include <net.h> #include <asm/io.h> diff --git a/board/freescale/ls1046ardb/ls1046ardb.c b/board/freescale/ls1046ardb/ls1046ardb.c index 0492f0a..26e69db 100644 --- a/board/freescale/ls1046ardb/ls1046ardb.c +++ b/board/freescale/ls1046ardb/ls1046ardb.c @@ -4,7 +4,7 @@ * Copyright 2021 NXP */ -#include <config.h> +#include <common.h> #include <i2c.h> #include <fdt_support.h> #include <init.h> diff --git a/board/freescale/ls1088a/ddr.c b/board/freescale/ls1088a/ddr.c index d2e239c..9e0941c 100644 --- a/board/freescale/ls1088a/ddr.c +++ b/board/freescale/ls1088a/ddr.c @@ -3,6 +3,7 @@ * Copyright 2017 NXP */ +#include <common.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> #include <log.h> diff --git a/board/freescale/ls1088a/ls1088a.c b/board/freescale/ls1088a/ls1088a.c index 58951f2..98a91c4 100644 --- a/board/freescale/ls1088a/ls1088a.c +++ b/board/freescale/ls1088a/ls1088a.c @@ -2,7 +2,7 @@ /* * Copyright 2017-2022 NXP */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <display_options.h> #include <env.h> diff --git a/board/freescale/ls2080aqds/ddr.c b/board/freescale/ls2080aqds/ddr.c index 2986ffb..2767d05 100644 --- a/board/freescale/ls2080aqds/ddr.c +++ b/board/freescale/ls2080aqds/ddr.c @@ -3,6 +3,7 @@ * Copyright 2015 Freescale Semiconductor, Inc. */ +#include <common.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> #include <log.h> diff --git a/board/freescale/ls2080aqds/ls2080aqds.c b/board/freescale/ls2080aqds/ls2080aqds.c index 4c8d070..5c94c83 100644 --- a/board/freescale/ls2080aqds/ls2080aqds.c +++ b/board/freescale/ls2080aqds/ls2080aqds.c @@ -3,7 +3,7 @@ * Copyright 2015 Freescale Semiconductor * Copyright 2021 NXP */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <display_options.h> #include <env.h> diff --git a/board/freescale/ls2080ardb/ddr.c b/board/freescale/ls2080ardb/ddr.c index ec34b42..07fa847 100644 --- a/board/freescale/ls2080ardb/ddr.c +++ b/board/freescale/ls2080ardb/ddr.c @@ -3,6 +3,7 @@ * Copyright 2015 Freescale Semiconductor, Inc. */ +#include <common.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> #include <log.h> diff --git a/board/freescale/ls2080ardb/ls2080ardb.c b/board/freescale/ls2080ardb/ls2080ardb.c index 6f824f5..5c30de8 100644 --- a/board/freescale/ls2080ardb/ls2080ardb.c +++ b/board/freescale/ls2080ardb/ls2080ardb.c @@ -3,7 +3,7 @@ * Copyright 2015 Freescale Semiconductor * Copyright 2017, 2021 NXP */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <display_options.h> #include <env.h> diff --git a/board/freescale/lx2160a/ddr.c b/board/freescale/lx2160a/ddr.c index 637e43a..7ab7a9e 100644 --- a/board/freescale/lx2160a/ddr.c +++ b/board/freescale/lx2160a/ddr.c @@ -3,6 +3,7 @@ * Copyright 2018 NXP */ +#include <common.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> #include <asm/global_data.h> diff --git a/board/freescale/lx2160a/eth_lx2160ardb.c b/board/freescale/lx2160a/eth_lx2160ardb.c index 90e7c91..c5dfefe 100644 --- a/board/freescale/lx2160a/eth_lx2160ardb.c +++ b/board/freescale/lx2160a/eth_lx2160ardb.c @@ -4,6 +4,7 @@ * */ +#include <common.h> #include <netdev.h> #include <exports.h> #include <fsl-mc/fsl_mc.h> diff --git a/board/freescale/lx2160a/lx2160a.c b/board/freescale/lx2160a/lx2160a.c index 3aa984d..b3187a1 100644 --- a/board/freescale/lx2160a/lx2160a.c +++ b/board/freescale/lx2160a/lx2160a.c @@ -3,7 +3,7 @@ * Copyright 2018-2021 NXP */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <display_options.h> #include <dm.h> diff --git a/board/freescale/m5208evbe/m5208evbe.c b/board/freescale/m5208evbe/m5208evbe.c index b202b80..6125c9e 100644 --- a/board/freescale/m5208evbe/m5208evbe.c +++ b/board/freescale/m5208evbe/m5208evbe.c @@ -8,6 +8,7 @@ */ #include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/immap.h> diff --git a/board/freescale/m5235evb/m5235evb.c b/board/freescale/m5235evb/m5235evb.c index 65cde56..44161a0 100644 --- a/board/freescale/m5235evb/m5235evb.c +++ b/board/freescale/m5235evb/m5235evb.c @@ -8,6 +8,7 @@ */ #include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/immap.h> diff --git a/board/freescale/m5249evb/m5249evb.c b/board/freescale/m5249evb/m5249evb.c index 717dc08..d67db24 100644 --- a/board/freescale/m5249evb/m5249evb.c +++ b/board/freescale/m5249evb/m5249evb.c @@ -4,7 +4,7 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <config.h> +#include <common.h> #include <command.h> #include <init.h> #include <malloc.h> diff --git a/board/freescale/m5253demo/flash.c b/board/freescale/m5253demo/flash.c index 334518a..eeb9cfd 100644 --- a/board/freescale/m5253demo/flash.c +++ b/board/freescale/m5253demo/flash.c @@ -7,11 +7,10 @@ * TsiChung Liew (Tsi-Chung.Liew@freescale.com) */ -#include <config.h> +#include <common.h> #include <flash.h> #include <init.h> #include <irq_func.h> -#include <time.h> #include <asm/immap.h> diff --git a/board/freescale/m5253demo/m5253demo.c b/board/freescale/m5253demo/m5253demo.c index d0b01f8..c1cff52 100644 --- a/board/freescale/m5253demo/m5253demo.c +++ b/board/freescale/m5253demo/m5253demo.c @@ -7,7 +7,7 @@ * Hayden Fraser (Hayden.Fraser@freescale.com) */ -#include <config.h> +#include <common.h> #include <init.h> #include <net.h> #include <asm/global_data.h> diff --git a/board/freescale/m5272c3/m5272c3.c b/board/freescale/m5272c3/m5272c3.c index d1286ba..3c20a23 100644 --- a/board/freescale/m5272c3/m5272c3.c +++ b/board/freescale/m5272c3/m5272c3.c @@ -6,7 +6,7 @@ * Copyright (C) 2012 Freescale Semiconductor, Inc. All Rights Reserved. */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/immap.h> diff --git a/board/freescale/m5275evb/m5275evb.c b/board/freescale/m5275evb/m5275evb.c index e1d94fc..00fa35c 100644 --- a/board/freescale/m5275evb/m5275evb.c +++ b/board/freescale/m5275evb/m5275evb.c @@ -8,7 +8,7 @@ * Copyright (C) 2012 Freescale Semiconductor, Inc. All Rights Reserved. */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/immap.h> diff --git a/board/freescale/m5282evb/m5282evb.c b/board/freescale/m5282evb/m5282evb.c index 81da6e2..53e0f20 100644 --- a/board/freescale/m5282evb/m5282evb.c +++ b/board/freescale/m5282evb/m5282evb.c @@ -4,7 +4,7 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/immap.h> diff --git a/board/freescale/m53017evb/m53017evb.c b/board/freescale/m53017evb/m53017evb.c index 196d56d..76ebc0a 100644 --- a/board/freescale/m53017evb/m53017evb.c +++ b/board/freescale/m53017evb/m53017evb.c @@ -8,6 +8,7 @@ */ #include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/immap.h> diff --git a/board/freescale/m5329evb/m5329evb.c b/board/freescale/m5329evb/m5329evb.c index 26d5f3b..b278dbf 100644 --- a/board/freescale/m5329evb/m5329evb.c +++ b/board/freescale/m5329evb/m5329evb.c @@ -8,6 +8,7 @@ */ #include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/immap.h> diff --git a/board/freescale/m5329evb/nand.c b/board/freescale/m5329evb/nand.c index a250d61..d921eef 100644 --- a/board/freescale/m5329evb/nand.c +++ b/board/freescale/m5329evb/nand.c @@ -8,6 +8,7 @@ */ #include <config.h> +#include <common.h> #include <asm/io.h> #include <asm/immap.h> diff --git a/board/freescale/m5373evb/m5373evb.c b/board/freescale/m5373evb/m5373evb.c index d6fdf41..0e9eec3 100644 --- a/board/freescale/m5373evb/m5373evb.c +++ b/board/freescale/m5373evb/m5373evb.c @@ -8,6 +8,7 @@ */ #include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/immap.h> diff --git a/board/freescale/m5373evb/nand.c b/board/freescale/m5373evb/nand.c index e7c08d2..6d825a6 100644 --- a/board/freescale/m5373evb/nand.c +++ b/board/freescale/m5373evb/nand.c @@ -8,6 +8,7 @@ */ #include <config.h> +#include <common.h> #include <asm/io.h> #include <asm/immap.h> diff --git a/board/freescale/mpc837xerdb/mpc837xerdb.c b/board/freescale/mpc837xerdb/mpc837xerdb.c index 5529974..97884a3 100644 --- a/board/freescale/mpc837xerdb/mpc837xerdb.c +++ b/board/freescale/mpc837xerdb/mpc837xerdb.c @@ -5,7 +5,7 @@ * Joe D'Abbraccio <joe.d'abbraccio@freescale.com> */ -#include <config.h> +#include <common.h> #include <env.h> #include <hwconfig.h> #include <i2c.h> diff --git a/board/freescale/mpc8548cds/ddr.c b/board/freescale/mpc8548cds/ddr.c index 14202cd..b6c1847 100644 --- a/board/freescale/mpc8548cds/ddr.c +++ b/board/freescale/mpc8548cds/ddr.c @@ -3,6 +3,7 @@ * Copyright 2008 Freescale Semiconductor, Inc. */ +#include <common.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> diff --git a/board/freescale/mpc8548cds/law.c b/board/freescale/mpc8548cds/law.c index 2334870..7b6ef5b 100644 --- a/board/freescale/mpc8548cds/law.c +++ b/board/freescale/mpc8548cds/law.c @@ -6,7 +6,7 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <config.h> +#include <common.h> #include <asm/fsl_law.h> #include <asm/mmu.h> diff --git a/board/freescale/mpc8548cds/mpc8548cds.c b/board/freescale/mpc8548cds/mpc8548cds.c index 7810010..ec6e3a2 100644 --- a/board/freescale/mpc8548cds/mpc8548cds.c +++ b/board/freescale/mpc8548cds/mpc8548cds.c @@ -5,7 +5,7 @@ * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com> */ -#include <config.h> +#include <common.h> #include <display_options.h> #include <init.h> #include <net.h> diff --git a/board/freescale/mpc8548cds/tlb.c b/board/freescale/mpc8548cds/tlb.c index 0b2afa8..994a32d 100644 --- a/board/freescale/mpc8548cds/tlb.c +++ b/board/freescale/mpc8548cds/tlb.c @@ -6,9 +6,8 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <config.h> +#include <common.h> #include <asm/mmu.h> -#include <asm/ppc.h> struct fsl_e_tlb_entry tlb_table[] = { /* TLB 0 - for temp stack in cache */ diff --git a/board/freescale/mx23evk/mx23evk.c b/board/freescale/mx23evk/mx23evk.c index fbc8fbd..df4fb39 100644 --- a/board/freescale/mx23evk/mx23evk.c +++ b/board/freescale/mx23evk/mx23evk.c @@ -11,6 +11,7 @@ * on behalf of DENX Software Engineering GmbH */ +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/gpio.h> diff --git a/board/freescale/mx23evk/spl_boot.c b/board/freescale/mx23evk/spl_boot.c index a4c39a3..14e9b4a 100644 --- a/board/freescale/mx23evk/spl_boot.c +++ b/board/freescale/mx23evk/spl_boot.c @@ -6,6 +6,7 @@ * on behalf of DENX Software Engineering GmbH */ +#include <common.h> #include <config.h> #include <asm/io.h> #include <asm/arch/iomux-mx23.h> diff --git a/board/freescale/mx28evk/iomux.c b/board/freescale/mx28evk/iomux.c index b84b045..cc0c858 100644 --- a/board/freescale/mx28evk/iomux.c +++ b/board/freescale/mx28evk/iomux.c @@ -6,6 +6,7 @@ * on behalf of DENX Software Engineering GmbH */ +#include <common.h> #include <config.h> #include <asm/io.h> #include <asm/arch/iomux-mx28.h> diff --git a/board/freescale/mx28evk/mx28evk.c b/board/freescale/mx28evk/mx28evk.c index ada5729..88c3bf3 100644 --- a/board/freescale/mx28evk/mx28evk.c +++ b/board/freescale/mx28evk/mx28evk.c @@ -11,6 +11,7 @@ * on behalf of DENX Software Engineering GmbH */ +#include <common.h> #include <init.h> #include <net.h> #include <asm/global_data.h> diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c index 6945684..95edb35 100644 --- a/board/freescale/mx51evk/mx51evk.c +++ b/board/freescale/mx51evk/mx51evk.c @@ -3,7 +3,7 @@ * (C) Copyright 2009 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c index 2d8f5da..d418cd8 100644 --- a/board/freescale/mx53loco/mx53loco.c +++ b/board/freescale/mx53loco/mx53loco.c @@ -4,7 +4,7 @@ * Jason Liu <r64343@freescale.com> */ -#include <config.h> +#include <common.h> #include <init.h> #include <log.h> #include <asm/global_data.h> diff --git a/board/freescale/mx6memcal/mx6memcal.c b/board/freescale/mx6memcal/mx6memcal.c index 17095c3..0dfd7de 100644 --- a/board/freescale/mx6memcal/mx6memcal.c +++ b/board/freescale/mx6memcal/mx6memcal.c @@ -7,6 +7,7 @@ * Author: Eric Nelson <eric@nelint.com> */ +#include <common.h> #include <init.h> #include <asm/arch/sys_proto.h> #include <asm/global_data.h> diff --git a/board/freescale/mx6memcal/spl.c b/board/freescale/mx6memcal/spl.c index bc9c425..61d0ca3 100644 --- a/board/freescale/mx6memcal/spl.c +++ b/board/freescale/mx6memcal/spl.c @@ -4,6 +4,7 @@ * Author: Eric Nelson <eric@nelint.com> */ +#include <common.h> #include <cpu_func.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/freescale/mx6sabreauto/mx6sabreauto.c b/board/freescale/mx6sabreauto/mx6sabreauto.c index e782543..77e9200 100644 --- a/board/freescale/mx6sabreauto/mx6sabreauto.c +++ b/board/freescale/mx6sabreauto/mx6sabreauto.c @@ -5,6 +5,7 @@ * Author: Fabio Estevam <fabio.estevam@freescale.com> */ +#include <common.h> #include <image.h> #include <init.h> #include <net.h> diff --git a/board/freescale/mx6slevk/mx6slevk.c b/board/freescale/mx6slevk/mx6slevk.c index d37d8a4..e9ac571 100644 --- a/board/freescale/mx6slevk/mx6slevk.c +++ b/board/freescale/mx6slevk/mx6slevk.c @@ -21,6 +21,7 @@ #include <asm/io.h> #include <asm/sections.h> #include <linux/sizes.h> +#include <common.h> #include <fsl_esdhc_imx.h> #include <i2c.h> #include <mmc.h> diff --git a/board/freescale/mx6sllevk/mx6sllevk.c b/board/freescale/mx6sllevk/mx6sllevk.c index 7114444..10a0009 100644 --- a/board/freescale/mx6sllevk/mx6sllevk.c +++ b/board/freescale/mx6sllevk/mx6sllevk.c @@ -15,6 +15,7 @@ #include <asm/mach-imx/iomux-v3.h> #include <asm/mach-imx/boot_mode.h> #include <asm/io.h> +#include <common.h> #include <linux/sizes.h> #include <mmc.h> #include <power/pmic.h> diff --git a/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c b/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c index 6176f73..84cc51e 100644 --- a/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c +++ b/board/freescale/mx6sxsabreauto/mx6sxsabreauto.c @@ -20,7 +20,7 @@ #include <asm/io.h> #include <linux/delay.h> #include <linux/sizes.h> -#include <config.h> +#include <common.h> #include <fsl_esdhc_imx.h> #include <miiphy.h> #include <netdev.h> diff --git a/board/freescale/mx6sxsabresd/mx6sxsabresd.c b/board/freescale/mx6sxsabresd/mx6sxsabresd.c index e3353fe..e7958df 100644 --- a/board/freescale/mx6sxsabresd/mx6sxsabresd.c +++ b/board/freescale/mx6sxsabresd/mx6sxsabresd.c @@ -21,6 +21,7 @@ #include <env.h> #include <linux/delay.h> #include <linux/sizes.h> +#include <common.h> #include <fsl_esdhc_imx.h> #include <mmc.h> #include <i2c.h> diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c index 6b0665a..534b16c 100644 --- a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c +++ b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c @@ -19,7 +19,7 @@ #include <asm/mach-imx/mxc_i2c.h> #include <asm/io.h> #include <asm/sections.h> -#include <config.h> +#include <common.h> #include <env.h> #include <fsl_esdhc_imx.h> #include <i2c.h> diff --git a/board/freescale/mx6ullevk/mx6ullevk.c b/board/freescale/mx6ullevk/mx6ullevk.c index 189edde..de45f8b 100644 --- a/board/freescale/mx6ullevk/mx6ullevk.c +++ b/board/freescale/mx6ullevk/mx6ullevk.c @@ -15,7 +15,7 @@ #include <asm/mach-imx/iomux-v3.h> #include <asm/mach-imx/boot_mode.h> #include <asm/io.h> -#include <config.h> +#include <common.h> #include <env.h> #include <fsl_esdhc_imx.h> #include <linux/sizes.h> diff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c index 3db167c..4fe23b5 100644 --- a/board/freescale/mx7dsabresd/mx7dsabresd.c +++ b/board/freescale/mx7dsabresd/mx7dsabresd.c @@ -15,6 +15,7 @@ #include <asm/io.h> #include <linux/delay.h> #include <linux/sizes.h> +#include <common.h> #include <fsl_esdhc_imx.h> #include <mmc.h> #include <miiphy.h> diff --git a/board/freescale/mx7ulp_evk/mx7ulp_evk.c b/board/freescale/mx7ulp_evk/mx7ulp_evk.c index af68e57..01e3213 100644 --- a/board/freescale/mx7ulp_evk/mx7ulp_evk.c +++ b/board/freescale/mx7ulp_evk/mx7ulp_evk.c @@ -3,6 +3,7 @@ * Copyright (C) 2016 Freescale Semiconductor, Inc. */ +#include <common.h> #include <fdt_support.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/freescale/p1010rdb/ddr.c b/board/freescale/p1010rdb/ddr.c index 43a0936..b423ec8 100644 --- a/board/freescale/p1010rdb/ddr.c +++ b/board/freescale/p1010rdb/ddr.c @@ -3,6 +3,7 @@ * Copyright 2010-2011 Freescale Semiconductor, Inc. */ +#include <common.h> #include <vsprintf.h> #include <asm/global_data.h> #include <asm/mmu.h> diff --git a/board/freescale/p1010rdb/law.c b/board/freescale/p1010rdb/law.c index a7d80f2..13fc2fa 100644 --- a/board/freescale/p1010rdb/law.c +++ b/board/freescale/p1010rdb/law.c @@ -3,7 +3,7 @@ * Copyright 2010-2011 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <asm/fsl_law.h> #include <asm/mmu.h> diff --git a/board/freescale/p1010rdb/p1010rdb.c b/board/freescale/p1010rdb/p1010rdb.c index ab00314..d32274b 100644 --- a/board/freescale/p1010rdb/p1010rdb.c +++ b/board/freescale/p1010rdb/p1010rdb.c @@ -4,7 +4,7 @@ * Copyright 2020 NXP */ -#include <config.h> +#include <common.h> #include <command.h> #include <image.h> #include <init.h> diff --git a/board/freescale/p1010rdb/spl.c b/board/freescale/p1010rdb/spl.c index fc26cef..e450f62 100644 --- a/board/freescale/p1010rdb/spl.c +++ b/board/freescale/p1010rdb/spl.c @@ -2,7 +2,7 @@ /* Copyright 2013 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <console.h> #include <env.h> diff --git a/board/freescale/p1010rdb/spl_minimal.c b/board/freescale/p1010rdb/spl_minimal.c index 8cd79c6..8f0dec4 100644 --- a/board/freescale/p1010rdb/spl_minimal.c +++ b/board/freescale/p1010rdb/spl_minimal.c @@ -2,7 +2,7 @@ /* * Copyright 2011 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <init.h> #include <mpc85xx.h> diff --git a/board/freescale/p1010rdb/tlb.c b/board/freescale/p1010rdb/tlb.c index 44aceba..265cde8 100644 --- a/board/freescale/p1010rdb/tlb.c +++ b/board/freescale/p1010rdb/tlb.c @@ -3,9 +3,8 @@ * Copyright 2010-2011 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <asm/mmu.h> -#include <asm/ppc.h> struct fsl_e_tlb_entry tlb_table[] = { /* TLB 0 - for temp stack in cache */ diff --git a/board/freescale/p1_p2_rdb_pc/ddr.c b/board/freescale/p1_p2_rdb_pc/ddr.c index 8622a5a..5f16779 100644 --- a/board/freescale/p1_p2_rdb_pc/ddr.c +++ b/board/freescale/p1_p2_rdb_pc/ddr.c @@ -3,12 +3,11 @@ * Copyright 2010-2011 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <vsprintf.h> -#include <linux/string.h> #include <asm/mmu.h> #include <asm/immap_85xx.h> -#include <asm/ppc.h> +#include <asm/processor.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> #include <asm/io.h> diff --git a/board/freescale/p1_p2_rdb_pc/law.c b/board/freescale/p1_p2_rdb_pc/law.c index 4959407..6085984 100644 --- a/board/freescale/p1_p2_rdb_pc/law.c +++ b/board/freescale/p1_p2_rdb_pc/law.c @@ -3,7 +3,7 @@ * Copyright 2010-2011 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <asm/fsl_law.h> #include <asm/mmu.h> diff --git a/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c b/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c index 399ff72..602b7f0 100644 --- a/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c +++ b/board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c @@ -4,7 +4,7 @@ * Copyright 2020 NXP */ -#include <config.h> +#include <common.h> #include <command.h> #include <env.h> #include <hang.h> diff --git a/board/freescale/p1_p2_rdb_pc/spl.c b/board/freescale/p1_p2_rdb_pc/spl.c index b07f481..6c3f828 100644 --- a/board/freescale/p1_p2_rdb_pc/spl.c +++ b/board/freescale/p1_p2_rdb_pc/spl.c @@ -3,7 +3,7 @@ * Copyright 2013 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <console.h> #include <env.h> diff --git a/board/freescale/p1_p2_rdb_pc/spl_minimal.c b/board/freescale/p1_p2_rdb_pc/spl_minimal.c index 511bcf5..f9e0b5b 100644 --- a/board/freescale/p1_p2_rdb_pc/spl_minimal.c +++ b/board/freescale/p1_p2_rdb_pc/spl_minimal.c @@ -3,7 +3,7 @@ * Copyright 2011 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <init.h> #include <ns16550.h> diff --git a/board/freescale/p1_p2_rdb_pc/tlb.c b/board/freescale/p1_p2_rdb_pc/tlb.c index ae0b7ad..9477396 100644 --- a/board/freescale/p1_p2_rdb_pc/tlb.c +++ b/board/freescale/p1_p2_rdb_pc/tlb.c @@ -3,9 +3,8 @@ * Copyright 2010-2011 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <asm/mmu.h> -#include <asm/ppc.h> struct fsl_e_tlb_entry tlb_table[] = { /* TLB 0 - for temp stack in cache */ diff --git a/board/freescale/p2041rdb/cpld.c b/board/freescale/p2041rdb/cpld.c index 915a8b9..a1908b8 100644 --- a/board/freescale/p2041rdb/cpld.c +++ b/board/freescale/p2041rdb/cpld.c @@ -11,6 +11,7 @@ * CPLD_BASE - The virtual address of the base of the CPLD register map */ +#include <common.h> #include <command.h> #include <asm/io.h> diff --git a/board/freescale/p2041rdb/ddr.c b/board/freescale/p2041rdb/ddr.c index b8b765a..910058c 100644 --- a/board/freescale/p2041rdb/ddr.c +++ b/board/freescale/p2041rdb/ddr.c @@ -3,6 +3,7 @@ * Copyright 2011 Freescale Semiconductor, Inc. */ +#include <common.h> #include <i2c.h> #include <hwconfig.h> #include <init.h> diff --git a/board/freescale/p2041rdb/eth.c b/board/freescale/p2041rdb/eth.c index 6585086..c0d0553 100644 --- a/board/freescale/p2041rdb/eth.c +++ b/board/freescale/p2041rdb/eth.c @@ -12,7 +12,7 @@ * and serdes protocol selection. */ -#include <config.h> +#include <common.h> #include <net.h> #include <netdev.h> #include <asm/fsl_serdes.h> diff --git a/board/freescale/p2041rdb/p2041rdb.c b/board/freescale/p2041rdb/p2041rdb.c index d5b71f7..575259b 100644 --- a/board/freescale/p2041rdb/p2041rdb.c +++ b/board/freescale/p2041rdb/p2041rdb.c @@ -3,7 +3,7 @@ * Copyright 2011,2012 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <command.h> #include <env.h> diff --git a/board/freescale/t102xrdb/cpld.c b/board/freescale/t102xrdb/cpld.c index cc933cc..17a6226 100644 --- a/board/freescale/t102xrdb/cpld.c +++ b/board/freescale/t102xrdb/cpld.c @@ -7,7 +7,7 @@ * The following macros need to be defined: */ -#include <config.h> +#include <common.h> #include <command.h> #include <asm/io.h> #include "cpld.h" diff --git a/board/freescale/t102xrdb/ddr.c b/board/freescale/t102xrdb/ddr.c index f8d504f..1b41739 100644 --- a/board/freescale/t102xrdb/ddr.c +++ b/board/freescale/t102xrdb/ddr.c @@ -3,7 +3,7 @@ * Copyright 2014 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <i2c.h> #include <hwconfig.h> #include <init.h> diff --git a/board/freescale/t102xrdb/eth_t102xrdb.c b/board/freescale/t102xrdb/eth_t102xrdb.c index 7185a0a..ad78f72 100644 --- a/board/freescale/t102xrdb/eth_t102xrdb.c +++ b/board/freescale/t102xrdb/eth_t102xrdb.c @@ -5,7 +5,7 @@ * Shengzhou Liu <Shengzhou.Liu@freescale.com> */ -#include <config.h> +#include <common.h> #include <command.h> #include <fdt_support.h> #include <net.h> diff --git a/board/freescale/t102xrdb/law.c b/board/freescale/t102xrdb/law.c index 81caa96..d636bef 100644 --- a/board/freescale/t102xrdb/law.c +++ b/board/freescale/t102xrdb/law.c @@ -3,7 +3,7 @@ * Copyright 2014 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <asm/fsl_law.h> #include <asm/mmu.h> diff --git a/board/freescale/t102xrdb/spl.c b/board/freescale/t102xrdb/spl.c index de6cdda..9faf259 100644 --- a/board/freescale/t102xrdb/spl.c +++ b/board/freescale/t102xrdb/spl.c @@ -2,7 +2,7 @@ /* Copyright 2014 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <console.h> #include <env_internal.h> diff --git a/board/freescale/t102xrdb/t102xrdb.c b/board/freescale/t102xrdb/t102xrdb.c index 0a29e27..73f9d3a 100644 --- a/board/freescale/t102xrdb/t102xrdb.c +++ b/board/freescale/t102xrdb/t102xrdb.c @@ -4,7 +4,7 @@ * Copyright 2020-2023 NXP */ -#include <config.h> +#include <common.h> #include <command.h> #include <env.h> #include <fdt_support.h> diff --git a/board/freescale/t102xrdb/tlb.c b/board/freescale/t102xrdb/tlb.c index 008bd6e..2519a9e 100644 --- a/board/freescale/t102xrdb/tlb.c +++ b/board/freescale/t102xrdb/tlb.c @@ -3,9 +3,8 @@ * Copyright 2014 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <asm/mmu.h> -#include <asm/ppc.h> struct fsl_e_tlb_entry tlb_table[] = { /* TLB 0 - for temp stack in cache */ diff --git a/board/freescale/t104xrdb/cpld.c b/board/freescale/t104xrdb/cpld.c index c2d526a..9ac57bb 100644 --- a/board/freescale/t104xrdb/cpld.c +++ b/board/freescale/t104xrdb/cpld.c @@ -10,7 +10,7 @@ * CFG_SYS_CPLD_BASE-The virtual address of the base of the CPLD register map */ -#include <config.h> +#include <common.h> #include <command.h> #include <asm/io.h> diff --git a/board/freescale/t104xrdb/ddr.c b/board/freescale/t104xrdb/ddr.c index bab6848..02ddb66 100644 --- a/board/freescale/t104xrdb/ddr.c +++ b/board/freescale/t104xrdb/ddr.c @@ -4,7 +4,7 @@ * Copyright 2021 NXP */ -#include <config.h> +#include <common.h> #include <i2c.h> #include <hwconfig.h> #include <init.h> diff --git a/board/freescale/t104xrdb/eth.c b/board/freescale/t104xrdb/eth.c index d5c084e..5eca938 100644 --- a/board/freescale/t104xrdb/eth.c +++ b/board/freescale/t104xrdb/eth.c @@ -3,7 +3,7 @@ * Copyright 2014 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <net.h> #include <netdev.h> #include <asm/fsl_serdes.h> diff --git a/board/freescale/t104xrdb/law.c b/board/freescale/t104xrdb/law.c index d34641c..a0d6eb5 100644 --- a/board/freescale/t104xrdb/law.c +++ b/board/freescale/t104xrdb/law.c @@ -3,7 +3,7 @@ * Copyright 2013 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <asm/fsl_law.h> #include <asm/mmu.h> diff --git a/board/freescale/t104xrdb/spl.c b/board/freescale/t104xrdb/spl.c index e02a1f9..dd8283f 100644 --- a/board/freescale/t104xrdb/spl.c +++ b/board/freescale/t104xrdb/spl.c @@ -2,7 +2,7 @@ /* Copyright 2013 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <console.h> #include <env_internal.h> diff --git a/board/freescale/t104xrdb/t104xrdb.c b/board/freescale/t104xrdb/t104xrdb.c index ef4dfef..b308049 100644 --- a/board/freescale/t104xrdb/t104xrdb.c +++ b/board/freescale/t104xrdb/t104xrdb.c @@ -4,7 +4,7 @@ * Copyright 2023 NXP */ -#include <config.h> +#include <common.h> #include <command.h> #include <env.h> #include <fdt_support.h> diff --git a/board/freescale/t104xrdb/tlb.c b/board/freescale/t104xrdb/tlb.c index 24bc83f..10be580 100644 --- a/board/freescale/t104xrdb/tlb.c +++ b/board/freescale/t104xrdb/tlb.c @@ -3,9 +3,8 @@ * Copyright 2013 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <asm/mmu.h> -#include <asm/ppc.h> struct fsl_e_tlb_entry tlb_table[] = { /* TLB 0 - for temp stack in cache */ diff --git a/board/freescale/t208xqds/ddr.c b/board/freescale/t208xqds/ddr.c index 9076fbb..56471b3 100644 --- a/board/freescale/t208xqds/ddr.c +++ b/board/freescale/t208xqds/ddr.c @@ -3,6 +3,7 @@ * Copyright 2013 Freescale Semiconductor, Inc. */ +#include <common.h> #include <i2c.h> #include <hwconfig.h> #include <init.h> diff --git a/board/freescale/t208xqds/eth_t208xqds.c b/board/freescale/t208xqds/eth_t208xqds.c index 9f29922..569b193 100644 --- a/board/freescale/t208xqds/eth_t208xqds.c +++ b/board/freescale/t208xqds/eth_t208xqds.c @@ -6,7 +6,7 @@ * Shengzhou Liu <Shengzhou.Liu@freescale.com> */ -#include <config.h> +#include <common.h> #include <command.h> #include <fdt_support.h> #include <log.h> diff --git a/board/freescale/t208xqds/law.c b/board/freescale/t208xqds/law.c index 287f465..3cdd493 100644 --- a/board/freescale/t208xqds/law.c +++ b/board/freescale/t208xqds/law.c @@ -6,7 +6,7 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <config.h> +#include <common.h> #include <asm/fsl_law.h> #include <asm/mmu.h> diff --git a/board/freescale/t208xqds/spl.c b/board/freescale/t208xqds/spl.c index 44ad4e6..8866be5 100644 --- a/board/freescale/t208xqds/spl.c +++ b/board/freescale/t208xqds/spl.c @@ -2,7 +2,7 @@ /* Copyright 2013 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <console.h> #include <env_internal.h> diff --git a/board/freescale/t208xqds/t208xqds.c b/board/freescale/t208xqds/t208xqds.c index 5e71da0..8be55e5 100644 --- a/board/freescale/t208xqds/t208xqds.c +++ b/board/freescale/t208xqds/t208xqds.c @@ -4,7 +4,7 @@ * Copyright 2020 NXP */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <command.h> #include <env.h> diff --git a/board/freescale/t208xqds/tlb.c b/board/freescale/t208xqds/tlb.c index f99d51c..3d220af 100644 --- a/board/freescale/t208xqds/tlb.c +++ b/board/freescale/t208xqds/tlb.c @@ -6,9 +6,8 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <config.h> +#include <common.h> #include <asm/mmu.h> -#include <asm/ppc.h> struct fsl_e_tlb_entry tlb_table[] = { /* TLB 0 - for temp stack in cache */ diff --git a/board/freescale/t208xrdb/cpld.c b/board/freescale/t208xrdb/cpld.c index d2226af..933fa0d 100644 --- a/board/freescale/t208xrdb/cpld.c +++ b/board/freescale/t208xrdb/cpld.c @@ -5,9 +5,8 @@ * Freescale T2080RDB board-specific CPLD controlling supports. */ -#include <config.h> +#include <common.h> #include <command.h> -#include <asm/io.h> #include "cpld.h" u8 cpld_read(unsigned int reg) diff --git a/board/freescale/t208xrdb/ddr.c b/board/freescale/t208xrdb/ddr.c index fe98f62..1fbab36 100644 --- a/board/freescale/t208xrdb/ddr.c +++ b/board/freescale/t208xrdb/ddr.c @@ -3,6 +3,7 @@ * Copyright 2014 Freescale Semiconductor, Inc. */ +#include <common.h> #include <i2c.h> #include <hwconfig.h> #include <init.h> diff --git a/board/freescale/t208xrdb/eth_t208xrdb.c b/board/freescale/t208xrdb/eth_t208xrdb.c index 5223ecc..e4592ea 100644 --- a/board/freescale/t208xrdb/eth_t208xrdb.c +++ b/board/freescale/t208xrdb/eth_t208xrdb.c @@ -6,6 +6,7 @@ * Shengzhou Liu <Shengzhou.Liu@freescale.com> */ +#include <common.h> #include <command.h> #include <fdt_support.h> #include <net.h> diff --git a/board/freescale/t208xrdb/law.c b/board/freescale/t208xrdb/law.c index e1f570a8..53a1369 100644 --- a/board/freescale/t208xrdb/law.c +++ b/board/freescale/t208xrdb/law.c @@ -6,7 +6,7 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <config.h> +#include <common.h> #include <asm/fsl_law.h> #include <asm/mmu.h> diff --git a/board/freescale/t208xrdb/spl.c b/board/freescale/t208xrdb/spl.c index df3b9c6..130cb88 100644 --- a/board/freescale/t208xrdb/spl.c +++ b/board/freescale/t208xrdb/spl.c @@ -2,7 +2,7 @@ /* Copyright 2013 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <console.h> #include <env_internal.h> diff --git a/board/freescale/t208xrdb/t208xrdb.c b/board/freescale/t208xrdb/t208xrdb.c index d93edf0..e33e5d0 100644 --- a/board/freescale/t208xrdb/t208xrdb.c +++ b/board/freescale/t208xrdb/t208xrdb.c @@ -4,7 +4,7 @@ * Copyright 2021-2023 NXP */ -#include <config.h> +#include <common.h> #include <command.h> #include <env.h> #include <fdt_support.h> diff --git a/board/freescale/t208xrdb/tlb.c b/board/freescale/t208xrdb/tlb.c index df58315..688a208 100644 --- a/board/freescale/t208xrdb/tlb.c +++ b/board/freescale/t208xrdb/tlb.c @@ -6,9 +6,8 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <config.h> +#include <common.h> #include <asm/mmu.h> -#include <asm/ppc.h> struct fsl_e_tlb_entry tlb_table[] = { /* TLB 0 - for temp stack in cache */ diff --git a/board/freescale/t4rdb/cpld.c b/board/freescale/t4rdb/cpld.c index cd14d58..8b10120 100644 --- a/board/freescale/t4rdb/cpld.c +++ b/board/freescale/t4rdb/cpld.c @@ -14,7 +14,7 @@ * */ -#include <config.h> +#include <common.h> #include <command.h> #include <asm/io.h> diff --git a/board/freescale/t4rdb/ddr.c b/board/freescale/t4rdb/ddr.c index 5b60b50..57cbde1 100644 --- a/board/freescale/t4rdb/ddr.c +++ b/board/freescale/t4rdb/ddr.c @@ -3,6 +3,7 @@ * Copyright 2014 Freescale Semiconductor, Inc. */ +#include <common.h> #include <i2c.h> #include <hwconfig.h> #include <init.h> diff --git a/board/freescale/t4rdb/eth.c b/board/freescale/t4rdb/eth.c index e764636..2e52543 100644 --- a/board/freescale/t4rdb/eth.c +++ b/board/freescale/t4rdb/eth.c @@ -5,7 +5,7 @@ * Chunhe Lan <Chunhe.Lan@freescale.com> */ -#include <config.h> +#include <common.h> #include <command.h> #include <fdt_support.h> #include <net.h> diff --git a/board/freescale/t4rdb/law.c b/board/freescale/t4rdb/law.c index c43ac0f..43eeb88 100644 --- a/board/freescale/t4rdb/law.c +++ b/board/freescale/t4rdb/law.c @@ -3,7 +3,7 @@ * Copyright 2014 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <asm/fsl_law.h> #include <asm/mmu.h> diff --git a/board/freescale/t4rdb/spl.c b/board/freescale/t4rdb/spl.c index 9d2472d..779457d 100644 --- a/board/freescale/t4rdb/spl.c +++ b/board/freescale/t4rdb/spl.c @@ -5,7 +5,7 @@ * Author: Chunhe Lan <Chunhe.Lan@freescale.com> */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <console.h> #include <env_internal.h> diff --git a/board/freescale/t4rdb/t4240rdb.c b/board/freescale/t4rdb/t4240rdb.c index 5cacfd2..ab71776 100644 --- a/board/freescale/t4rdb/t4240rdb.c +++ b/board/freescale/t4rdb/t4240rdb.c @@ -4,7 +4,7 @@ * Copyright 2023 NXP */ -#include <config.h> +#include <common.h> #include <command.h> #include <env.h> #include <fdt_support.h> diff --git a/board/freescale/t4rdb/tlb.c b/board/freescale/t4rdb/tlb.c index 1fb9d41..f5af893 100644 --- a/board/freescale/t4rdb/tlb.c +++ b/board/freescale/t4rdb/tlb.c @@ -3,9 +3,8 @@ * Copyright 2014 Freescale Semiconductor, Inc. */ -#include <config.h> +#include <common.h> #include <asm/mmu.h> -#include <asm/ppc.h> struct fsl_e_tlb_entry tlb_table[] = { /* TLB 0 - for temp stack in cache */ diff --git a/board/freescale/vf610twr/vf610twr.c b/board/freescale/vf610twr/vf610twr.c index 80a798a..98cb014 100644 --- a/board/freescale/vf610twr/vf610twr.c +++ b/board/freescale/vf610twr/vf610twr.c @@ -3,6 +3,7 @@ * Copyright 2013 Freescale Semiconductor, Inc. */ +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/friendlyarm/nanopi2/board.c b/board/friendlyarm/nanopi2/board.c index c8cbc5a..393c5a4 100644 --- a/board/friendlyarm/nanopi2/board.c +++ b/board/friendlyarm/nanopi2/board.c @@ -5,6 +5,7 @@ */ #include <config.h> +#include <common.h> #include <command.h> #include <fdt_support.h> #include <log.h> diff --git a/board/friendlyarm/nanopi2/hwrev.c b/board/friendlyarm/nanopi2/hwrev.c index cd9c241..585e08c 100644 --- a/board/friendlyarm/nanopi2/hwrev.c +++ b/board/friendlyarm/nanopi2/hwrev.c @@ -5,6 +5,7 @@ */ #include <config.h> +#include <common.h> #include <i2c.h> #include <asm/io.h> diff --git a/board/friendlyarm/nanopi2/lcds.c b/board/friendlyarm/nanopi2/lcds.c index b373673..7303e53 100644 --- a/board/friendlyarm/nanopi2/lcds.c +++ b/board/friendlyarm/nanopi2/lcds.c @@ -4,6 +4,7 @@ */ #include <config.h> +#include <common.h> #include <errno.h> #include <fdtdec.h> #include <fdt_support.h> diff --git a/board/friendlyarm/nanopi2/onewire.c b/board/friendlyarm/nanopi2/onewire.c index 31cc871..4f0b1e3 100644 --- a/board/friendlyarm/nanopi2/onewire.c +++ b/board/friendlyarm/nanopi2/onewire.c @@ -5,6 +5,7 @@ */ #include <config.h> +#include <common.h> #include <errno.h> #include <asm/io.h> #include <asm/arch/clk.h> diff --git a/board/gardena/smart-gateway-at91sam/board.c b/board/gardena/smart-gateway-at91sam/board.c index 2b5b284..d9dfb25 100644 --- a/board/gardena/smart-gateway-at91sam/board.c +++ b/board/gardena/smart-gateway-at91sam/board.c @@ -4,7 +4,7 @@ * Copyright (C) 2019 Stefan Roese <sr@denx.de> */ -#include <config.h> +#include <common.h> #include <debug_uart.h> #include <env.h> #include <init.h> diff --git a/board/gardena/smart-gateway-at91sam/spl.c b/board/gardena/smart-gateway-at91sam/spl.c index fb3ec48..2807c4e 100644 --- a/board/gardena/smart-gateway-at91sam/spl.c +++ b/board/gardena/smart-gateway-at91sam/spl.c @@ -4,7 +4,7 @@ * Copyright (C) 2019 Stefan Roese <sr@denx.de> */ -#include <config.h> +#include <common.h> #include <nand.h> #include <spl.h> #include <asm/arch/at91sam9x5_matrix.h> diff --git a/board/gardena/smart-gateway-mt7688/board.c b/board/gardena/smart-gateway-mt7688/board.c index c6b14be..0cfde91 100644 --- a/board/gardena/smart-gateway-mt7688/board.c +++ b/board/gardena/smart-gateway-mt7688/board.c @@ -3,6 +3,7 @@ * Copyright (C) 2018 Stefan Roese <sr@denx.de> */ +#include <common.h> #include <command.h> #include <env.h> #include <env_internal.h> diff --git a/board/gateworks/gw_ventana/common.c b/board/gateworks/gw_ventana/common.c index 891d1b5..74328b2 100644 --- a/board/gateworks/gw_ventana/common.c +++ b/board/gateworks/gw_ventana/common.c @@ -5,6 +5,7 @@ * Author: Tim Harvey <tharvey@gateworks.com> */ +#include <common.h> #include <env.h> #include <fsl_esdhc_imx.h> #include <hwconfig.h> diff --git a/board/gateworks/gw_ventana/eeprom.c b/board/gateworks/gw_ventana/eeprom.c index b37f197..e622a9b 100644 --- a/board/gateworks/gw_ventana/eeprom.c +++ b/board/gateworks/gw_ventana/eeprom.c @@ -5,6 +5,7 @@ */ #include <command.h> +#include <common.h> #include <gsc.h> #include <hexdump.h> #include <i2c.h> diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index 21a908c..683def7 100644 --- a/board/gateworks/gw_ventana/gw_ventana.c +++ b/board/gateworks/gw_ventana/gw_ventana.c @@ -6,6 +6,7 @@ */ #include <command.h> +#include <common.h> #include <fdt_support.h> #include <gsc.h> #include <hwconfig.h> diff --git a/board/gateworks/gw_ventana/gw_ventana_spl.c b/board/gateworks/gw_ventana/gw_ventana_spl.c index 3de4727..2f046c9 100644 --- a/board/gateworks/gw_ventana/gw_ventana_spl.c +++ b/board/gateworks/gw_ventana/gw_ventana_spl.c @@ -4,7 +4,7 @@ * Author: Tim Harvey <tharvey@gateworks.com> */ -#include <config.h> +#include <common.h> #include <env.h> #include <gsc.h> #include <hang.h> diff --git a/board/gateworks/venice/eeprom.c b/board/gateworks/venice/eeprom.c index afaabf3..241be4e 100644 --- a/board/gateworks/venice/eeprom.c +++ b/board/gateworks/venice/eeprom.c @@ -3,6 +3,7 @@ * Copyright 2021 Gateworks Corporation */ +#include <common.h> #include <gsc.h> #include <hexdump.h> #include <i2c.h> diff --git a/board/gateworks/venice/lpddr4_timing_imx8mm.c b/board/gateworks/venice/lpddr4_timing_imx8mm.c index 3f2c090..78b431d 100644 --- a/board/gateworks/venice/lpddr4_timing_imx8mm.c +++ b/board/gateworks/venice/lpddr4_timing_imx8mm.c @@ -6,6 +6,7 @@ */ #include <linux/kernel.h> +#include <common.h> #include <asm/arch/ddr.h> #include <asm/arch/lpddr4_define.h> diff --git a/board/gateworks/venice/spl.c b/board/gateworks/venice/spl.c index f10d310..b0a315b 100644 --- a/board/gateworks/venice/spl.c +++ b/board/gateworks/venice/spl.c @@ -3,6 +3,7 @@ * Copyright 2021 Gateworks Corporation */ +#include <common.h> #include <cpu_func.h> #include <hang.h> #include <i2c.h> diff --git a/board/gdsys/a38x/controlcenterdc.c b/board/gdsys/a38x/controlcenterdc.c index 4abb3e4..0f620c2 100644 --- a/board/gdsys/a38x/controlcenterdc.c +++ b/board/gdsys/a38x/controlcenterdc.c @@ -4,7 +4,7 @@ * Copyright (C) 2016 Mario Six <mario.six@gdsys.cc> */ -#include <config.h> +#include <common.h> #include <command.h> #include <dm.h> #include <event.h> diff --git a/board/gdsys/a38x/dt_helpers.c b/board/gdsys/a38x/dt_helpers.c index a12e115..61d30c2 100644 --- a/board/gdsys/a38x/dt_helpers.c +++ b/board/gdsys/a38x/dt_helpers.c @@ -4,6 +4,7 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ +#include <common.h> #include <i2c.h> #include <fdt_support.h> #include <asm-generic/gpio.h> diff --git a/board/gdsys/a38x/hre.c b/board/gdsys/a38x/hre.c index f303793..d16233e 100644 --- a/board/gdsys/a38x/hre.c +++ b/board/gdsys/a38x/hre.c @@ -4,6 +4,7 @@ * Reinhard Pfau, Guntermann & Drunck GmbH, reinhard.pfau@gdsys.cc */ +#include <common.h> #include <log.h> #include <malloc.h> #include <fs.h> diff --git a/board/gdsys/a38x/hydra.c b/board/gdsys/a38x/hydra.c index 970d508..495a976 100644 --- a/board/gdsys/a38x/hydra.c +++ b/board/gdsys/a38x/hydra.c @@ -1,8 +1,8 @@ +#include <common.h> #include <command.h> #include <console.h> /* ctrlc */ #include <pci.h> #include <asm/io.h> -#include <mach/soc.h> #include "hydra.h" diff --git a/board/gdsys/a38x/ihs_phys.c b/board/gdsys/a38x/ihs_phys.c index 690a296..60a5c37 100644 --- a/board/gdsys/a38x/ihs_phys.c +++ b/board/gdsys/a38x/ihs_phys.c @@ -1,3 +1,4 @@ +#include <common.h> #include <dm.h> #include <miiphy.h> #include <asm-generic/gpio.h> diff --git a/board/gdsys/a38x/keyprogram.c b/board/gdsys/a38x/keyprogram.c index 15c36e2..7020fae 100644 --- a/board/gdsys/a38x/keyprogram.c +++ b/board/gdsys/a38x/keyprogram.c @@ -4,6 +4,7 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */ +#include <common.h> #include <command.h> #include <env.h> #include <tpm-v1.h> diff --git a/board/gdsys/common/cmd_ioloop.c b/board/gdsys/common/cmd_ioloop.c index fb6313f..1412421 100644 --- a/board/gdsys/common/cmd_ioloop.c +++ b/board/gdsys/common/cmd_ioloop.c @@ -4,6 +4,7 @@ * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc */ +#include <common.h> #include <command.h> #include <console.h> #include <linux/bitops.h> diff --git a/board/gdsys/common/dp501.c b/board/gdsys/common/dp501.c index 7698e76..9ca69eb 100644 --- a/board/gdsys/common/dp501.c +++ b/board/gdsys/common/dp501.c @@ -8,6 +8,7 @@ #ifdef CONFIG_GDSYS_LEGACY_DRIVERS +#include <common.h> #include <asm/io.h> #include <errno.h> #include <i2c.h> diff --git a/board/gdsys/common/ihs_mdio.c b/board/gdsys/common/ihs_mdio.c index a814566..5f1215e 100644 --- a/board/gdsys/common/ihs_mdio.c +++ b/board/gdsys/common/ihs_mdio.c @@ -4,6 +4,7 @@ * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc */ +#include <common.h> #include <linux/delay.h> #include <miiphy.h> diff --git a/board/gdsys/common/ioep-fpga.c b/board/gdsys/common/ioep-fpga.c index f01b48b..7292d7a 100644 --- a/board/gdsys/common/ioep-fpga.c +++ b/board/gdsys/common/ioep-fpga.c @@ -6,6 +6,7 @@ #ifdef CONFIG_GDSYS_LEGACY_DRIVERS +#include <common.h> #include <gdsys_fpga.h> #include <linux/bitops.h> diff --git a/board/gdsys/common/osd.c b/board/gdsys/common/osd.c index bd9c5ca..dc548ef 100644 --- a/board/gdsys/common/osd.c +++ b/board/gdsys/common/osd.c @@ -6,6 +6,7 @@ #ifdef CONFIG_GDSYS_LEGACY_DRIVERS +#include <common.h> #include <command.h> #include <i2c.h> #include <malloc.h> diff --git a/board/gdsys/common/osd_cmd.c b/board/gdsys/common/osd_cmd.c index 39e64f5..6a9c0b4 100644 --- a/board/gdsys/common/osd_cmd.c +++ b/board/gdsys/common/osd_cmd.c @@ -9,6 +9,7 @@ * Dirk Eibach, Guntermann & Drunck GmbH, eibach@gdsys.de */ +#include <common.h> #include <command.h> #include <dm.h> #include <hexdump.h> diff --git a/board/gdsys/mpc8308/gazerbeam.c b/board/gdsys/mpc8308/gazerbeam.c index 05e4d84..cc608c4 100644 --- a/board/gdsys/mpc8308/gazerbeam.c +++ b/board/gdsys/mpc8308/gazerbeam.c @@ -5,6 +5,7 @@ * SPDX-License-Identifier: GPL-2.0+ */ +#include <common.h> #include <command.h> #include <dm.h> #include <env.h> diff --git a/board/gdsys/mpc8308/mpc8308.c b/board/gdsys/mpc8308/mpc8308.c index 42c45ec..0f90f8a 100644 --- a/board/gdsys/mpc8308/mpc8308.c +++ b/board/gdsys/mpc8308/mpc8308.c @@ -4,6 +4,7 @@ * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc */ +#include <common.h> #include <command.h> #include <init.h> #include <asm/processor.h> diff --git a/board/gdsys/mpc8308/sdram.c b/board/gdsys/mpc8308/sdram.c index 2933de0..4fac146 100644 --- a/board/gdsys/mpc8308/sdram.c +++ b/board/gdsys/mpc8308/sdram.c @@ -13,7 +13,7 @@ #ifndef CONFIG_MPC83XX_SDRAM -#include <config.h> +#include <common.h> #include <init.h> #include <mpc83xx.h> #include <spd_sdram.h> diff --git a/board/ge/b1x5v2/b1x5v2.c b/board/ge/b1x5v2/b1x5v2.c index 031773b..a2cbd15 100644 --- a/board/ge/b1x5v2/b1x5v2.c +++ b/board/ge/b1x5v2/b1x5v2.c @@ -17,6 +17,7 @@ #include <asm/io.h> #include <asm/mach-imx/video.h> #include <command.h> +#include <common.h> #include <i2c.h> #include <input.h> #include <ipu_pixfmt.h> diff --git a/board/ge/common/ge_rtc.c b/board/ge/common/ge_rtc.c index 5c62ecc..6437afc 100644 --- a/board/ge/common/ge_rtc.c +++ b/board/ge/common/ge_rtc.c @@ -3,6 +3,7 @@ * Copyright 2017 General Electric Company */ +#include <common.h> #include <env.h> #include <dm/uclass.h> #include <rtc.h> diff --git a/board/ge/common/vpd_reader.h b/board/ge/common/vpd_reader.h index d32c18d..0c51dc5 100644 --- a/board/ge/common/vpd_reader.h +++ b/board/ge/common/vpd_reader.h @@ -3,7 +3,7 @@ * Copyright 2016 General Electric Company */ -#include <linux/types.h> +#include "common.h" struct vpd_cache; diff --git a/board/ge/mx53ppd/mx53ppd.c b/board/ge/mx53ppd/mx53ppd.c index 9396d43..cc462d5 100644 --- a/board/ge/mx53ppd/mx53ppd.c +++ b/board/ge/mx53ppd/mx53ppd.c @@ -8,6 +8,7 @@ * Jason Liu <r64343@freescale.com> */ +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/ge/mx53ppd/mx53ppd_video.c b/board/ge/mx53ppd/mx53ppd_video.c index eb4dd75..4e2c6eb 100644 --- a/board/ge/mx53ppd/mx53ppd_video.c +++ b/board/ge/mx53ppd/mx53ppd_video.c @@ -8,6 +8,7 @@ * Fabio Estevam <fabio.estevam@freescale.com> */ +#include <common.h> #include <dm.h> #include <linux/list.h> #include <asm/arch/iomux-mx53.h> diff --git a/board/google/chromebook_coral/coral.c b/board/google/chromebook_coral/coral.c index 7b2724c..9d9168d 100644 --- a/board/google/chromebook_coral/coral.c +++ b/board/google/chromebook_coral/coral.c @@ -5,6 +5,7 @@ #define LOG_CATEGORY UCLASS_SYSINFO +#include <common.h> #include <bloblist.h> #include <command.h> #include <cros_ec.h> diff --git a/board/google/imx8mq_phanbell/imx8mq_phanbell.c b/board/google/imx8mq_phanbell/imx8mq_phanbell.c index 9544d6d..d0a740d 100644 --- a/board/google/imx8mq_phanbell/imx8mq_phanbell.c +++ b/board/google/imx8mq_phanbell/imx8mq_phanbell.c @@ -3,6 +3,7 @@ * Copyright 2020 NXP */ +#include <common.h> #include <env.h> #include <init.h> #include <malloc.h> diff --git a/board/google/imx8mq_phanbell/spl.c b/board/google/imx8mq_phanbell/spl.c index cfba930..83de5bf 100644 --- a/board/google/imx8mq_phanbell/spl.c +++ b/board/google/imx8mq_phanbell/spl.c @@ -4,7 +4,7 @@ * */ -#include <config.h> +#include <common.h> #include <hang.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/google/veyron/veyron.c b/board/google/veyron/veyron.c index 53c3435..32dbcdc 100644 --- a/board/google/veyron/veyron.c +++ b/board/google/veyron/veyron.c @@ -4,6 +4,7 @@ */ #include <clk.h> +#include <common.h> #include <dm.h> #include <init.h> #include <log.h> diff --git a/board/grinn/chiliboard/board.c b/board/grinn/chiliboard/board.c index 8313b37..64b32ca 100644 --- a/board/grinn/chiliboard/board.c +++ b/board/grinn/chiliboard/board.c @@ -4,7 +4,7 @@ * Copyright (C) 2017, Grinn - http://grinn-global.com/ */ -#include <config.h> +#include <common.h> #include <init.h> #include <net.h> #include <asm/arch/chilisom.h> diff --git a/board/grinn/liteboard/board.c b/board/grinn/liteboard/board.c index 07bb5b7..cf1d7ce 100644 --- a/board/grinn/liteboard/board.c +++ b/board/grinn/liteboard/board.c @@ -4,6 +4,7 @@ * Copyright (C) 2016 Grinn */ +#include <common.h> #include <command.h> #include <init.h> #include <asm/arch/clock.h> diff --git a/board/highbank/ahci.c b/board/highbank/ahci.c index 899c502..9c05727 100644 --- a/board/highbank/ahci.c +++ b/board/highbank/ahci.c @@ -3,6 +3,7 @@ * Copyright 2012 Calxeda, Inc. */ +#include <common.h> #include <ahci.h> #include <asm/io.h> #include <linux/delay.h> diff --git a/board/highbank/hb_sregs.c b/board/highbank/hb_sregs.c index 94052f7..d9dd2c2 100644 --- a/board/highbank/hb_sregs.c +++ b/board/highbank/hb_sregs.c @@ -10,6 +10,7 @@ * Copyright (C) 2019 Arm Ltd. */ +#include <common.h> #include <dm.h> #include <dm/lists.h> diff --git a/board/highbank/highbank.c b/board/highbank/highbank.c index f3df83e..7f67d1e 100644 --- a/board/highbank/highbank.c +++ b/board/highbank/highbank.c @@ -3,6 +3,7 @@ * Copyright 2010-2011 Calxeda, Inc. */ +#include <common.h> #include <ahci.h> #include <cpu_func.h> #include <env.h> diff --git a/board/hisilicon/hikey/hikey.c b/board/hisilicon/hikey/hikey.c index 95a831e..c9a2d60 100644 --- a/board/hisilicon/hikey/hikey.c +++ b/board/hisilicon/hikey/hikey.c @@ -3,6 +3,7 @@ * (C) Copyright 2015 Linaro * Peter Griffin <peter.griffin@linaro.org> */ +#include <common.h> #include <cpu_func.h> #include <dm.h> #include <fdt_support.h> diff --git a/board/hisilicon/hikey960/hikey960.c b/board/hisilicon/hikey960/hikey960.c index 5029f4e..f41fabb 100644 --- a/board/hisilicon/hikey960/hikey960.c +++ b/board/hisilicon/hikey960/hikey960.c @@ -4,6 +4,7 @@ * Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> */ +#include <common.h> #include <cpu_func.h> #include <dm.h> #include <errno.h> diff --git a/board/hisilicon/poplar/poplar.c b/board/hisilicon/poplar/poplar.c index c3ea080..b89e7e8 100644 --- a/board/hisilicon/poplar/poplar.c +++ b/board/hisilicon/poplar/poplar.c @@ -4,6 +4,7 @@ * Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> */ +#include <common.h> #include <cpu_func.h> #include <dm.h> #include <init.h> diff --git a/board/hoperun/hihope-rzg2/hihope-rzg2.c b/board/hoperun/hihope-rzg2/hihope-rzg2.c index 0966e25..68d3d30 100644 --- a/board/hoperun/hihope-rzg2/hihope-rzg2.c +++ b/board/hoperun/hihope-rzg2/hihope-rzg2.c @@ -6,6 +6,7 @@ * Copyright (C) 2021 Renesas Electronics Corporation */ +#include <common.h> #include <asm/global_data.h> #include <asm/io.h> #include <asm/processor.h> diff --git a/board/imgtec/boston/checkboard.c b/board/imgtec/boston/checkboard.c index b0f7d32..c246a7b 100644 --- a/board/imgtec/boston/checkboard.c +++ b/board/imgtec/boston/checkboard.c @@ -3,6 +3,7 @@ * Copyright (C) 2016 Imagination Technologies */ +#include <common.h> #include <init.h> #include <asm/io.h> diff --git a/board/imgtec/boston/ddr.c b/board/imgtec/boston/ddr.c index 55356d1..cecf454 100644 --- a/board/imgtec/boston/ddr.c +++ b/board/imgtec/boston/ddr.c @@ -3,7 +3,7 @@ * Copyright (C) 2016 Imagination Technologies */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/imgtec/boston/dt.c b/board/imgtec/boston/dt.c index 874a21c..bf772ff 100644 --- a/board/imgtec/boston/dt.c +++ b/board/imgtec/boston/dt.c @@ -3,6 +3,7 @@ * Copyright (C) 2016 Imagination Technologies */ +#include <common.h> #include <fdt_support.h> #include <asm/global_data.h> diff --git a/board/imgtec/ci20/ci20.c b/board/imgtec/ci20/ci20.c index 4e26838..89f5e7a 100644 --- a/board/imgtec/ci20/ci20.c +++ b/board/imgtec/ci20/ci20.c @@ -6,6 +6,7 @@ * Author: Paul Burton <paul.burton@imgtec.com> */ +#include <common.h> #include <env.h> #include <init.h> #include <net.h> diff --git a/board/imgtec/malta/superio.c b/board/imgtec/malta/superio.c index edd5c20..aba11e2 100644 --- a/board/imgtec/malta/superio.c +++ b/board/imgtec/malta/superio.c @@ -6,6 +6,7 @@ * Setup code for the FDC37M817 super I/O controller */ +#include <common.h> #include <asm/io.h> #define SIO_CONF_PORT 0x3f0 diff --git a/board/imgtec/xilfpga/xilfpga.c b/board/imgtec/xilfpga/xilfpga.c index e50ee8e..7122692 100644 --- a/board/imgtec/xilfpga/xilfpga.c +++ b/board/imgtec/xilfpga/xilfpga.c @@ -8,7 +8,7 @@ * */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/intel/cherryhill/cherryhill.c b/board/intel/cherryhill/cherryhill.c index b4378af..c037d5b 100644 --- a/board/intel/cherryhill/cherryhill.c +++ b/board/intel/cherryhill/cherryhill.c @@ -3,6 +3,7 @@ * Copyright (C) 2017, Bin Meng <bmeng.cn@gmail.com> */ +#include <common.h> #include <asm/arch/gpio.h> #include <asm/fsp1/fsp_support.h> diff --git a/board/intel/cougarcanyon2/cougarcanyon2.c b/board/intel/cougarcanyon2/cougarcanyon2.c index e5cda06..7f61ef8 100644 --- a/board/intel/cougarcanyon2/cougarcanyon2.c +++ b/board/intel/cougarcanyon2/cougarcanyon2.c @@ -3,6 +3,7 @@ * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com> */ +#include <common.h> #include <dm.h> #include <errno.h> #include <init.h> diff --git a/board/intel/crownbay/crownbay.c b/board/intel/crownbay/crownbay.c index 036beb1..55095de 100644 --- a/board/intel/crownbay/crownbay.c +++ b/board/intel/crownbay/crownbay.c @@ -3,6 +3,7 @@ * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com> */ +#include <common.h> #include <init.h> #include <asm/ibmpc.h> #include <asm/pnp_def.h> diff --git a/board/intel/edison/edison.c b/board/intel/edison/edison.c index 911ffda..11e7f74 100644 --- a/board/intel/edison/edison.c +++ b/board/intel/edison/edison.c @@ -2,6 +2,7 @@ /* * Copyright (c) 2017 Intel Corporation */ +#include <common.h> #include <env.h> #include <init.h> #include <mmc.h> diff --git a/board/intel/galileo/galileo.c b/board/intel/galileo/galileo.c index 19e5d09..341b627 100644 --- a/board/intel/galileo/galileo.c +++ b/board/intel/galileo/galileo.c @@ -3,6 +3,7 @@ * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com> */ +#include <common.h> #include <asm/io.h> #include <asm/arch/device.h> #include <asm/arch/quark.h> diff --git a/board/intel/minnowmax/minnowmax.c b/board/intel/minnowmax/minnowmax.c index cdc2e0b..b02e3f0 100644 --- a/board/intel/minnowmax/minnowmax.c +++ b/board/intel/minnowmax/minnowmax.c @@ -3,6 +3,7 @@ * Copyright (C) 2015, Google, Inc */ +#include <common.h> #include <dm.h> #include <init.h> #include <log.h> diff --git a/board/intel/slimbootloader/slimbootloader.c b/board/intel/slimbootloader/slimbootloader.c index f92c0b5..b20ddf0 100644 --- a/board/intel/slimbootloader/slimbootloader.c +++ b/board/intel/slimbootloader/slimbootloader.c @@ -3,6 +3,7 @@ * Copyright (C) 2019 Intel Corporation <www.intel.com> */ +#include <common.h> #include <init.h> int board_early_init_r(void) diff --git a/board/inversepath/usbarmory/usbarmory.c b/board/inversepath/usbarmory/usbarmory.c index fbed8ab..f3a0de3 100644 --- a/board/inversepath/usbarmory/usbarmory.c +++ b/board/inversepath/usbarmory/usbarmory.c @@ -7,7 +7,7 @@ * Andrej Rosano <andrej@inversepath.com> */ -#include <config.h> +#include <common.h> #include <command.h> #include <fs.h> #include <init.h> diff --git a/board/iomega/iconnect/iconnect.c b/board/iomega/iconnect/iconnect.c index 00b0898..0387160 100644 --- a/board/iomega/iconnect/iconnect.c +++ b/board/iomega/iconnect/iconnect.c @@ -6,6 +6,7 @@ * Luka Perkov <luka@openwrt.org> */ +#include <common.h> #include <init.h> #include <netdev.h> #include <asm/arch/cpu.h> diff --git a/board/isee/igep003x/board.c b/board/isee/igep003x/board.c index 7cd26ce..7dbb080 100644 --- a/board/isee/igep003x/board.c +++ b/board/isee/igep003x/board.c @@ -5,7 +5,7 @@ * Copyright (C) 2013-2017, ISEE 2007 SL - http://www.isee.biz/ */ -#include <config.h> +#include <common.h> #include <env.h> #include <errno.h> #include <init.h> diff --git a/board/isee/igep003x/mux.c b/board/isee/igep003x/mux.c index 1a40c00..550e3b3 100644 --- a/board/isee/igep003x/mux.c +++ b/board/isee/igep003x/mux.c @@ -11,6 +11,7 @@ * GNU General Public License for more details. */ +#include <common.h> #include <asm/arch/sys_proto.h> #include <asm/arch/hardware.h> #include <asm/arch/mux.h> diff --git a/board/isee/igep00x0/common.c b/board/isee/igep00x0/common.c index 2584d2e..3fdf83e 100644 --- a/board/isee/igep00x0/common.c +++ b/board/isee/igep00x0/common.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0+ +#include <common.h> #include <twl4030.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c index 8a3f290..0f0a9c5 100644 --- a/board/isee/igep00x0/igep00x0.c +++ b/board/isee/igep00x0/igep00x0.c @@ -3,7 +3,7 @@ * (C) Copyright 2010 * ISEE 2007 SL, <www.iseebcn.com> */ -#include <config.h> +#include <common.h> #include <env.h> #include <init.h> #include <malloc.h> diff --git a/board/k+p/kp_imx53/kp_id_rev.c b/board/k+p/kp_imx53/kp_id_rev.c index cbfe94e..9f93cf0 100644 --- a/board/k+p/kp_imx53/kp_id_rev.c +++ b/board/k+p/kp_imx53/kp_id_rev.c @@ -9,11 +9,11 @@ * Daniel Gericke <daniel.gericke@tqs.de> */ +#include <common.h> #include <env.h> #include <i2c.h> #include "kp_id_rev.h" #include <net.h> -#include <vsprintf.h> static int eeprom_has_been_read; static struct id_eeprom eeprom; diff --git a/board/k+p/kp_imx53/kp_imx53.c b/board/k+p/kp_imx53/kp_imx53.c index efb7b49..7c3a695 100644 --- a/board/k+p/kp_imx53/kp_imx53.c +++ b/board/k+p/kp_imx53/kp_imx53.c @@ -4,6 +4,7 @@ * Lukasz Majewski, DENX Software Engineering, lukma@denx.de */ +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c b/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c index e089519..e6877e4 100644 --- a/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c +++ b/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c @@ -5,6 +5,7 @@ * Copyright (C) 2018 Lukasz Majewski <lukma@denx.de> */ +#include <common.h> #include <init.h> #include <asm/arch/clock.h> #include <asm/arch/crm_regs.h> diff --git a/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c b/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c index 6a5e252..5490243 100644 --- a/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c +++ b/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc_spl.c @@ -5,6 +5,7 @@ * Copyright (C) 2018 Lukasz Majewski <lukma@denx.de> */ +#include <common.h> #include <init.h> #include <log.h> #include <asm/arch/clock.h> diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c index 9358c25..991022a 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 <config.h> +#include <common.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 f01fe44..67db0c5 100644 --- a/board/keymile/common/ivm.c +++ b/board/keymile/common/ivm.c @@ -4,11 +4,10 @@ * 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 c829948..b433f69 100644 --- a/board/keymile/common/qrio.c +++ b/board/keymile/common/qrio.c @@ -4,7 +4,7 @@ * Valentin Longchamp <valentin.longchamp@keymile.com> */ -#include <config.h> +#include <common.h> #include <asm/io.h> #include <linux/bitops.h> diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx/km83xx.c index 40718aa..acd1310 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 <config.h> +#include <common.h> #include <env.h> #include <event.h> #include <fdt_support.h> diff --git a/board/keymile/kmcent2/tlb.c b/board/keymile/kmcent2/tlb.c index 77e11e9..41b24e3 100644 --- a/board/keymile/kmcent2/tlb.c +++ b/board/keymile/kmcent2/tlb.c @@ -7,7 +7,7 @@ */ #include <asm/mmu.h> -#include <asm/ppc.h> +#include <asm/u-boot.h> struct fsl_e_tlb_entry tlb_table[] = { /* TLB 0 - for temp stack in cache */ diff --git a/board/keymile/pg-wcom-ls102xa/ddr.c b/board/keymile/pg-wcom-ls102xa/ddr.c index 51938a1..556d39d 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 <config.h> +#include <common.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 1a626c5..6a4cb21 100644 --- a/board/keymile/secu1/socfpga.c +++ b/board/keymile/secu1/socfpga.c @@ -2,6 +2,7 @@ /* * Copyright (C) 2017-2020 Hitachi Power Grids */ +#include <common.h> #include <i2c.h> #include <asm/gpio.h> diff --git a/board/kobol/helios4/helios4.c b/board/kobol/helios4/helios4.c index 4c8407b..9c5b687 100644 --- a/board/kobol/helios4/helios4.c +++ b/board/kobol/helios4/helios4.c @@ -4,7 +4,7 @@ * based on board/solidrun/clearfog/clearfog.c */ -#include <config.h> +#include <common.h> #include <i2c.h> #include <init.h> #include <miiphy.h> diff --git a/board/kontron/pitx_imx8m/pitx_imx8m.c b/board/kontron/pitx_imx8m/pitx_imx8m.c index a908aee..4548e7c 100644 --- a/board/kontron/pitx_imx8m/pitx_imx8m.c +++ b/board/kontron/pitx_imx8m/pitx_imx8m.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0+ #include "pitx_misc.h" +#include <common.h> #include <efi.h> #include <efi_loader.h> #include <init.h> diff --git a/board/kontron/pitx_imx8m/spl.c b/board/kontron/pitx_imx8m/spl.c index 475e52f..a247803 100644 --- a/board/kontron/pitx_imx8m/spl.c +++ b/board/kontron/pitx_imx8m/spl.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0+ -#include <config.h> +#include <common.h> #include <errno.h> #include <fsl_esdhc_imx.h> #include <hang.h> diff --git a/board/kontron/sl-mx8mm/lpddr4_timing.c b/board/kontron/sl-mx8mm/lpddr4_timing.c index 851aeef..74b79c7 100644 --- a/board/kontron/sl-mx8mm/lpddr4_timing.c +++ b/board/kontron/sl-mx8mm/lpddr4_timing.c @@ -4,6 +4,7 @@ */ #include <linux/kernel.h> +#include <common.h> #include <asm/arch/ddr.h> #include <asm/arch/lpddr4_define.h> diff --git a/board/kontron/sl28/cmds.c b/board/kontron/sl28/cmds.c index 7851361..08a22b5 100644 --- a/board/kontron/sl28/cmds.c +++ b/board/kontron/sl28/cmds.c @@ -5,11 +5,10 @@ * Copyright (c) 2020 Kontron Europe GmbH */ +#include <common.h> #include <command.h> #include <i2c.h> -#include <vsprintf.h> #include <linux/delay.h> -#include <linux/errno.h> #define CPLD_I2C_ADDR 0x4a #define REG_UFM_CTRL 0x02 diff --git a/board/kontron/sl28/common.c b/board/kontron/sl28/common.c index d8d0172..331de29 100644 --- a/board/kontron/sl28/common.c +++ b/board/kontron/sl28/common.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0+ -#include <config.h> +#include <common.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/kontron/sl28/ddr.c b/board/kontron/sl28/ddr.c index 9b881fd..315d9f9 100644 --- a/board/kontron/sl28/ddr.c +++ b/board/kontron/sl28/ddr.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0+ -#include <config.h> +#include <common.h> #include <asm/global_data.h> #include <asm/io.h> #include <fsl_ddr_sdram.h> diff --git a/board/kontron/sl28/sl28.c b/board/kontron/sl28/sl28.c index adfec8b..4ab221c 100644 --- a/board/kontron/sl28/sl28.c +++ b/board/kontron/sl28/sl28.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0+ +#include <common.h> #include <dm.h> #include <malloc.h> #include <efi.h> diff --git a/board/kontron/sl28/spl.c b/board/kontron/sl28/spl.c index 45a4fc6..80acde7 100644 --- a/board/kontron/sl28/spl.c +++ b/board/kontron/sl28/spl.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0+ -#include <config.h> +#include <common.h> #include <asm/io.h> #include <asm/spl.h> #include <asm/arch-fsl-layerscape/fsl_serdes.h> diff --git a/board/kontron/sl28/spl_atf.c b/board/kontron/sl28/spl_atf.c index 0710316..a9cd685 100644 --- a/board/kontron/sl28/spl_atf.c +++ b/board/kontron/sl28/spl_atf.c @@ -5,7 +5,7 @@ * Copyright (c) 2020 Michael Walle <michael@walle.cc> */ -#include <config.h> +#include <common.h> #include <asm/global_data.h> #include <asm/io.h> #include <atf_common.h> diff --git a/board/kosagi/novena/novena.c b/board/kosagi/novena/novena.c index 3220727..f009a8a 100644 --- a/board/kosagi/novena/novena.c +++ b/board/kosagi/novena/novena.c @@ -5,6 +5,7 @@ * Copyright (C) 2014 Marek Vasut <marex@denx.de> */ +#include <common.h> #include <display_options.h> #include <dm.h> #include <eeprom.h> diff --git a/board/kosagi/novena/novena_spl.c b/board/kosagi/novena/novena_spl.c index 008418b..24c0fb2 100644 --- a/board/kosagi/novena/novena_spl.c +++ b/board/kosagi/novena/novena_spl.c @@ -5,7 +5,7 @@ * Copyright (C) 2014 Marek Vasut <marex@denx.de> */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <init.h> #include <asm/io.h> diff --git a/board/kosagi/novena/video.c b/board/kosagi/novena/video.c index be5a737..a96a877 100644 --- a/board/kosagi/novena/video.c +++ b/board/kosagi/novena/video.c @@ -9,6 +9,7 @@ * Copyright (C) 2014 Marek Vasut <marex@denx.de> */ +#include <common.h> #include <log.h> #include <linux/delay.h> #include <linux/errno.h> diff --git a/board/l+g/vinco/vinco.c b/board/l+g/vinco/vinco.c index 066d315..b3c176d 100644 --- a/board/l+g/vinco/vinco.c +++ b/board/l+g/vinco/vinco.c @@ -9,7 +9,7 @@ * Gregory CLEMENT <gregory.clement@free-electrons.com> */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/lego/ev3/legoev3.c b/board/lego/ev3/legoev3.c index 1a15366..43afe59 100644 --- a/board/lego/ev3/legoev3.c +++ b/board/lego/ev3/legoev3.c @@ -12,7 +12,7 @@ * Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net> */ -#include <config.h> +#include <common.h> #include <env.h> #include <i2c.h> #include <init.h> diff --git a/board/lg/sniper/sniper.c b/board/lg/sniper/sniper.c index 88d5d08..86032d7 100644 --- a/board/lg/sniper/sniper.c +++ b/board/lg/sniper/sniper.c @@ -6,6 +6,7 @@ */ #include <config.h> +#include <common.h> #include <dm.h> #include <env.h> #include <fastboot.h> diff --git a/board/liebherr/display5/display5.c b/board/liebherr/display5/display5.c index a0bbd03..e3a59db 100644 --- a/board/liebherr/display5/display5.c +++ b/board/liebherr/display5/display5.c @@ -4,6 +4,7 @@ * Lukasz Majewski, DENX Software Engineering, lukma@denx.de */ +#include <common.h> #include <dm.h> #include <fdt_support.h> #include <init.h> diff --git a/board/liebherr/display5/spl.c b/board/liebherr/display5/spl.c index 819d3ac..97928e9 100644 --- a/board/liebherr/display5/spl.c +++ b/board/liebherr/display5/spl.c @@ -4,6 +4,7 @@ * Lukasz Majewski, DENX Software Engineering, lukma@denx.de */ +#include <common.h> #include <cpu_func.h> #include <env.h> #include <image.h> diff --git a/board/liebherr/mccmon6/mccmon6.c b/board/liebherr/mccmon6/mccmon6.c index fef915b..1b49526 100644 --- a/board/liebherr/mccmon6/mccmon6.c +++ b/board/liebherr/mccmon6/mccmon6.c @@ -4,6 +4,7 @@ * Lukasz Majewski, DENX Software Engineering, lukma@denx.de */ +#include <common.h> #include <env.h> #include <init.h> #include <serial.h> diff --git a/board/liebherr/xea/spl_xea.c b/board/liebherr/xea/spl_xea.c index 88c157e..6cf8f83 100644 --- a/board/liebherr/xea/spl_xea.c +++ b/board/liebherr/xea/spl_xea.c @@ -12,6 +12,7 @@ * on behalf of DENX Software Engineering GmbH */ +#include <common.h> #include <config.h> #include <asm/io.h> #include <asm/arch/iomux-mx28.h> diff --git a/board/liebherr/xea/xea.c b/board/liebherr/xea/xea.c index 9ade356..0a6fd7f 100644 --- a/board/liebherr/xea/xea.c +++ b/board/liebherr/xea/xea.c @@ -13,6 +13,7 @@ * */ +#include <common.h> #include <fdt_support.h> #include <init.h> #include <log.h> diff --git a/board/logicpd/am3517evm/am3517evm.c b/board/logicpd/am3517evm/am3517evm.c index e6ca310..e69a73f 100644 --- a/board/logicpd/am3517evm/am3517evm.c +++ b/board/logicpd/am3517evm/am3517evm.c @@ -10,6 +10,7 @@ * Texas Instruments Incorporated - https://www.ti.com/ */ +#include <common.h> #include <dm.h> #include <init.h> #include <net.h> diff --git a/board/logicpd/imx6/imx6logic.c b/board/logicpd/imx6/imx6logic.c index 589136f..0d53548 100644 --- a/board/logicpd/imx6/imx6logic.c +++ b/board/logicpd/imx6/imx6logic.c @@ -8,6 +8,7 @@ * and updates by Jagan Teki <jagan@amarulasolutions.com> */ +#include <common.h> #include <env.h> #include <init.h> #include <miiphy.h> diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c index a9fe619..8699282 100644 --- a/board/logicpd/omap3som/omap3logic.c +++ b/board/logicpd/omap3som/omap3logic.c @@ -10,7 +10,7 @@ * Richard Woodruff <r-woodruff2@ti.com> * Syed Mohammed Khasim <khasim@ti.com> */ -#include <config.h> +#include <common.h> #include <dm.h> #include <init.h> #include <net.h> diff --git a/board/maxbcm/maxbcm.c b/board/maxbcm/maxbcm.c index e011520..aad3dc8 100644 --- a/board/maxbcm/maxbcm.c +++ b/board/maxbcm/maxbcm.c @@ -3,6 +3,7 @@ * Copyright (C) 2014 Stefan Roese <sr@denx.de> */ +#include <common.h> #include <init.h> #include <miiphy.h> #include <asm/global_data.h> diff --git a/board/mediatek/mt7622/mt7622_rfb.c b/board/mediatek/mt7622/mt7622_rfb.c index e7f492a..2cc73bc 100644 --- a/board/mediatek/mt7622/mt7622_rfb.c +++ b/board/mediatek/mt7622/mt7622_rfb.c @@ -4,6 +4,7 @@ * Author: Sam Shih <sam.shih@mediatek.com> */ +#include <common.h> #include <config.h> #include <env.h> #include <init.h> diff --git a/board/mediatek/mt7623/mt7623_rfb.c b/board/mediatek/mt7623/mt7623_rfb.c index c78eaa0..ec10f77 100644 --- a/board/mediatek/mt7623/mt7623_rfb.c +++ b/board/mediatek/mt7623/mt7623_rfb.c @@ -3,7 +3,7 @@ * Copyright (C) 2018 MediaTek Inc. */ -#include <config.h> +#include <common.h> #include <mmc.h> #include <asm/global_data.h> diff --git a/board/mediatek/mt7629/mt7629_rfb.c b/board/mediatek/mt7629/mt7629_rfb.c index 0271918..55f7696 100644 --- a/board/mediatek/mt7629/mt7629_rfb.c +++ b/board/mediatek/mt7629/mt7629_rfb.c @@ -3,7 +3,7 @@ * Copyright (C) 2018 MediaTek Inc. */ -#include <config.h> +#include <common.h> #include <asm/global_data.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/mediatek/mt8183/mt8183_pumpkin.c b/board/mediatek/mt8183/mt8183_pumpkin.c index 1b87369..db613eb 100644 --- a/board/mediatek/mt8183/mt8183_pumpkin.c +++ b/board/mediatek/mt8183/mt8183_pumpkin.c @@ -4,6 +4,7 @@ * Author: Fabien Parent <fparent@baylibre.com> */ +#include <common.h> #include <dm.h> #include <net.h> diff --git a/board/mediatek/mt8512/mt8512.c b/board/mediatek/mt8512/mt8512.c index d2f557f..ac3adb8 100644 --- a/board/mediatek/mt8512/mt8512.c +++ b/board/mediatek/mt8512/mt8512.c @@ -3,6 +3,7 @@ * Copyright (C) 2019 MediaTek Inc. */ +#include <common.h> #include <dm.h> #include <log.h> #include <wdt.h> diff --git a/board/mediatek/mt8516/mt8516_pumpkin.c b/board/mediatek/mt8516/mt8516_pumpkin.c index 930bfec..42f3863 100644 --- a/board/mediatek/mt8516/mt8516_pumpkin.c +++ b/board/mediatek/mt8516/mt8516_pumpkin.c @@ -3,6 +3,7 @@ * Copyright (C) 2019 BayLibre SAS */ +#include <common.h> #include <dm.h> #include <net.h> diff --git a/board/mediatek/mt8518/mt8518_ap1.c b/board/mediatek/mt8518/mt8518_ap1.c index 745cfda..e03da63 100644 --- a/board/mediatek/mt8518/mt8518_ap1.c +++ b/board/mediatek/mt8518/mt8518_ap1.c @@ -3,7 +3,7 @@ * Copyright (C) 2019 MediaTek Inc. */ -#include <config.h> +#include <common.h> #include <dm.h> #include <init.h> #include <log.h> diff --git a/board/menlo/m53menlo/m53menlo.c b/board/menlo/m53menlo/m53menlo.c index 79351f4..b8dffb0 100644 --- a/board/menlo/m53menlo/m53menlo.c +++ b/board/menlo/m53menlo/m53menlo.c @@ -6,6 +6,7 @@ * Copyright (C) 2014-2017 Olaf Mandel <o.mandel@menlosystems.com> */ +#include <common.h> #include <dm.h> #include <init.h> #include <malloc.h> diff --git a/board/menlo/mx8menlo/mx8menlo.c b/board/menlo/mx8menlo/mx8menlo.c index f47b45c..18f5fd5 100644 --- a/board/menlo/mx8menlo/mx8menlo.c +++ b/board/menlo/mx8menlo/mx8menlo.c @@ -3,6 +3,7 @@ * Copyright 2021-2022 Marek Vasut <marex@denx.de> */ +#include <common.h> #include <asm/arch/clock.h> #include <asm/arch/imx8mm_pins.h> #include <asm/arch/sys_proto.h> diff --git a/board/microchip/mpfs_icicle/mpfs_icicle.c b/board/microchip/mpfs_icicle/mpfs_icicle.c index 7beac33..0f5f829 100644 --- a/board/microchip/mpfs_icicle/mpfs_icicle.c +++ b/board/microchip/mpfs_icicle/mpfs_icicle.c @@ -4,6 +4,7 @@ * Padmarao Begari <padmarao.begari@microchip.com> */ +#include <common.h> #include <dm.h> #include <env.h> #include <init.h> diff --git a/board/microchip/pic32mzda/pic32mzda.c b/board/microchip/pic32mzda/pic32mzda.c index 848a1ae..3c2203d 100644 --- a/board/microchip/pic32mzda/pic32mzda.c +++ b/board/microchip/pic32mzda/pic32mzda.c @@ -7,6 +7,7 @@ * */ +#include <common.h> #include <dm.h> #include <clk.h> #include <init.h> diff --git a/board/mikrotik/crs3xx-98dx3236/crs3xx-98dx3236.c b/board/mikrotik/crs3xx-98dx3236/crs3xx-98dx3236.c index ae1c586..315169b 100644 --- a/board/mikrotik/crs3xx-98dx3236/crs3xx-98dx3236.c +++ b/board/mikrotik/crs3xx-98dx3236/crs3xx-98dx3236.c @@ -3,6 +3,7 @@ * Copyright (C) 2015 Stefan Roese <sr@denx.de> */ +#include <common.h> #include <i2c.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/mntre/imx8mq_reform2/imx8mq_reform2.c b/board/mntre/imx8mq_reform2/imx8mq_reform2.c index ebc490e..be5c506 100644 --- a/board/mntre/imx8mq_reform2/imx8mq_reform2.c +++ b/board/mntre/imx8mq_reform2/imx8mq_reform2.c @@ -4,6 +4,7 @@ * Copyright (C) 2018, Boundary Devices <info@boundarydevices.com> */ +#include <common.h> #include <env.h> #include <init.h> #include <malloc.h> diff --git a/board/mntre/imx8mq_reform2/spl.c b/board/mntre/imx8mq_reform2/spl.c index 48a7835..5120c62 100644 --- a/board/mntre/imx8mq_reform2/spl.c +++ b/board/mntre/imx8mq_reform2/spl.c @@ -5,7 +5,7 @@ * SPDX-License-Identifier: GPL-2.0+ */ -#include <config.h> +#include <common.h> #include <hang.h> #include <image.h> #include <init.h> diff --git a/board/msc/sm2s_imx8mp/sm2s_imx8mp.c b/board/msc/sm2s_imx8mp/sm2s_imx8mp.c index b1ce014..6ccbf02 100644 --- a/board/msc/sm2s_imx8mp/sm2s_imx8mp.c +++ b/board/msc/sm2s_imx8mp/sm2s_imx8mp.c @@ -7,6 +7,7 @@ * Copyright 2021 Collabora Ltd. */ +#include <common.h> #include <errno.h> #include <miiphy.h> #include <netdev.h> diff --git a/board/msc/sm2s_imx8mp/spl.c b/board/msc/sm2s_imx8mp/spl.c index b1b5561..ed7a1b7 100644 --- a/board/msc/sm2s_imx8mp/spl.c +++ b/board/msc/sm2s_imx8mp/spl.c @@ -7,7 +7,7 @@ * Copyright 2021 Collabora Ltd. */ -#include <config.h> +#include <common.h> #include <cpu_func.h> #include <fsl_esdhc_imx.h> #include <hang.h> diff --git a/board/mscc/common/spi.c b/board/mscc/common/spi.c index cb43ad6..45b9649 100644 --- a/board/mscc/common/spi.c +++ b/board/mscc/common/spi.c @@ -3,6 +3,7 @@ * Copyright (c) 2018 Microsemi Coprporation */ +#include <common.h> #include <asm/io.h> #include <spi.h> #include <linux/bitops.h> diff --git a/board/mscc/jr2/jr2.c b/board/mscc/jr2/jr2.c index acaeb46..84b95be 100644 --- a/board/mscc/jr2/jr2.c +++ b/board/mscc/jr2/jr2.c @@ -3,7 +3,7 @@ * Copyright (c) 2018 Microsemi Corporation */ -#include <config.h> +#include <common.h> #include <image.h> #include <init.h> #include <asm/io.h> diff --git a/board/mscc/luton/luton.c b/board/mscc/luton/luton.c index f9ea26e..48170b3 100644 --- a/board/mscc/luton/luton.c +++ b/board/mscc/luton/luton.c @@ -3,7 +3,7 @@ * Copyright (c) 2018 Microsemi Corporation */ -#include <config.h> +#include <common.h> #include <image.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/mscc/ocelot/ocelot.c b/board/mscc/ocelot/ocelot.c index 4cec25b..d69db04 100644 --- a/board/mscc/ocelot/ocelot.c +++ b/board/mscc/ocelot/ocelot.c @@ -3,7 +3,7 @@ * Copyright (c) 2018 Microsemi Corporation */ -#include <config.h> +#include <common.h> #include <image.h> #include <init.h> #include <log.h> diff --git a/board/mscc/serval/serval.c b/board/mscc/serval/serval.c index 951c24d..99d5f5b 100644 --- a/board/mscc/serval/serval.c +++ b/board/mscc/serval/serval.c @@ -3,7 +3,7 @@ * Copyright (c) 2018 Microsemi Corporation */ -#include <config.h> +#include <common.h> #include <image.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/mscc/servalt/servalt.c b/board/mscc/servalt/servalt.c index 9055b73..4999316 100644 --- a/board/mscc/servalt/servalt.c +++ b/board/mscc/servalt/servalt.c @@ -3,7 +3,7 @@ * Copyright (c) 2018 Microsemi Corporation */ -#include <config.h> +#include <common.h> #include <image.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/myir/mys_6ulx/spl.c b/board/myir/mys_6ulx/spl.c index 4414487..3cf14e2 100644 --- a/board/myir/mys_6ulx/spl.c +++ b/board/myir/mys_6ulx/spl.c @@ -4,7 +4,7 @@ * Author: Parthiban Nallathambi <parthiban@linumiz.com> */ -#include <config.h> +#include <common.h> #include <init.h> #include <spl.h> #include <asm/arch/clock.h> diff --git a/board/netgear/dgnd3700v2/dgnd3700v2.c b/board/netgear/dgnd3700v2/dgnd3700v2.c index 9cf3a2f..cfc3529 100644 --- a/board/netgear/dgnd3700v2/dgnd3700v2.c +++ b/board/netgear/dgnd3700v2/dgnd3700v2.c @@ -3,6 +3,7 @@ * Copyright (C) 2018 Álvaro Fernández Rojas <noltari@gmail.com> */ +#include <common.h> #include <init.h> #include <asm/io.h> #include <linux/bitops.h> diff --git a/board/novtech/meerkat96/meerkat96.c b/board/novtech/meerkat96/meerkat96.c index ca3b069..1edebe5 100644 --- a/board/novtech/meerkat96/meerkat96.c +++ b/board/novtech/meerkat96/meerkat96.c @@ -12,6 +12,7 @@ #include <asm/global_data.h> #include <asm/mach-imx/iomux-v3.h> #include <asm/io.h> +#include <common.h> #include <linux/sizes.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/nuvoton/arbel_evb/arbel_evb.c b/board/nuvoton/arbel_evb/arbel_evb.c index 1f51921..53c931c 100644 --- a/board/nuvoton/arbel_evb/arbel_evb.c +++ b/board/nuvoton/arbel_evb/arbel_evb.c @@ -3,6 +3,7 @@ * Copyright (c) 2022 Nuvoton Technology Corp. */ +#include <common.h> #include <dm.h> #include <asm/io.h> #include <asm/arch/gcr.h> diff --git a/board/nuvoton/poleg_evb/poleg_evb.c b/board/nuvoton/poleg_evb/poleg_evb.c index 3c4e5aa..e69bca9 100644 --- a/board/nuvoton/poleg_evb/poleg_evb.c +++ b/board/nuvoton/poleg_evb/poleg_evb.c @@ -4,6 +4,7 @@ * Copyright (c) 2021 Nuvoton Technology Corp. */ +#include <common.h> #include <dm.h> #include <env.h> #include <asm/io.h> diff --git a/board/nvidia/beaver/beaver-spl.c b/board/nvidia/beaver/beaver-spl.c index c6956ff..b5d0c14 100644 --- a/board/nvidia/beaver/beaver-spl.c +++ b/board/nvidia/beaver/beaver-spl.c @@ -7,6 +7,7 @@ * Svyatoslav Ryhel <clamor95@gmail.com> */ +#include <common.h> #include <asm/arch-tegra/tegra_i2c.h> #include <linux/delay.h> diff --git a/board/nvidia/cardhu/cardhu-spl.c b/board/nvidia/cardhu/cardhu-spl.c index 80912a6..de2fa30 100644 --- a/board/nvidia/cardhu/cardhu-spl.c +++ b/board/nvidia/cardhu/cardhu-spl.c @@ -7,6 +7,7 @@ * Svyatoslav Ryhel <clamor95@gmail.com> */ +#include <common.h> #include <asm/arch-tegra/tegra_i2c.h> #include <linux/delay.h> diff --git a/board/nvidia/cardhu/cardhu.c b/board/nvidia/cardhu/cardhu.c index ab0dc61..6848e34 100644 --- a/board/nvidia/cardhu/cardhu.c +++ b/board/nvidia/cardhu/cardhu.c @@ -4,6 +4,7 @@ * NVIDIA Corporation <www.nvidia.com> */ +#include <common.h> #include <dm.h> #include <log.h> #include <asm/arch/pinmux.h> diff --git a/board/nvidia/dalmore/dalmore.c b/board/nvidia/dalmore/dalmore.c index c00c634..72511e4 100644 --- a/board/nvidia/dalmore/dalmore.c +++ b/board/nvidia/dalmore/dalmore.c @@ -3,6 +3,7 @@ * Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved. */ +#include <common.h> #include <dm.h> #include <log.h> #include <asm/arch/pinmux.h> diff --git a/board/nvidia/harmony/harmony.c b/board/nvidia/harmony/harmony.c index da14e09..5223679 100644 --- a/board/nvidia/harmony/harmony.c +++ b/board/nvidia/harmony/harmony.c @@ -4,6 +4,7 @@ * NVIDIA Corporation <www.nvidia.com> */ +#include <common.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/funcmux.h> diff --git a/board/nvidia/jetson-tk1/jetson-tk1.c b/board/nvidia/jetson-tk1/jetson-tk1.c index da6edb4..7f3cdd7 100644 --- a/board/nvidia/jetson-tk1/jetson-tk1.c +++ b/board/nvidia/jetson-tk1/jetson-tk1.c @@ -4,6 +4,7 @@ * NVIDIA Corporation <www.nvidia.com> */ +#include <common.h> #include <dm.h> #include <log.h> #include <linux/printk.h> diff --git a/board/nvidia/nyan-big/nyan-big.c b/board/nvidia/nyan-big/nyan-big.c index e15f31d..06a36f8 100644 --- a/board/nvidia/nyan-big/nyan-big.c +++ b/board/nvidia/nyan-big/nyan-big.c @@ -4,6 +4,7 @@ * NVIDIA Corporation <www.nvidia.com> */ +#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> diff --git a/board/nvidia/p2371-0000/p2371-0000.c b/board/nvidia/p2371-0000/p2371-0000.c index edf2b1a..b819b04 100644 --- a/board/nvidia/p2371-0000/p2371-0000.c +++ b/board/nvidia/p2371-0000/p2371-0000.c @@ -4,6 +4,7 @@ * NVIDIA Corporation <www.nvidia.com> */ +#include <common.h> #include <i2c.h> #include <log.h> #include <asm/arch/gpio.h> diff --git a/board/nvidia/p2371-2180/p2371-2180.c b/board/nvidia/p2371-2180/p2371-2180.c index 5f203d8..816c7be 100644 --- a/board/nvidia/p2371-2180/p2371-2180.c +++ b/board/nvidia/p2371-2180/p2371-2180.c @@ -4,6 +4,7 @@ * NVIDIA Corporation <www.nvidia.com> */ +#include <common.h> #include <env.h> #include <fdtdec.h> #include <i2c.h> diff --git a/board/nvidia/p2571/p2571.c b/board/nvidia/p2571/p2571.c index 4056f98..a4c4259 100644 --- a/board/nvidia/p2571/p2571.c +++ b/board/nvidia/p2571/p2571.c @@ -4,6 +4,7 @@ * NVIDIA Corporation <www.nvidia.com> */ +#include <common.h> #include <i2c.h> #include <log.h> #include <asm/arch/gpio.h> diff --git a/board/nvidia/p2771-0000/p2771-0000.c b/board/nvidia/p2771-0000/p2771-0000.c index 12eaa7a..5ff89c4 100644 --- a/board/nvidia/p2771-0000/p2771-0000.c +++ b/board/nvidia/p2771-0000/p2771-0000.c @@ -3,6 +3,7 @@ * Copyright (c) 2016, NVIDIA CORPORATION */ +#include <common.h> #include <env.h> #include <fdtdec.h> #include <i2c.h> diff --git a/board/nvidia/p3450-0000/p3450-0000.c b/board/nvidia/p3450-0000/p3450-0000.c index 530c438..fb1a224 100644 --- a/board/nvidia/p3450-0000/p3450-0000.c +++ b/board/nvidia/p3450-0000/p3450-0000.c @@ -5,6 +5,7 @@ * */ +#include <common.h> #include <fdtdec.h> #include <i2c.h> #include <linux/bitops.h> diff --git a/board/nvidia/seaboard/seaboard.c b/board/nvidia/seaboard/seaboard.c index a646dcc..8297511 100644 --- a/board/nvidia/seaboard/seaboard.c +++ b/board/nvidia/seaboard/seaboard.c @@ -4,6 +4,7 @@ * NVIDIA Corporation <www.nvidia.com> */ +#include <common.h> #include <asm/io.h> #include <asm/mach-types.h> #include <asm/arch/tegra.h> diff --git a/board/nvidia/venice2/as3722_init.c b/board/nvidia/venice2/as3722_init.c index b89e037..395bdd9 100644 --- a/board/nvidia/venice2/as3722_init.c +++ b/board/nvidia/venice2/as3722_init.c @@ -4,6 +4,7 @@ * NVIDIA Corporation <www.nvidia.com> */ +#include <common.h> #include <log.h> #include <asm/io.h> #include <asm/arch-tegra/tegra_i2c.h> diff --git a/board/nvidia/venice2/venice2.c b/board/nvidia/venice2/venice2.c index fa10cda..d89bbe5 100644 --- a/board/nvidia/venice2/venice2.c +++ b/board/nvidia/venice2/venice2.c @@ -4,7 +4,7 @@ * NVIDIA Corporation <www.nvidia.com> */ -#include <linux/kernel.h> +#include <common.h> #include <asm/arch/gpio.h> #include <asm/arch/pinmux.h> #include "pinmux-config-venice2.h" diff --git a/board/olimex/mx23_olinuxino/mx23_olinuxino.c b/board/olimex/mx23_olinuxino/mx23_olinuxino.c index b2bb667..bdd5fcd 100644 --- a/board/olimex/mx23_olinuxino/mx23_olinuxino.c +++ b/board/olimex/mx23_olinuxino/mx23_olinuxino.c @@ -5,6 +5,7 @@ * Copyright (C) 2013 Marek Vasut <marex@denx.de> */ +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/gpio.h> diff --git a/board/olimex/mx23_olinuxino/spl_boot.c b/board/olimex/mx23_olinuxino/spl_boot.c index eb85ce9..248176c 100644 --- a/board/olimex/mx23_olinuxino/spl_boot.c +++ b/board/olimex/mx23_olinuxino/spl_boot.c @@ -5,6 +5,7 @@ * Copyright (C) 2013 Marek Vasut <marex@denx.de> */ +#include <common.h> #include <config.h> #include <asm/io.h> #include <asm/arch/iomux-mx23.h> diff --git a/board/openpiton/riscv64/openpiton-riscv64.c b/board/openpiton/riscv64/openpiton-riscv64.c index 4c957e8..f2282d1 100644 --- a/board/openpiton/riscv64/openpiton-riscv64.c +++ b/board/openpiton/riscv64/openpiton-riscv64.c @@ -8,6 +8,7 @@ * Pragnesh Patel <pragnesh.patel@sifive.com> * Tianrui Wei <tianrui-wei@outlook.com> */ +#include <common.h> #include <init.h> #include <configs/openpiton-riscv64.h> #include <dm.h> diff --git a/board/out4/o4-imx6ull-nano/o4-imx6ull-nano.c b/board/out4/o4-imx6ull-nano/o4-imx6ull-nano.c index 10469ae..edb200e 100644 --- a/board/out4/o4-imx6ull-nano/o4-imx6ull-nano.c +++ b/board/out4/o4-imx6ull-nano/o4-imx6ull-nano.c @@ -5,6 +5,7 @@ #include <asm/arch/sys_proto.h> #include <asm/global_data.h> #include <asm/mach-imx/boot_mode.h> +#include <common.h> #include <env.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/phytec/common/Makefile b/board/phytec/common/Makefile index c34fc50..3feb00f 100644 --- a/board/phytec/common/Makefile +++ b/board/phytec/common/Makefile @@ -5,8 +5,6 @@ ifdef CONFIG_SPL_BUILD # necessary to create built-in.o obj- := __dummy__.o -else -obj-$(CONFIG_ARCH_K3) += k3/ endif obj-y += phytec_som_detection.o diff --git a/board/phytec/common/imx8m_som_detection.c b/board/phytec/common/imx8m_som_detection.c index bfd60ff..ee34a5b 100644 --- a/board/phytec/common/imx8m_som_detection.c +++ b/board/phytec/common/imx8m_som_detection.c @@ -4,6 +4,7 @@ * Author: Teresa Remmet <t.remmet@phytec.de> */ +#include <common.h> #include <asm/arch/sys_proto.h> #include <dm/device.h> #include <dm/uclass.h> diff --git a/board/phytec/common/k3/Makefile b/board/phytec/common/k3/Makefile deleted file mode 100644 index bcca1a9..0000000 --- a/board/phytec/common/k3/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0+ -obj-y += board.o diff --git a/board/phytec/common/k3/board.c b/board/phytec/common/k3/board.c deleted file mode 100644 index 9cb168c..0000000 --- a/board/phytec/common/k3/board.c +++ /dev/null @@ -1,73 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2024 PHYTEC Messtechnik GmbH - * Author: Wadim Egorov <w.egorov@phytec.de> - */ - -#include <env_internal.h> -#include <spl.h> -#include <asm/arch/hardware.h> - -#if IS_ENABLED(CONFIG_ENV_IS_IN_FAT) || IS_ENABLED(CONFIG_ENV_IS_IN_MMC) -int mmc_get_env_dev(void) -{ - u32 boot_device = get_boot_device(); - - switch (boot_device) { - case BOOT_DEVICE_MMC1: - return 0; - case BOOT_DEVICE_MMC2: - return 1; - }; - - return CONFIG_SYS_MMC_ENV_DEV; -} -#endif - -enum env_location env_get_location(enum env_operation op, int prio) -{ - u32 boot_device = get_boot_device(); - - if (prio) - return ENVL_UNKNOWN; - - switch (boot_device) { - case BOOT_DEVICE_MMC1: - case BOOT_DEVICE_MMC2: - if (CONFIG_IS_ENABLED(ENV_IS_IN_FAT)) - return ENVL_FAT; - if (CONFIG_IS_ENABLED(ENV_IS_IN_MMC)) - return ENVL_MMC; - case BOOT_DEVICE_SPI: - if (CONFIG_IS_ENABLED(ENV_IS_IN_SPI_FLASH)) - return ENVL_SPI_FLASH; - default: - return ENVL_NOWHERE; - }; -} - -#if IS_ENABLED(CONFIG_BOARD_LATE_INIT) -int board_late_init(void) -{ - u32 boot_device = get_boot_device(); - - switch (boot_device) { - case BOOT_DEVICE_MMC1: - env_set_ulong("mmcdev", 0); - env_set("boot", "mmc"); - break; - case BOOT_DEVICE_MMC2: - env_set_ulong("mmcdev", 1); - env_set("boot", "mmc"); - break; - case BOOT_DEVICE_SPI: - env_set("boot", "spi"); - break; - case BOOT_DEVICE_ETHERNET: - env_set("boot", "net"); - break; - }; - - return 0; -} -#endif diff --git a/board/phytec/common/phytec_som_detection.c b/board/phytec/common/phytec_som_detection.c index b14bb3d..78c173d 100644 --- a/board/phytec/common/phytec_som_detection.c +++ b/board/phytec/common/phytec_som_detection.c @@ -4,6 +4,7 @@ * Author: Teresa Remmet <t.remmet@phytec.de> */ +#include <common.h> #include <dm/device.h> #include <dm/uclass.h> #include <i2c.h> diff --git a/board/phytec/pcl063/spl.c b/board/phytec/pcl063/spl.c index b98c46d..b6d459f 100644 --- a/board/phytec/pcl063/spl.c +++ b/board/phytec/pcl063/spl.c @@ -6,7 +6,7 @@ * Copyright (C) 2015-2016 Stefan Roese <sr@denx.de> */ -#include <config.h> +#include <common.h> #include <init.h> #include <spl.h> #include <asm/arch/clock.h> diff --git a/board/phytec/pcm052/pcm052.c b/board/phytec/pcm052/pcm052.c index 20f2aac..0f72359 100644 --- a/board/phytec/pcm052/pcm052.c +++ b/board/phytec/pcm052/pcm052.c @@ -6,6 +6,7 @@ * Copyright 2013 Freescale Semiconductor, Inc. */ +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/phytec/pcm058/pcm058.c b/board/phytec/pcm058/pcm058.c index ecc5b75..b37c6fe 100644 --- a/board/phytec/pcm058/pcm058.c +++ b/board/phytec/pcm058/pcm058.c @@ -9,6 +9,7 @@ * Both NAND and eMMC cannot be set because they share the * same pins (SD4) */ +#include <common.h> #include <init.h> #include <net.h> #include <asm/arch/crm_regs.h> diff --git a/board/phytec/phycore_am335x_r2/board.c b/board/phytec/phycore_am335x_r2/board.c index 2022525..5700eff 100644 --- a/board/phytec/phycore_am335x_r2/board.c +++ b/board/phytec/phycore_am335x_r2/board.c @@ -10,7 +10,7 @@ * Copyright (C) 2019 DENX Software Engineering GmbH */ -#include <config.h> +#include <common.h> #include <init.h> #include <spl.h> #include <asm/arch/cpu.h> diff --git a/board/phytec/phycore_am335x_r2/mux.c b/board/phytec/phycore_am335x_r2/mux.c index bb1c48d..7091c98 100644 --- a/board/phytec/phycore_am335x_r2/mux.c +++ b/board/phytec/phycore_am335x_r2/mux.c @@ -6,6 +6,7 @@ * Copyright (C) 2019 DENX Software Engineering GmbH */ +#include <common.h> #include <asm/arch/sys_proto.h> #include <asm/arch/hardware.h> #include <asm/arch/mux.h> diff --git a/board/phytec/phycore_am62x/phycore-am62x.c b/board/phytec/phycore_am62x/phycore-am62x.c index a082b88..618b4c3 100644 --- a/board/phytec/phycore_am62x/phycore-am62x.c +++ b/board/phytec/phycore_am62x/phycore-am62x.c @@ -5,8 +5,11 @@ */ #include <asm/io.h> +#include <env.h> +#include <env_internal.h> #include <spl.h> #include <fdt_support.h> +#include <asm/arch/hardware.h> DECLARE_GLOBAL_DATA_PTR; @@ -54,3 +57,67 @@ void spl_board_init(void) MCU_CTRL_DEVICE_CLKOUT_32K_CTRL); } #endif + +#if IS_ENABLED(CONFIG_ENV_IS_IN_FAT) || IS_ENABLED(CONFIG_ENV_IS_IN_MMC) +int mmc_get_env_dev(void) +{ + u32 boot_device = get_boot_device(); + + switch (boot_device) { + case BOOT_DEVICE_MMC1: + return 0; + case BOOT_DEVICE_MMC2: + return 1; + }; + + return CONFIG_SYS_MMC_ENV_DEV; +} +#endif + +enum env_location env_get_location(enum env_operation op, int prio) +{ + u32 boot_device = get_boot_device(); + + if (prio) + return ENVL_UNKNOWN; + + switch (boot_device) { + case BOOT_DEVICE_MMC1: + case BOOT_DEVICE_MMC2: + if (CONFIG_IS_ENABLED(ENV_IS_IN_FAT)) + return ENVL_FAT; + if (CONFIG_IS_ENABLED(ENV_IS_IN_MMC)) + return ENVL_MMC; + case BOOT_DEVICE_SPI: + if (CONFIG_IS_ENABLED(ENV_IS_IN_SPI_FLASH)) + return ENVL_SPI_FLASH; + default: + return ENVL_NOWHERE; + }; +} + +#if IS_ENABLED(CONFIG_BOARD_LATE_INIT) +int board_late_init(void) +{ + u32 boot_device = get_boot_device(); + + switch (boot_device) { + case BOOT_DEVICE_MMC1: + env_set_ulong("mmcdev", 0); + env_set("boot", "mmc"); + break; + case BOOT_DEVICE_MMC2: + env_set_ulong("mmcdev", 1); + env_set("boot", "mmc"); + break; + case BOOT_DEVICE_SPI: + env_set("boot", "spi"); + break; + case BOOT_DEVICE_ETHERNET: + env_set("boot", "net"); + break; + }; + + return 0; +} +#endif diff --git a/board/phytec/phycore_imx8mm/phycore-imx8mm.c b/board/phytec/phycore_imx8mm/phycore-imx8mm.c index 06cffbc..ef64729 100644 --- a/board/phytec/phycore_imx8mm/phycore-imx8mm.c +++ b/board/phytec/phycore_imx8mm/phycore-imx8mm.c @@ -4,6 +4,7 @@ * Author: Teresa Remmet <t.remmet@phytec.de> */ +#include <common.h> #include <asm/arch/sys_proto.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/phytec/phycore_imx8mm/spl.c b/board/phytec/phycore_imx8mm/spl.c index 8d85859..690a51f 100644 --- a/board/phytec/phycore_imx8mm/spl.c +++ b/board/phytec/phycore_imx8mm/spl.c @@ -4,6 +4,7 @@ * Author: Teresa Remmet <t.remmet@phytec.de> */ +#include <common.h> #include <asm/arch/clock.h> #include <asm/arch/ddr.h> #include <asm/arch/imx8mm_pins.h> diff --git a/board/phytec/phycore_imx8mp/phycore-imx8mp.c b/board/phytec/phycore_imx8mp/phycore-imx8mp.c index 3568359..dbdd6bb 100644 --- a/board/phytec/phycore_imx8mp/phycore-imx8mp.c +++ b/board/phytec/phycore_imx8mp/phycore-imx8mp.c @@ -4,6 +4,7 @@ * Author: Teresa Remmet <t.remmet@phytec.de> */ +#include <common.h> #include <asm/arch/sys_proto.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/phytec/phycore_imx8mp/spl.c b/board/phytec/phycore_imx8mp/spl.c index 352f803..df15802 100644 --- a/board/phytec/phycore_imx8mp/spl.c +++ b/board/phytec/phycore_imx8mp/spl.c @@ -4,6 +4,7 @@ * Author: Teresa Remmet <t.remmet@phytec.de> */ +#include <common.h> #include <asm/arch/clock.h> #include <asm/arch/ddr.h> #include <asm/arch/imx8mp_pins.h> diff --git a/board/phytec/phycore_rk3288/phycore-rk3288.c b/board/phytec/phycore_rk3288/phycore-rk3288.c index a970634..3f49f39 100644 --- a/board/phytec/phycore_rk3288/phycore-rk3288.c +++ b/board/phytec/phycore_rk3288/phycore-rk3288.c @@ -4,11 +4,13 @@ * Author: Wadim Egorov <w.egorov@phytec.de> */ +#include <eeprom.h> #include <init.h> #include <log.h> #include <net.h> #include <asm/global_data.h> #include <asm/io.h> +#include <common.h> #include <dm.h> #include <env.h> #include <env_internal.h> diff --git a/board/phytium/durian/durian.c b/board/phytium/durian/durian.c index 01e210f..0a4048d 100644 --- a/board/phytium/durian/durian.c +++ b/board/phytium/durian/durian.c @@ -5,6 +5,7 @@ * liuhao <liuhao@phytium.com.cn> */ +#include <common.h> #include <command.h> #include <cpu_func.h> #include <event.h> diff --git a/board/phytium/pe2201/pe2201.c b/board/phytium/pe2201/pe2201.c index fbbf678..0e837b0 100644 --- a/board/phytium/pe2201/pe2201.c +++ b/board/phytium/pe2201/pe2201.c @@ -12,6 +12,7 @@ #include <asm/io.h> #include <linux/arm-smccc.h> #include <scsi.h> +#include <asm/u-boot.h> #include "cpu.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/phytium/pomelo/pomelo.c b/board/phytium/pomelo/pomelo.c index 0ea335e..960e491 100644 --- a/board/phytium/pomelo/pomelo.c +++ b/board/phytium/pomelo/pomelo.c @@ -14,6 +14,7 @@ #include <linux/arm-smccc.h> #include <scsi.h> #include <init.h> +#include <asm/u-boot.h> #include "cpu.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c b/board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c index 112770b..14b94c9 100644 --- a/board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c +++ b/board/polyhex/imx8mp_debix_model_a/imx8mp_debix_model_a.c @@ -11,6 +11,7 @@ #include <asm/global_data.h> #include <asm/mach-imx/gpio.h> #include <asm/mach-imx/iomux-v3.h> +#include <common.h> #include <env.h> #include <errno.h> #include <init.h> diff --git a/board/polyhex/imx8mp_debix_model_a/spl.c b/board/polyhex/imx8mp_debix_model_a/spl.c index 6cbd181..eb904e1 100644 --- a/board/polyhex/imx8mp_debix_model_a/spl.c +++ b/board/polyhex/imx8mp_debix_model_a/spl.c @@ -11,6 +11,7 @@ #include <asm/global_data.h> #include <asm/mach-imx/boot_mode.h> #include <asm/sections.h> +#include <common.h> #include <dm/device.h> #include <dm/uclass.h> #include <hang.h> diff --git a/board/purism/librem5/librem5.c b/board/purism/librem5/librem5.c index a3c4215..d0249e7 100644 --- a/board/purism/librem5/librem5.c +++ b/board/purism/librem5/librem5.c @@ -4,6 +4,7 @@ * Copyright 2021 Purism */ +#include <common.h> #include <malloc.h> #include <errno.h> #include <asm/io.h> diff --git a/board/purism/librem5/lpddr4_timing.c b/board/purism/librem5/lpddr4_timing.c index e9559e3..46bc7f8 100644 --- a/board/purism/librem5/lpddr4_timing.c +++ b/board/purism/librem5/lpddr4_timing.c @@ -4,6 +4,7 @@ */ #include <linux/kernel.h> +#include <common.h> #include <asm/arch/ddr.h> #include <asm/arch/lpddr4_define.h> diff --git a/board/purism/librem5/lpddr4_timing_b0.c b/board/purism/librem5/lpddr4_timing_b0.c index 5d8f280..ec68eda 100644 --- a/board/purism/librem5/lpddr4_timing_b0.c +++ b/board/purism/librem5/lpddr4_timing_b0.c @@ -4,6 +4,7 @@ */ #include <linux/kernel.h> +#include <common.h> #include <asm/arch/ddr.h> #include <asm/arch/lpddr4_define.h> diff --git a/board/purism/librem5/spl.c b/board/purism/librem5/spl.c index ed57554..9aadc55 100644 --- a/board/purism/librem5/spl.c +++ b/board/purism/librem5/spl.c @@ -4,7 +4,7 @@ * Copyright 2021 Purism */ -#include <config.h> +#include <common.h> #include <asm/io.h> #include <errno.h> #include <asm/io.h> diff --git a/board/qca/ap121/ap121.c b/board/qca/ap121/ap121.c index 6bb1260..60a2e19 100644 --- a/board/qca/ap121/ap121.c +++ b/board/qca/ap121/ap121.c @@ -3,6 +3,7 @@ * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com> */ +#include <common.h> #include <init.h> #include <asm/io.h> #include <asm/addrspace.h> diff --git a/board/qca/ap143/ap143.c b/board/qca/ap143/ap143.c index b88de9c..ac65054 100644 --- a/board/qca/ap143/ap143.c +++ b/board/qca/ap143/ap143.c @@ -3,6 +3,7 @@ * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com> */ +#include <common.h> #include <init.h> #include <asm/io.h> #include <asm/addrspace.h> diff --git a/board/qca/ap152/ap152.c b/board/qca/ap152/ap152.c index 5358728..82458c3 100644 --- a/board/qca/ap152/ap152.c +++ b/board/qca/ap152/ap152.c @@ -3,6 +3,7 @@ * Copyright (C) 2018 Rosy Song <rosysong@rosinson.com> */ +#include <common.h> #include <init.h> #include <asm/io.h> #include <asm/addrspace.h> diff --git a/board/qualcomm/dragonboard410c/dragonboard410c.c b/board/qualcomm/dragonboard410c/dragonboard410c.c index bd2e213..fbbfc0e 100644 --- a/board/qualcomm/dragonboard410c/dragonboard410c.c +++ b/board/qualcomm/dragonboard410c/dragonboard410c.c @@ -6,6 +6,7 @@ */ #include <button.h> +#include <common.h> #include <cpu_func.h> #include <dm.h> #include <dm/pinctrl.h> diff --git a/board/qualcomm/dragonboard820c/dragonboard820c.c b/board/qualcomm/dragonboard820c/dragonboard820c.c index d3333a5..ac7de71 100644 --- a/board/qualcomm/dragonboard820c/dragonboard820c.c +++ b/board/qualcomm/dragonboard820c/dragonboard820c.c @@ -13,6 +13,7 @@ #include <asm/global_data.h> #include <linux/arm-smccc.h> #include <linux/psci.h> +#include <common.h> #include <dm.h> #include <asm/io.h> #include <linux/bitops.h> diff --git a/board/raidsonic/ib62x0/ib62x0.c b/board/raidsonic/ib62x0/ib62x0.c index 8d1d549..f9bc076 100644 --- a/board/raidsonic/ib62x0/ib62x0.c +++ b/board/raidsonic/ib62x0/ib62x0.c @@ -6,6 +6,7 @@ * Simon Baatz <gmbnomis@gmail.com> */ +#include <common.h> #include <init.h> #include <miiphy.h> #include <asm/global_data.h> diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index d996eb0..2851ebc 100644 --- a/board/raspberrypi/rpi/rpi.c +++ b/board/raspberrypi/rpi/rpi.c @@ -3,6 +3,7 @@ * (C) Copyright 2012-2016 Stephen Warren */ +#include <common.h> #include <config.h> #include <dm.h> #include <env.h> diff --git a/board/renesas/falcon/falcon.c b/board/renesas/falcon/falcon.c index c88257d..27fccac 100644 --- a/board/renesas/falcon/falcon.c +++ b/board/renesas/falcon/falcon.c @@ -14,6 +14,7 @@ #include <asm/processor.h> #include <linux/errno.h> #include <asm/system.h> +#include <asm/u-boot.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/board/renesas/grpeach/grpeach.c b/board/renesas/grpeach/grpeach.c index 88f65c3..c475c3f 100644 --- a/board/renesas/grpeach/grpeach.c +++ b/board/renesas/grpeach/grpeach.c @@ -10,6 +10,7 @@ #include <asm/global_data.h> #include <asm/io.h> #include <asm/arch/sys_proto.h> +#include <asm/u-boot.h> #define RZA1_WDT_BASE 0xfcfe0000 #define WTCSR 0x00 diff --git a/board/rockchip/evb_rk3036/evb_rk3036.c b/board/rockchip/evb_rk3036/evb_rk3036.c index a080503..8c60646 100644 --- a/board/rockchip/evb_rk3036/evb_rk3036.c +++ b/board/rockchip/evb_rk3036/evb_rk3036.c @@ -3,6 +3,7 @@ * (C) Copyright 2015 Rockchip Electronics Co., Ltd */ +#include <common.h> #include <dm.h> #include <asm/io.h> #include <asm/arch-rockchip/uart.h> diff --git a/board/rockchip/evb_rk3308/evb_rk3308.c b/board/rockchip/evb_rk3308/evb_rk3308.c index c895da9..e0c96fd 100644 --- a/board/rockchip/evb_rk3308/evb_rk3308.c +++ b/board/rockchip/evb_rk3308/evb_rk3308.c @@ -3,6 +3,7 @@ * (C) Copyright 2018 Rockchip Electronics Co., Ltd */ +#include <common.h> #include <adc.h> #include <asm/global_data.h> diff --git a/board/rockchip/evb_rv1108/evb_rv1108.c b/board/rockchip/evb_rv1108/evb_rv1108.c index 48b9d8f..0d7a486 100644 --- a/board/rockchip/evb_rv1108/evb_rv1108.c +++ b/board/rockchip/evb_rv1108/evb_rv1108.c @@ -4,6 +4,7 @@ * Authors: Andy Yan <andy.yan@rock-chips.com> */ +#include <common.h> #include <init.h> #include <syscon.h> #include <asm/global_data.h> diff --git a/board/rockchip/kylin_rk3036/kylin_rk3036.c b/board/rockchip/kylin_rk3036/kylin_rk3036.c index c452b13..0ca91cd 100644 --- a/board/rockchip/kylin_rk3036/kylin_rk3036.c +++ b/board/rockchip/kylin_rk3036/kylin_rk3036.c @@ -3,6 +3,7 @@ * (C) Copyright 2015 Rockchip Electronics Co., Ltd */ +#include <common.h> #include <dm.h> #include <env.h> #include <init.h> diff --git a/board/rockchip/tinker_rk3288/tinker-rk3288.c b/board/rockchip/tinker_rk3288/tinker-rk3288.c index e966e9f..eff3a00 100644 --- a/board/rockchip/tinker_rk3288/tinker-rk3288.c +++ b/board/rockchip/tinker_rk3288/tinker-rk3288.c @@ -3,7 +3,9 @@ * (C) Copyright 2016 Rockchip Electronics Co., Ltd */ +#include <common.h> #include <dm.h> +#include <eeprom.h> #include <env.h> #include <i2c_eeprom.h> #include <init.h> diff --git a/board/ronetix/imx7-cm/imx7-cm.c b/board/ronetix/imx7-cm/imx7-cm.c index a1f3f3c..c23097f 100644 --- a/board/ronetix/imx7-cm/imx7-cm.c +++ b/board/ronetix/imx7-cm/imx7-cm.c @@ -15,6 +15,7 @@ #include <asm/mach-imx/iomux-v3.h> #include <asm/mach-imx/mxc_i2c.h> #include <asm/io.h> +#include <common.h> #include <i2c.h> #include <miiphy.h> #include <power/pmic.h> diff --git a/board/ronetix/imx7-cm/spl.c b/board/ronetix/imx7-cm/spl.c index 136de3c..b94cfd6 100644 --- a/board/ronetix/imx7-cm/spl.c +++ b/board/ronetix/imx7-cm/spl.c @@ -5,6 +5,7 @@ * Author: Ilko Iliev <iliev@ronetix.at> */ +#include <common.h> #include <cpu_func.h> #include <init.h> #include <asm/arch/clock.h> diff --git a/board/ronetix/imx8mq-cm/imx8mq_cm.c b/board/ronetix/imx8mq-cm/imx8mq_cm.c index fbee2c3..9805a3a 100644 --- a/board/ronetix/imx8mq-cm/imx8mq_cm.c +++ b/board/ronetix/imx8mq-cm/imx8mq_cm.c @@ -3,6 +3,7 @@ * Copyright 2018 NXP */ +#include <common.h> #include <miiphy.h> #include <asm-generic/gpio.h> #include <asm/arch/imx8mq_pins.h> diff --git a/board/ronetix/imx8mq-cm/lpddr4_timing.c b/board/ronetix/imx8mq-cm/lpddr4_timing.c index a7ad937..685600e 100644 --- a/board/ronetix/imx8mq-cm/lpddr4_timing.c +++ b/board/ronetix/imx8mq-cm/lpddr4_timing.c @@ -4,6 +4,7 @@ */ #include <linux/kernel.h> +#include <common.h> #include <asm/arch/ddr.h> #include <asm/arch/lpddr4_define.h> diff --git a/board/ronetix/imx8mq-cm/spl.c b/board/ronetix/imx8mq-cm/spl.c index ee0ad20..1c675bc 100644 --- a/board/ronetix/imx8mq-cm/spl.c +++ b/board/ronetix/imx8mq-cm/spl.c @@ -4,7 +4,7 @@ * */ -#include <config.h> +#include <common.h> #include <hang.h> #include <init.h> #include <asm/arch/ddr.h> diff --git a/board/ronetix/pm9261/pm9261.c b/board/ronetix/pm9261/pm9261.c index ee57874..07febe6 100644 --- a/board/ronetix/pm9261/pm9261.c +++ b/board/ronetix/pm9261/pm9261.c @@ -7,7 +7,7 @@ * Copyright (C) 2009 Jean-Christopher PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> */ -#include <config.h> +#include <common.h> #include <init.h> #include <vsprintf.h> #include <asm/global_data.h> diff --git a/board/ronetix/pm9263/pm9263.c b/board/ronetix/pm9263/pm9263.c index 1de1bd6..76f62dd 100644 --- a/board/ronetix/pm9263/pm9263.c +++ b/board/ronetix/pm9263/pm9263.c @@ -7,7 +7,7 @@ * Copyright (C) 2009 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <linux/sizes.h> diff --git a/board/ronetix/pm9g45/pm9g45.c b/board/ronetix/pm9g45/pm9g45.c index 5d5edd9..aa5c80a 100644 --- a/board/ronetix/pm9g45/pm9g45.c +++ b/board/ronetix/pm9g45/pm9g45.c @@ -10,7 +10,7 @@ * Lead Tech Design <www.leadtechdesign.com> */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <linux/sizes.h> diff --git a/board/samsung/arndale/arndale.c b/board/samsung/arndale/arndale.c index e70b4a8..3ebf600 100644 --- a/board/samsung/arndale/arndale.c +++ b/board/samsung/arndale/arndale.c @@ -3,7 +3,7 @@ * Copyright (C) 2013 Samsung Electronics */ -#include <config.h> +#include <common.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 c40ca7f..6ad0273 100644 --- a/board/samsung/arndale/arndale_spl.c +++ b/board/samsung/arndale/arndale_spl.c @@ -3,6 +3,7 @@ * 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 eed1c24..5a71982 100644 --- a/board/samsung/common/board.c +++ b/board/samsung/common/board.c @@ -4,7 +4,7 @@ * Rajeshwari Shinde <rajeshwari.s@samsung.com> */ -#include <config.h> +#include <common.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 8328bf4..9294d36 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 <config.h> +#include <common.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 56862bc..b3e87c9 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 <config.h> +#include <common.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 c1b4342..9487f9e 100644 --- a/board/samsung/common/gadget.c +++ b/board/samsung/common/gadget.c @@ -4,7 +4,7 @@ * Lukasz Majewski <l.majewski@samsung.com> */ -#include <linux/string.h> +#include <common.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 c134a9d..cc114aa 100644 --- a/board/samsung/common/misc.c +++ b/board/samsung/common/misc.c @@ -4,7 +4,7 @@ * Przemyslaw Marczak <p.marczak@samsung.com> */ -#include <config.h> +#include <common.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 689ac8f..76e37df 100644 --- a/board/samsung/common/sromc.c +++ b/board/samsung/common/sromc.c @@ -5,6 +5,7 @@ #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 a1047f3..c8f5a15 100644 --- a/board/samsung/goni/goni.c +++ b/board/samsung/goni/goni.c @@ -5,6 +5,7 @@ * 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 6c7a036..c67c107 100644 --- a/board/samsung/goni/onenand.c +++ b/board/samsung/goni/onenand.c @@ -4,7 +4,7 @@ * Kyungmin Park <kyungmin.park@samsung.com> */ -#include <config.h> +#include <common.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 84d6d91..99e5613 100644 --- a/board/samsung/odroid/odroid.c +++ b/board/samsung/odroid/odroid.c @@ -4,7 +4,7 @@ * Przemyslaw Marczak <p.marczak@samsung.com> */ -#include <config.h> +#include <common.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 c474a7e..ddf6a2b 100644 --- a/board/samsung/origen/origen.c +++ b/board/samsung/origen/origen.c @@ -3,6 +3,7 @@ * 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 1c78cb6..b0ef34d 100644 --- a/board/samsung/smdk5250/smdk5250_spl.c +++ b/board/samsung/smdk5250/smdk5250_spl.c @@ -3,6 +3,7 @@ * 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 ccf8b25..84126f5 100644 --- a/board/samsung/smdk5420/smdk5420_spl.c +++ b/board/samsung/smdk5420/smdk5420_spl.c @@ -3,6 +3,7 @@ * 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 86ec550..04dc04a 100644 --- a/board/samsung/smdkc100/onenand.c +++ b/board/samsung/smdkc100/onenand.c @@ -4,6 +4,7 @@ * 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 7d0b0fc..4f46911 100644 --- a/board/samsung/smdkc100/smdkc100.c +++ b/board/samsung/smdkc100/smdkc100.c @@ -5,7 +5,7 @@ * Kyungmin Park <kyungmin.park@samsung.com> */ -#include <config.h> +#include <common.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 5a4874b..47483a2 100644 --- a/board/samsung/smdkv310/smdkv310.c +++ b/board/samsung/smdkv310/smdkv310.c @@ -3,7 +3,7 @@ * Copyright (C) 2011 Samsung Electronics */ -#include <config.h> +#include <common.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 6efc6f3..6a3e5b2 100644 --- a/board/samsung/trats/trats.c +++ b/board/samsung/trats/trats.c @@ -6,6 +6,7 @@ * 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 612575a..81ccc12 100644 --- a/board/samsung/trats2/trats2.c +++ b/board/samsung/trats2/trats2.c @@ -5,6 +5,7 @@ * 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 ba56e86..265a2cd 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 <config.h> +#include <common.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 6bed724..2d61dff 100644 --- a/board/samsung/universal_c210/universal.c +++ b/board/samsung/universal_c210/universal.c @@ -5,6 +5,7 @@ * Kyungmin Park <kyungmin.park@samsung.com> */ +#include <common.h> #include <env.h> #include <log.h> #include <spi.h> diff --git a/board/schneider/rzn1-snarc/rzn1.c b/board/schneider/rzn1-snarc/rzn1.c index e1d5b5b..09241c3 100644 --- a/board/schneider/rzn1-snarc/rzn1.c +++ b/board/schneider/rzn1-snarc/rzn1.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0+ +#include <common.h> #include <dm.h> #include <ram.h> #include <asm/global_data.h> diff --git a/board/seeed/linkit-smart-7688/board.c b/board/seeed/linkit-smart-7688/board.c index 91fa08f..bf7c69e 100644 --- a/board/seeed/linkit-smart-7688/board.c +++ b/board/seeed/linkit-smart-7688/board.c @@ -3,6 +3,7 @@ * Copyright (C) 2018 Stefan Roese <sr@denx.de> */ +#include <common.h> #include <init.h> #include <asm/io.h> #include <linux/bitops.h> diff --git a/board/seeed/npi_imx6ull/spl.c b/board/seeed/npi_imx6ull/spl.c index 2312d8f..b29da2c 100644 --- a/board/seeed/npi_imx6ull/spl.c +++ b/board/seeed/npi_imx6ull/spl.c @@ -4,7 +4,7 @@ * Author: Navin Sankar Velliangiri <navin@linumiz.com> */ -#include <config.h> +#include <common.h> #include <init.h> #include <spl.h> #include <asm/arch/clock.h> diff --git a/board/siemens/capricorn/board.c b/board/siemens/capricorn/board.c index 53dac8b..b1d7e3b 100644 --- a/board/siemens/capricorn/board.c +++ b/board/siemens/capricorn/board.c @@ -5,6 +5,7 @@ * Copyright 2019 Siemens AG * */ +#include <common.h> #include <command.h> #include <dm.h> #include <env.h> diff --git a/board/siemens/capricorn/spl.c b/board/siemens/capricorn/spl.c index 696b5eb..e160c61 100644 --- a/board/siemens/capricorn/spl.c +++ b/board/siemens/capricorn/spl.c @@ -5,6 +5,7 @@ * Copyright 2019 Siemens AG * */ +#include <common.h> #include <init.h> #include <spl.h> #include <dm.h> diff --git a/board/siemens/corvus/board.c b/board/siemens/corvus/board.c index 7d73d1f..569b86d 100644 --- a/board/siemens/corvus/board.c +++ b/board/siemens/corvus/board.c @@ -10,7 +10,7 @@ * Lead Tech Design <www.leadtechdesign.com> */ -#include <config.h> +#include <common.h> #include <dm.h> #include <init.h> #include <log.h> diff --git a/board/siemens/iot2050/board.c b/board/siemens/iot2050/board.c index ed292c3..0b0686e 100644 --- a/board/siemens/iot2050/board.c +++ b/board/siemens/iot2050/board.c @@ -8,7 +8,7 @@ * Jan Kiszka <jan.kiszka@siemens.com> */ -#include <config.h> +#include <common.h> #include <bootstage.h> #include <dm.h> #include <fdt_support.h> diff --git a/board/siemens/smartweb/smartweb.c b/board/siemens/smartweb/smartweb.c index 946fbc3..15044c7 100644 --- a/board/siemens/smartweb/smartweb.c +++ b/board/siemens/smartweb/smartweb.c @@ -15,7 +15,7 @@ * DENX Software Engineering GmbH */ -#include <config.h> +#include <common.h> #include <dm.h> #include <init.h> #include <net.h> diff --git a/board/siemens/taurus/taurus.c b/board/siemens/taurus/taurus.c index bda12a9..ad44a7c 100644 --- a/board/siemens/taurus/taurus.c +++ b/board/siemens/taurus/taurus.c @@ -12,7 +12,7 @@ */ #include <command.h> -#include <config.h> +#include <common.h> #include <dm.h> #include <env.h> #include <init.h> diff --git a/board/silinux/ek874/ek874.c b/board/silinux/ek874/ek874.c index a3fe6f9..6dc804a 100644 --- a/board/silinux/ek874/ek874.c +++ b/board/silinux/ek874/ek874.c @@ -6,8 +6,8 @@ * Copyright (C) 2021 Renesas Electronics Corporation */ +#include <common.h> #include <asm/global_data.h> -#include <asm/u-boot.h> #include <asm/io.h> #define RST_BASE 0xE6160000 diff --git a/board/sipeed/maix/maix.c b/board/sipeed/maix/maix.c index 08077a1..06653b5 100644 --- a/board/sipeed/maix/maix.c +++ b/board/sipeed/maix/maix.c @@ -3,7 +3,7 @@ * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> */ -#include <config.h> +#include <common.h> #include <clk.h> #include <dm.h> #include <fdt_support.h> diff --git a/board/skyworth/hc2910-2aghd05/hc2910-2aghd05.c b/board/skyworth/hc2910-2aghd05/hc2910-2aghd05.c index 22be10d..abad5ef 100644 --- a/board/skyworth/hc2910-2aghd05/hc2910-2aghd05.c +++ b/board/skyworth/hc2910-2aghd05/hc2910-2aghd05.c @@ -3,6 +3,7 @@ * Board init file for Skyworth HC2910 2AGHD05 */ +#include <common.h> #include <fdtdec.h> #include <init.h> #include <asm/system.h> diff --git a/board/socionext/developerbox/developerbox.c b/board/socionext/developerbox/developerbox.c index 556a9ed..062e4a7 100644 --- a/board/socionext/developerbox/developerbox.c +++ b/board/socionext/developerbox/developerbox.c @@ -9,7 +9,7 @@ #include <asm/armv8/mmu.h> #include <asm/global_data.h> #include <asm/io.h> -#include <config.h> +#include <common.h> #include <efi.h> #include <efi_loader.h> #include <env_internal.h> diff --git a/board/socrates/ddr.c b/board/socrates/ddr.c index bf4894e..3a94f7b 100644 --- a/board/socrates/ddr.c +++ b/board/socrates/ddr.c @@ -3,6 +3,7 @@ * Copyright 2008 Freescale Semiconductor, Inc. */ +#include <common.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> diff --git a/board/socrates/law.c b/board/socrates/law.c index 446fdbc..e4427ec 100644 --- a/board/socrates/law.c +++ b/board/socrates/law.c @@ -9,7 +9,7 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <config.h> +#include <common.h> #include <asm/fsl_law.h> #include <asm/mmu.h> diff --git a/board/socrates/nand.c b/board/socrates/nand.c index 517a4a0..b1e38c5 100644 --- a/board/socrates/nand.c +++ b/board/socrates/nand.c @@ -4,7 +4,7 @@ * Sergei Poselenov, Emcraft Systems, sposelenov@emcraft.com. */ -#include <config.h> +#include <common.h> #if defined(CFG_SYS_NAND_BASE) #include <nand.h> diff --git a/board/socrates/sdram.c b/board/socrates/sdram.c index d0415d2..61402a5 100644 --- a/board/socrates/sdram.c +++ b/board/socrates/sdram.c @@ -4,7 +4,7 @@ * Sergei Poselenov, Emcraft Systems, sposelenov@emcraft.com. */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/processor.h> #include <asm/immap_85xx.h> diff --git a/board/socrates/socrates.c b/board/socrates/socrates.c index 6e6e276..1d63c81 100644 --- a/board/socrates/socrates.c +++ b/board/socrates/socrates.c @@ -10,7 +10,7 @@ * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.com> */ -#include <config.h> +#include <common.h> #include <clock_legacy.h> #include <env.h> #include <init.h> diff --git a/board/socrates/tlb.c b/board/socrates/tlb.c index 0cc6757..631f6c3 100644 --- a/board/socrates/tlb.c +++ b/board/socrates/tlb.c @@ -9,9 +9,8 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <config.h> +#include <common.h> #include <asm/mmu.h> -#include <asm/ppc.h> struct fsl_e_tlb_entry tlb_table[] = { /* TLB 0 - for temp stack in cache */ diff --git a/board/softing/vining_2000/vining_2000.c b/board/softing/vining_2000/vining_2000.c index a0dbf97..4483bd7 100644 --- a/board/softing/vining_2000/vining_2000.c +++ b/board/softing/vining_2000/vining_2000.c @@ -24,7 +24,7 @@ #include <linux/bitops.h> #include <linux/delay.h> #include <linux/sizes.h> -#include <config.h> +#include <common.h> #include <fsl_esdhc_imx.h> #include <mmc.h> #include <i2c.h> diff --git a/board/softing/vining_fpga/socfpga.c b/board/softing/vining_fpga/socfpga.c index 2483fbc..b3f9550 100644 --- a/board/softing/vining_fpga/socfpga.c +++ b/board/softing/vining_fpga/socfpga.c @@ -3,7 +3,7 @@ * Copyright (C) 2012 Altera Corporation <www.altera.com> */ -#include <config.h> +#include <common.h> #include <eeprom.h> #include <env.h> #include <init.h> diff --git a/board/solidrun/clearfog/clearfog.c b/board/solidrun/clearfog/clearfog.c index 2dbd071..6977db0 100644 --- a/board/solidrun/clearfog/clearfog.c +++ b/board/solidrun/clearfog/clearfog.c @@ -3,7 +3,7 @@ * Copyright (C) 2015 Stefan Roese <sr@denx.de> */ -#include <config.h> +#include <common.h> #include <env.h> #include <i2c.h> #include <init.h> diff --git a/board/solidrun/common/tlv_data.c b/board/solidrun/common/tlv_data.c index b808660..cf58248 100644 --- a/board/solidrun/common/tlv_data.c +++ b/board/solidrun/common/tlv_data.c @@ -3,9 +3,9 @@ * Copyright 2020 SolidRun */ +#include <common.h> #include <compiler.h> #include <tlv_eeprom.h> -#include <linux/kernel.h> #include "tlv_data.h" #define SR_TLV_CODE_RAM_SIZE 0x81 diff --git a/board/solidrun/mx6cuboxi/mx6cuboxi.c b/board/solidrun/mx6cuboxi/mx6cuboxi.c index 3406ba8..7f4811d 100644 --- a/board/solidrun/mx6cuboxi/mx6cuboxi.c +++ b/board/solidrun/mx6cuboxi/mx6cuboxi.c @@ -15,7 +15,7 @@ * Ported to SolidRun microSOM by Rabeeh Khoury <rabeeh@solid-run.com> */ -#include <config.h> +#include <common.h> #include <image.h> #include <init.h> #include <log.h> diff --git a/board/somlabs/visionsom-6ull/visionsom-6ull.c b/board/somlabs/visionsom-6ull/visionsom-6ull.c index 0ecb5c3..38d14f6 100644 --- a/board/somlabs/visionsom-6ull/visionsom-6ull.c +++ b/board/somlabs/visionsom-6ull/visionsom-6ull.c @@ -17,6 +17,7 @@ #include <asm/mach-imx/iomux-v3.h> #include <asm/mach-imx/mxc_i2c.h> #include <asm/io.h> +#include <common.h> #include <env.h> #include <fsl_esdhc_imx.h> #include <i2c.h> diff --git a/board/sr1500/socfpga.c b/board/sr1500/socfpga.c index 5603ef2..d9125a7 100644 --- a/board/sr1500/socfpga.c +++ b/board/sr1500/socfpga.c @@ -3,6 +3,7 @@ * Copyright (C) 2015 Stefan Roese <sr@denx.de> */ +#include <common.h> #include <init.h> #include <asm/arch/reset_manager.h> #include <asm/gpio.h> diff --git a/board/st/common/cmd_stboard.c b/board/st/common/cmd_stboard.c index 50da063..c8c0bad 100644 --- a/board/st/common/cmd_stboard.c +++ b/board/st/common/cmd_stboard.c @@ -30,6 +30,7 @@ */ #ifndef CONFIG_SPL_BUILD +#include <common.h> #include <command.h> #include <console.h> #include <misc.h> diff --git a/board/st/common/stm32mp_dfu.c b/board/st/common/stm32mp_dfu.c index 1db8e45..77edb86 100644 --- a/board/st/common/stm32mp_dfu.c +++ b/board/st/common/stm32mp_dfu.c @@ -3,6 +3,7 @@ * Copyright (C) 2020, STMicroelectronics - All Rights Reserved */ +#include <common.h> #include <blk.h> #include <dm.h> #include <dfu.h> diff --git a/board/st/common/stm32mp_dfu_virt.c b/board/st/common/stm32mp_dfu_virt.c index 4049d72..f0f9960 100644 --- a/board/st/common/stm32mp_dfu_virt.c +++ b/board/st/common/stm32mp_dfu_virt.c @@ -3,6 +3,7 @@ * Copyright (C) 2023, STMicroelectronics - All Rights Reserved */ +#include <common.h> #include <dfu.h> #include <dm.h> #include <misc.h> diff --git a/board/st/common/stpmic1.c b/board/st/common/stpmic1.c index 45c2bb5..969ad48 100644 --- a/board/st/common/stpmic1.c +++ b/board/st/common/stpmic1.c @@ -5,6 +5,7 @@ #define LOG_CATEGORY LOGC_BOARD +#include <common.h> #include <dm.h> #include <log.h> #include <asm/io.h> diff --git a/board/st/common/stusb160x.c b/board/st/common/stusb160x.c index e1ad8b0..f0385e5 100644 --- a/board/st/common/stusb160x.c +++ b/board/st/common/stusb160x.c @@ -8,6 +8,7 @@ #define LOG_CATEGORY UCLASS_I2C_GENERIC +#include <common.h> #include <dm.h> #include <i2c.h> diff --git a/board/st/stih410-b2260/board.c b/board/st/stih410-b2260/board.c index a912712..8281757 100644 --- a/board/st/stih410-b2260/board.c +++ b/board/st/stih410-b2260/board.c @@ -4,6 +4,7 @@ * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics. */ +#include <common.h> #include <cpu_func.h> #include <init.h> #include <asm/cache.h> diff --git a/board/st/stm32f429-discovery/led.c b/board/st/stm32f429-discovery/led.c index 4b80383..8dda6a9 100644 --- a/board/st/stm32f429-discovery/led.c +++ b/board/st/stm32f429-discovery/led.c @@ -4,6 +4,7 @@ * Kamil Lulko, <kamil.lulko@gmail.com> */ +#include <common.h> #include <status_led.h> #include <asm-generic/gpio.h> diff --git a/board/st/stm32f429-discovery/stm32f429-discovery.c b/board/st/stm32f429-discovery/stm32f429-discovery.c index 22d751b..55e464c 100644 --- a/board/st/stm32f429-discovery/stm32f429-discovery.c +++ b/board/st/stm32f429-discovery/stm32f429-discovery.c @@ -10,6 +10,7 @@ * Kamil Lulko, <kamil.lulko@gmail.com> */ +#include <common.h> #include <dm.h> #include <env.h> #include <init.h> diff --git a/board/st/stm32f429-evaluation/stm32f429-evaluation.c b/board/st/stm32f429-evaluation/stm32f429-evaluation.c index db59ebb..25472f0 100644 --- a/board/st/stm32f429-evaluation/stm32f429-evaluation.c +++ b/board/st/stm32f429-evaluation/stm32f429-evaluation.c @@ -4,6 +4,7 @@ * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics. */ +#include <common.h> #include <dm.h> #include <env.h> #include <init.h> diff --git a/board/st/stm32f469-discovery/stm32f469-discovery.c b/board/st/stm32f469-discovery/stm32f469-discovery.c index 134d207..9ed6c1e 100644 --- a/board/st/stm32f469-discovery/stm32f469-discovery.c +++ b/board/st/stm32f469-discovery/stm32f469-discovery.c @@ -4,6 +4,7 @@ * Author(s): Patrice CHOTARD, <patrice.chotard@foss.st.com> for STMicroelectronics. */ +#include <common.h> #include <dm.h> #include <env.h> #include <init.h> diff --git a/board/st/stm32f746-disco/stm32f746-disco.c b/board/st/stm32f746-disco/stm32f746-disco.c index 6d86e4f..0f96660 100644 --- a/board/st/stm32f746-disco/stm32f746-disco.c +++ b/board/st/stm32f746-disco/stm32f746-disco.c @@ -4,7 +4,7 @@ * Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics. */ -#include <config.h> +#include <common.h> #include <dm.h> #include <init.h> #include <log.h> diff --git a/board/st/stm32h743-disco/stm32h743-disco.c b/board/st/stm32h743-disco/stm32h743-disco.c index 35ef9ff..4ca5e84 100644 --- a/board/st/stm32h743-disco/stm32h743-disco.c +++ b/board/st/stm32h743-disco/stm32h743-disco.c @@ -4,6 +4,7 @@ * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics. */ +#include <common.h> #include <dm.h> #include <init.h> #include <log.h> diff --git a/board/st/stm32h743-eval/stm32h743-eval.c b/board/st/stm32h743-eval/stm32h743-eval.c index 35ef9ff..4ca5e84 100644 --- a/board/st/stm32h743-eval/stm32h743-eval.c +++ b/board/st/stm32h743-eval/stm32h743-eval.c @@ -4,6 +4,7 @@ * Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics. */ +#include <common.h> #include <dm.h> #include <init.h> #include <log.h> diff --git a/board/st/stm32h750-art-pi/stm32h750-art-pi.c b/board/st/stm32h750-art-pi/stm32h750-art-pi.c index 75aa4d1..0d39ce8 100644 --- a/board/st/stm32h750-art-pi/stm32h750-art-pi.c +++ b/board/st/stm32h750-art-pi/stm32h750-art-pi.c @@ -4,6 +4,7 @@ * Author(s): Dillon Min <dillon.minfei@gmail.com> */ +#include <common.h> #include <dm.h> #include <init.h> #include <log.h> diff --git a/board/st/stm32mp1/spl.c b/board/st/stm32mp1/spl.c index d63dffd..8b4a529 100644 --- a/board/st/stm32mp1/spl.c +++ b/board/st/stm32mp1/spl.c @@ -4,6 +4,7 @@ */ #include <config.h> +#include <common.h> #include <power/pmic.h> #include <power/stpmic1.h> #include <asm/arch/sys_proto.h> diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c index 97532a8..db15d78 100644 --- a/board/st/stm32mp1/stm32mp1.c +++ b/board/st/stm32mp1/stm32mp1.c @@ -5,6 +5,7 @@ #define LOG_CATEGORY LOGC_BOARD +#include <common.h> #include <adc.h> #include <bootm.h> #include <button.h> diff --git a/board/ste/stemmy/stemmy.c b/board/ste/stemmy/stemmy.c index 826c002..060d562 100644 --- a/board/ste/stemmy/stemmy.c +++ b/board/ste/stemmy/stemmy.c @@ -2,12 +2,12 @@ /* * Copyright (C) 2019 Stephan Gerhold <stephan@gerhold.net> */ +#include <common.h> #include <env.h> #include <fdt_support.h> #include <init.h> #include <log.h> #include <stdlib.h> -#include <linux/errno.h> #include <asm/global_data.h> #include <asm/setup.h> #include <asm/system.h> diff --git a/board/storopack/smegw01/smegw01.c b/board/storopack/smegw01/smegw01.c index 910feed..345191b 100644 --- a/board/storopack/smegw01/smegw01.c +++ b/board/storopack/smegw01/smegw01.c @@ -12,6 +12,7 @@ #include <asm/mach-imx/hab.h> #include <asm/mach-imx/iomux-v3.h> #include <asm/io.h> +#include <common.h> #include <env.h> #include <env_internal.h> #include <asm/arch/crm_regs.h> diff --git a/board/sunxi/board.c b/board/sunxi/board.c index ed86f1d..1313b01 100644 --- a/board/sunxi/board.c +++ b/board/sunxi/board.c @@ -10,6 +10,7 @@ * Some board init for the Allwinner A10-evb board. */ +#include <common.h> #include <clock_legacy.h> #include <dm.h> #include <env.h> diff --git a/board/sunxi/chip.c b/board/sunxi/chip.c index 270af25..eeee631 100644 --- a/board/sunxi/chip.c +++ b/board/sunxi/chip.c @@ -5,6 +5,7 @@ * Based on initial code from Maxime Ripard */ +#include <common.h> #include <malloc.h> #include <dm.h> #include <w1.h> diff --git a/board/sunxi/dram_sun4i_auto.c b/board/sunxi/dram_sun4i_auto.c index 4b78919..547d1c0 100644 --- a/board/sunxi/dram_sun4i_auto.c +++ b/board/sunxi/dram_sun4i_auto.c @@ -1,3 +1,4 @@ +#include <common.h> #include <init.h> #include <asm/arch/dram.h> diff --git a/board/sunxi/dram_sun5i_auto.c b/board/sunxi/dram_sun5i_auto.c index 8976e3b..517506c 100644 --- a/board/sunxi/dram_sun5i_auto.c +++ b/board/sunxi/dram_sun5i_auto.c @@ -1,5 +1,6 @@ /* DRAM parameters for auto dram configuration on sun5i and sun7i */ +#include <common.h> #include <init.h> #include <asm/arch/dram.h> diff --git a/board/sunxi/gmac.c b/board/sunxi/gmac.c index 710e821..2a88530 100644 --- a/board/sunxi/gmac.c +++ b/board/sunxi/gmac.c @@ -1,3 +1,4 @@ +#include <common.h> #include <netdev.h> #include <miiphy.h> #include <asm/io.h> diff --git a/board/sysam/amcore/amcore.c b/board/sysam/amcore/amcore.c index d5aa1f0..086421d 100644 --- a/board/sysam/amcore/amcore.c +++ b/board/sysam/amcore/amcore.c @@ -7,7 +7,7 @@ * This file copies memory testdram() from sandburst/common/sb_common.c */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/immap.h> diff --git a/board/sysam/stmark2/stmark2.c b/board/sysam/stmark2/stmark2.c index 7818f26..475e3ed 100644 --- a/board/sysam/stmark2/stmark2.c +++ b/board/sysam/stmark2/stmark2.c @@ -5,7 +5,7 @@ * (C) Copyright 2017 Angelo Dureghello <angelo@sysam.it> */ -#include <config.h> +#include <common.h> #include <init.h> #include <spi.h> #include <asm/global_data.h> diff --git a/board/tcl/sl50/board.c b/board/tcl/sl50/board.c index 2e54ede..3f7d42f 100644 --- a/board/tcl/sl50/board.c +++ b/board/tcl/sl50/board.c @@ -7,7 +7,7 @@ * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/ */ -#include <config.h> +#include <common.h> #include <env.h> #include <errno.h> #include <init.h> diff --git a/board/tcl/sl50/mux.c b/board/tcl/sl50/mux.c index 6d89c4a..ab90881 100644 --- a/board/tcl/sl50/mux.c +++ b/board/tcl/sl50/mux.c @@ -5,6 +5,7 @@ * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/ */ +#include <common.h> #include <asm/arch/sys_proto.h> #include <asm/arch/hardware.h> #include <asm/arch/mux.h> diff --git a/board/technexion/pico-imx6/pico-imx6.c b/board/technexion/pico-imx6/pico-imx6.c index 03170b1..6b9c4f4 100644 --- a/board/technexion/pico-imx6/pico-imx6.c +++ b/board/technexion/pico-imx6/pico-imx6.c @@ -6,6 +6,7 @@ * Author: Fabio Estevam <festevam@gmail.com> */ +#include <common.h> #include <env.h> #include <init.h> #include <net.h> diff --git a/board/technexion/pico-imx6/spl.c b/board/technexion/pico-imx6/spl.c index 50f5177..3b36bb8 100644 --- a/board/technexion/pico-imx6/spl.c +++ b/board/technexion/pico-imx6/spl.c @@ -6,6 +6,7 @@ * Fabio Estevam <festevam@gmail.com> */ +#include <common.h> #include <image.h> #include <init.h> #include <asm/arch/clock.h> diff --git a/board/technexion/pico-imx6ul/pico-imx6ul.c b/board/technexion/pico-imx6ul/pico-imx6ul.c index 10dcf80..682c88d 100644 --- a/board/technexion/pico-imx6ul/pico-imx6ul.c +++ b/board/technexion/pico-imx6ul/pico-imx6ul.c @@ -17,6 +17,7 @@ #include <asm/gpio.h> #include <asm/mach-imx/iomux-v3.h> #include <asm/io.h> +#include <common.h> #include <miiphy.h> #include <linux/delay.h> #include <linux/sizes.h> diff --git a/board/technexion/pico-imx6ul/spl.c b/board/technexion/pico-imx6ul/spl.c index 67484e6..ff56fd8 100644 --- a/board/technexion/pico-imx6ul/spl.c +++ b/board/technexion/pico-imx6ul/spl.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0+ +#include <common.h> #include <cpu_func.h> #include <hang.h> #include <init.h> diff --git a/board/technexion/pico-imx7d/pico-imx7d.c b/board/technexion/pico-imx7d/pico-imx7d.c index d0f739c..b12941c 100644 --- a/board/technexion/pico-imx7d/pico-imx7d.c +++ b/board/technexion/pico-imx7d/pico-imx7d.c @@ -15,6 +15,7 @@ #include <asm/mach-imx/iomux-v3.h> #include <asm/mach-imx/boot_mode.h> #include <asm/io.h> +#include <common.h> #include <miiphy.h> #include <power/pmic.h> #include <power/pfuze3000_pmic.h> diff --git a/board/technexion/pico-imx7d/spl.c b/board/technexion/pico-imx7d/spl.c index 8f219f7..0192eaf 100644 --- a/board/technexion/pico-imx7d/spl.c +++ b/board/technexion/pico-imx7d/spl.c @@ -5,7 +5,7 @@ * Author: Richard Hu <richard.hu@technexion.com> */ -#include <config.h> +#include <common.h> #include <cpu_func.h> #include <init.h> #include <asm/arch/clock.h> diff --git a/board/technexion/pico-imx8mq/lpddr4_timing_1gb.c b/board/technexion/pico-imx8mq/lpddr4_timing_1gb.c index cd8ba59..97b9ee2 100644 --- a/board/technexion/pico-imx8mq/lpddr4_timing_1gb.c +++ b/board/technexion/pico-imx8mq/lpddr4_timing_1gb.c @@ -7,6 +7,7 @@ */ #include <linux/kernel.h> +#include <common.h> #include <asm/arch/ddr.h> #include <asm/arch/lpddr4_define.h> diff --git a/board/technexion/pico-imx8mq/lpddr4_timing_2gb.c b/board/technexion/pico-imx8mq/lpddr4_timing_2gb.c index 3f66238..1572a50 100644 --- a/board/technexion/pico-imx8mq/lpddr4_timing_2gb.c +++ b/board/technexion/pico-imx8mq/lpddr4_timing_2gb.c @@ -7,6 +7,7 @@ */ #include <linux/kernel.h> +#include <common.h> #include <asm/arch/ddr.h> #include <asm/arch/lpddr4_define.h> diff --git a/board/technexion/pico-imx8mq/lpddr4_timing_3gb.c b/board/technexion/pico-imx8mq/lpddr4_timing_3gb.c index 2f037ab..3fc60a3 100644 --- a/board/technexion/pico-imx8mq/lpddr4_timing_3gb.c +++ b/board/technexion/pico-imx8mq/lpddr4_timing_3gb.c @@ -7,6 +7,7 @@ */ #include <linux/kernel.h> +#include <common.h> #include <asm/arch/ddr.h> #include <asm/arch/lpddr4_define.h> diff --git a/board/technexion/pico-imx8mq/lpddr4_timing_4gb.c b/board/technexion/pico-imx8mq/lpddr4_timing_4gb.c index 336ac4c..93b3423 100644 --- a/board/technexion/pico-imx8mq/lpddr4_timing_4gb.c +++ b/board/technexion/pico-imx8mq/lpddr4_timing_4gb.c @@ -7,6 +7,7 @@ */ #include <linux/kernel.h> +#include <common.h> #include <asm/arch/ddr.h> #include <asm/arch/lpddr4_define.h> diff --git a/board/technexion/pico-imx8mq/pico-imx8mq.c b/board/technexion/pico-imx8mq/pico-imx8mq.c index 1659db1..2be3206 100644 --- a/board/technexion/pico-imx8mq/pico-imx8mq.c +++ b/board/technexion/pico-imx8mq/pico-imx8mq.c @@ -3,6 +3,7 @@ * Copyright 2018 NXP */ +#include <common.h> #include <env.h> #include <init.h> #include <malloc.h> diff --git a/board/technexion/pico-imx8mq/spl.c b/board/technexion/pico-imx8mq/spl.c index c9d68b4..1a9c799 100644 --- a/board/technexion/pico-imx8mq/spl.c +++ b/board/technexion/pico-imx8mq/spl.c @@ -3,6 +3,7 @@ * Copyright 2018 NXP */ +#include <common.h> #include <hang.h> #include <init.h> #include <log.h> diff --git a/board/terasic/de1-soc/socfpga.c b/board/terasic/de1-soc/socfpga.c index 8d17f44..22fbee4 100644 --- a/board/terasic/de1-soc/socfpga.c +++ b/board/terasic/de1-soc/socfpga.c @@ -2,6 +2,7 @@ /* * Copyright (C) 2012 Altera Corporation <www.altera.com> */ +#include <common.h> #include <spl.h> void board_boot_order(u32 *spl_boot_list) diff --git a/board/thead/th1520_lpi4a/board.c b/board/thead/th1520_lpi4a/board.c index bb83e75..16c3e45 100644 --- a/board/thead/th1520_lpi4a/board.c +++ b/board/thead/th1520_lpi4a/board.c @@ -4,6 +4,7 @@ * */ +#include <common.h> #include <cpu_func.h> int board_init(void) diff --git a/board/theadorable/fpga.c b/board/theadorable/fpga.c index 56d3647..bc8379c 100644 --- a/board/theadorable/fpga.c +++ b/board/theadorable/fpga.c @@ -3,10 +3,10 @@ * Copyright (C) 2016 Stefan Roese <sr@denx.de> */ +#include <common.h> #include <altera.h> #include <errno.h> #include <log.h> -#include <time.h> #include <asm/gpio.h> #include <asm/io.h> #include <asm/arch/cpu.h> diff --git a/board/theadorable/theadorable.c b/board/theadorable/theadorable.c index cca5c3d..144f122 100644 --- a/board/theadorable/theadorable.c +++ b/board/theadorable/theadorable.c @@ -3,6 +3,7 @@ * Copyright (C) 2015-2019 Stefan Roese <sr@denx.de> */ +#include <common.h> #include <command.h> #include <console.h> #include <dm.h> diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index 34f4a91..34f987c 100644 --- a/board/ti/am335x/board.c +++ b/board/ti/am335x/board.c @@ -7,7 +7,7 @@ * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/ */ -#include <config.h> +#include <common.h> #include <dm.h> #include <env.h> #include <errno.h> diff --git a/board/ti/am335x/board.h b/board/ti/am335x/board.h index b0a3842..1284c16 100644 --- a/board/ti/am335x/board.h +++ b/board/ti/am335x/board.h @@ -10,8 +10,6 @@ #ifndef _BOARD_H_ #define _BOARD_H_ -#include <linux/string.h> - /** * AM335X (EMIF_4D) EMIF REG_COS_COUNT_1, REG_COS_COUNT_2, and * REG_PR_OLD_COUNT values to avoid LCDC DMA FIFO underflows and Frame diff --git a/board/ti/am335x/mux.c b/board/ti/am335x/mux.c index 960de15..0bad154 100644 --- a/board/ti/am335x/mux.c +++ b/board/ti/am335x/mux.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. */ -#include <config.h> +#include <common.h> #include <asm/arch/sys_proto.h> #include <asm/arch/hardware.h> #include <asm/arch/mux.h> diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c index 40b7fcf..a4679a2 100644 --- a/board/ti/am43xx/board.c +++ b/board/ti/am43xx/board.c @@ -7,7 +7,8 @@ * Copyright (C) 2013, Texas Instruments, Incorporated - https://www.ti.com/ */ -#include <config.h> +#include <common.h> +#include <eeprom.h> #include <asm/global_data.h> #include <dm/uclass.h> #include <env.h> diff --git a/board/ti/am43xx/board.h b/board/ti/am43xx/board.h index b1025bd..37a169a 100644 --- a/board/ti/am43xx/board.h +++ b/board/ti/am43xx/board.h @@ -11,7 +11,6 @@ #ifndef _BOARD_H_ #define _BOARD_H_ -#include <linux/string.h> #include <asm/arch/omap.h> #define DEV_ATTR_MAX_OFFSET 5 diff --git a/board/ti/am43xx/mux.c b/board/ti/am43xx/mux.c index 2fcccbd..463f1cc 100644 --- a/board/ti/am43xx/mux.c +++ b/board/ti/am43xx/mux.c @@ -5,6 +5,7 @@ * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ */ +#include <common.h> #include <asm/arch/sys_proto.h> #include <asm/arch/mux.h> #include "../common/board_detect.h" diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index 4866888..b004a89 100644 --- a/board/ti/am57xx/board.c +++ b/board/ti/am57xx/board.c @@ -7,7 +7,7 @@ * Based on board/ti/dra7xx/evm.c */ -#include <config.h> +#include <common.h> #include <env.h> #include <fastboot.h> #include <fdt_support.h> diff --git a/board/ti/common/board_detect.c b/board/ti/common/board_detect.c index ea21d48..38e23cc 100644 --- a/board/ti/common/board_detect.c +++ b/board/ti/common/board_detect.c @@ -7,9 +7,10 @@ * Steve Kipisz */ +#include <common.h> +#include <eeprom.h> #include <log.h> #include <net.h> -#include <linux/types.h> #include <asm/arch/hardware.h> #include <asm/omap_common.h> #include <dm/uclass.h> diff --git a/board/ti/common/cape_detect.c b/board/ti/common/cape_detect.c index da805be..2e6105c 100644 --- a/board/ti/common/cape_detect.c +++ b/board/ti/common/cape_detect.c @@ -4,11 +4,10 @@ * Köry Maincent, Bootlin, <kory.maincent@bootlin.com> */ -#include <stdio.h> +#include <common.h> #include <malloc.h> #include <i2c.h> #include <extension_board.h> -#include <vsprintf.h> #include "cape_detect.h" diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index 2b1db25..a8a216d 100644 --- a/board/ti/dra7xx/evm.c +++ b/board/ti/dra7xx/evm.c @@ -9,7 +9,7 @@ * Aneesh V <aneesh@ti.com> * Steve Sakoman <steve@sakoman.com> */ -#include <config.h> +#include <common.h> #include <env.h> #include <fdt_support.h> #include <fastboot.h> diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c index c6735d3..5dcda12 100644 --- a/board/ti/ks2_evm/board.c +++ b/board/ti/ks2_evm/board.c @@ -6,7 +6,7 @@ * Texas Instruments Incorporated, <www.ti.com> */ -#include <config.h> +#include <common.h> #include <asm/global_data.h> #include "board.h" #include <env.h> diff --git a/board/ti/ks2_evm/board_k2e.c b/board/ti/ks2_evm/board_k2e.c index 4385be4..39abb24 100644 --- a/board/ti/ks2_evm/board_k2e.c +++ b/board/ti/ks2_evm/board_k2e.c @@ -6,6 +6,7 @@ * Texas Instruments Incorporated, <www.ti.com> */ +#include <common.h> #include <image.h> #include <init.h> #include <asm/arch/ddr3.h> diff --git a/board/ti/ks2_evm/board_k2g.c b/board/ti/ks2_evm/board_k2g.c index d07b77d..5229afa 100644 --- a/board/ti/ks2_evm/board_k2g.c +++ b/board/ti/ks2_evm/board_k2g.c @@ -5,7 +5,8 @@ * (C) Copyright 2015 * Texas Instruments Incorporated, <www.ti.com> */ -#include <config.h> +#include <common.h> +#include <eeprom.h> #include <env.h> #include <hang.h> #include <image.h> diff --git a/board/ti/ks2_evm/board_k2hk.c b/board/ti/ks2_evm/board_k2hk.c index 2b5d2d7..12c4649 100644 --- a/board/ti/ks2_evm/board_k2hk.c +++ b/board/ti/ks2_evm/board_k2hk.c @@ -6,6 +6,7 @@ * Texas Instruments Incorporated, <www.ti.com> */ +#include <common.h> #include <image.h> #include <init.h> #include <asm/arch/clock.h> diff --git a/board/ti/ks2_evm/board_k2l.c b/board/ti/ks2_evm/board_k2l.c index 1971bc9..f759ee3 100644 --- a/board/ti/ks2_evm/board_k2l.c +++ b/board/ti/ks2_evm/board_k2l.c @@ -6,6 +6,7 @@ * Texas Instruments Incorporated, <www.ti.com> */ +#include <common.h> #include <image.h> #include <init.h> #include <asm/arch/ddr3.h> diff --git a/board/ti/ks2_evm/ddr3_cfg.c b/board/ti/ks2_evm/ddr3_cfg.c index fe350fe..0ade752 100644 --- a/board/ti/ks2_evm/ddr3_cfg.c +++ b/board/ti/ks2_evm/ddr3_cfg.c @@ -6,6 +6,7 @@ * Texas Instruments Incorporated, <www.ti.com> */ +#include <common.h> #include <asm/arch/ddr3.h> #include "ddr3_cfg.h" diff --git a/board/ti/ks2_evm/ddr3_k2e.c b/board/ti/ks2_evm/ddr3_k2e.c index 2830532..95fe3a9 100644 --- a/board/ti/ks2_evm/ddr3_k2e.c +++ b/board/ti/ks2_evm/ddr3_k2e.c @@ -6,6 +6,7 @@ * Texas Instruments Incorporated, <www.ti.com> */ +#include <common.h> #include "ddr3_cfg.h" #include <asm/arch/ddr3.h> diff --git a/board/ti/ks2_evm/ddr3_k2g.c b/board/ti/ks2_evm/ddr3_k2g.c index ef39e07..3000d724 100644 --- a/board/ti/ks2_evm/ddr3_k2g.c +++ b/board/ti/ks2_evm/ddr3_k2g.c @@ -6,6 +6,7 @@ * Texas Instruments Incorporated, <www.ti.com> */ +#include <common.h> #include "ddr3_cfg.h" #include <asm/arch/ddr3.h> #include <asm/arch/hardware.h> diff --git a/board/ti/ks2_evm/ddr3_k2hk.c b/board/ti/ks2_evm/ddr3_k2hk.c index 05c050c..198c5da 100644 --- a/board/ti/ks2_evm/ddr3_k2hk.c +++ b/board/ti/ks2_evm/ddr3_k2hk.c @@ -6,6 +6,7 @@ * Texas Instruments Incorporated, <www.ti.com> */ +#include <common.h> #include "ddr3_cfg.h" #include <asm/arch/ddr3.h> #include <asm/arch/hardware.h> diff --git a/board/ti/ks2_evm/ddr3_k2l.c b/board/ti/ks2_evm/ddr3_k2l.c index aa6d45f..805bf81 100644 --- a/board/ti/ks2_evm/ddr3_k2l.c +++ b/board/ti/ks2_evm/ddr3_k2l.c @@ -6,6 +6,7 @@ * Texas Instruments Incorporated, <www.ti.com> */ +#include <common.h> #include "ddr3_cfg.h" #include <asm/arch/ddr3.h> diff --git a/board/ti/omap3evm/evm.c b/board/ti/omap3evm/evm.c index 4eb08ad..a4d6a01 100644 --- a/board/ti/omap3evm/evm.c +++ b/board/ti/omap3evm/evm.c @@ -10,7 +10,7 @@ * Richard Woodruff <r-woodruff2@ti.com> * Syed Mohammed Khasim <khasim@ti.com> */ -#include <config.h> +#include <common.h> #include <dm.h> #include <env.h> #include <init.h> diff --git a/board/ti/panda/panda.c b/board/ti/panda/panda.c index e47d3a9..2209318 100644 --- a/board/ti/panda/panda.c +++ b/board/ti/panda/panda.c @@ -4,6 +4,7 @@ * Texas Instruments Incorporated, <www.ti.com> * Steve Sakoman <steve@sakoman.com> */ +#include <common.h> #include <init.h> #include <log.h> #include <net.h> diff --git a/board/ti/sdp4430/cmd_bat.c b/board/ti/sdp4430/cmd_bat.c index 6bf44d9..6c1e6ca 100644 --- a/board/ti/sdp4430/cmd_bat.c +++ b/board/ti/sdp4430/cmd_bat.c @@ -3,6 +3,7 @@ * Copyright (C) 2010 Texas Instruments */ +#include <common.h> #include <command.h> #ifdef CONFIG_CMD_BAT diff --git a/board/ti/sdp4430/sdp.c b/board/ti/sdp4430/sdp.c index 1a71390..2c9ae79 100644 --- a/board/ti/sdp4430/sdp.c +++ b/board/ti/sdp4430/sdp.c @@ -5,6 +5,7 @@ * Aneesh V <aneesh@ti.com> * Steve Sakoman <steve@sakoman.com> */ +#include <common.h> #include <init.h> #include <net.h> #include <twl6030.h> diff --git a/board/timll/devkit3250/devkit3250.c b/board/timll/devkit3250/devkit3250.c index f0c0f03..efef855 100644 --- a/board/timll/devkit3250/devkit3250.c +++ b/board/timll/devkit3250/devkit3250.c @@ -5,7 +5,7 @@ * Copyright (C) 2011-2015 Vladimir Zapolskiy <vz@mleia.com> */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/arch/sys_proto.h> #include <asm/arch/clk.h> diff --git a/board/timll/devkit3250/devkit3250_spl.c b/board/timll/devkit3250/devkit3250_spl.c index 07a367c..12e8ae9 100644 --- a/board/timll/devkit3250/devkit3250_spl.c +++ b/board/timll/devkit3250/devkit3250_spl.c @@ -5,6 +5,7 @@ * (C) Copyright 2015 Vladimir Zapolskiy <vz@mleia.com> */ +#include <common.h> #include <asm/io.h> #include <asm/arch/sys_proto.h> #include <asm/arch/cpu.h> diff --git a/board/timll/devkit8000/devkit8000.c b/board/timll/devkit8000/devkit8000.c index ad404f7..06009d8 100644 --- a/board/timll/devkit8000/devkit8000.c +++ b/board/timll/devkit8000/devkit8000.c @@ -15,7 +15,7 @@ * Syed Mohammed Khasim <khasim@ti.com> * */ -#include <config.h> +#include <common.h> #include <dm.h> #include <env.h> #include <init.h> diff --git a/board/toradex/apalis-imx8/apalis-imx8.c b/board/toradex/apalis-imx8/apalis-imx8.c index 72d67d9..0f993e6 100644 --- a/board/toradex/apalis-imx8/apalis-imx8.c +++ b/board/toradex/apalis-imx8/apalis-imx8.c @@ -3,6 +3,7 @@ * Copyright 2019 Toradex */ +#include <common.h> #include <cpu_func.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/toradex/apalis-tk1/apalis-tk1.c b/board/toradex/apalis-tk1/apalis-tk1.c index 4557ed1..ee87d9f 100644 --- a/board/toradex/apalis-tk1/apalis-tk1.c +++ b/board/toradex/apalis-tk1/apalis-tk1.c @@ -3,6 +3,7 @@ * Copyright (c) 2016-2018 Toradex, Inc. */ +#include <common.h> #include <dm.h> #include <env.h> #include <init.h> diff --git a/board/toradex/apalis-tk1/as3722_init.c b/board/toradex/apalis-tk1/as3722_init.c index 8971f7a..e9bd102 100644 --- a/board/toradex/apalis-tk1/as3722_init.c +++ b/board/toradex/apalis-tk1/as3722_init.c @@ -3,6 +3,7 @@ * Copyright (c) 2012-2016 Toradex, Inc. */ +#include <common.h> #include <log.h> #include <asm/io.h> #include <asm/arch-tegra/tegra_i2c.h> diff --git a/board/toradex/apalis_imx6/apalis_imx6.c b/board/toradex/apalis_imx6/apalis_imx6.c index 2dcc042..0da2453 100644 --- a/board/toradex/apalis_imx6/apalis_imx6.c +++ b/board/toradex/apalis_imx6/apalis_imx6.c @@ -6,7 +6,7 @@ * copied from nitrogen6x */ -#include <config.h> +#include <common.h> #include <cpu_func.h> #include <dm.h> #include <image.h> diff --git a/board/toradex/apalis_imx6/do_fuse.c b/board/toradex/apalis_imx6/do_fuse.c index b404b01..6991b1b 100644 --- a/board/toradex/apalis_imx6/do_fuse.c +++ b/board/toradex/apalis_imx6/do_fuse.c @@ -7,6 +7,7 @@ * Helpers for i.MX OTP fusing during module production */ +#include <common.h> #ifndef CONFIG_SPL_BUILD #include <command.h> #include <console.h> diff --git a/board/toradex/apalis_imx6/pf0100.c b/board/toradex/apalis_imx6/pf0100.c index 157aaec..c89052f 100644 --- a/board/toradex/apalis_imx6/pf0100.c +++ b/board/toradex/apalis_imx6/pf0100.c @@ -7,6 +7,7 @@ * Helpers for Freescale PMIC PF0100 */ +#include <common.h> #include <command.h> #include <i2c.h> #include <asm/arch/imx-regs.h> diff --git a/board/toradex/apalis_t30/apalis_t30-spl.c b/board/toradex/apalis_t30/apalis_t30-spl.c index 2504945..6e54464 100644 --- a/board/toradex/apalis_t30/apalis_t30-spl.c +++ b/board/toradex/apalis_t30/apalis_t30-spl.c @@ -7,6 +7,7 @@ * Svyatoslav Ryhel <clamor95@gmail.com> */ +#include <common.h> #include <asm/arch-tegra/tegra_i2c.h> #include <linux/delay.h> diff --git a/board/toradex/apalis_t30/apalis_t30.c b/board/toradex/apalis_t30/apalis_t30.c index 02e8f8e..b10beb4 100644 --- a/board/toradex/apalis_t30/apalis_t30.c +++ b/board/toradex/apalis_t30/apalis_t30.c @@ -4,6 +4,7 @@ * Marcel Ziswiler <marcel@ziswiler.com> */ +#include <common.h> #include <env.h> #include <init.h> #include <log.h> diff --git a/board/toradex/colibri-imx6ull/colibri-imx6ull.c b/board/toradex/colibri-imx6ull/colibri-imx6ull.c index 7bfe200..9b9fb34 100644 --- a/board/toradex/colibri-imx6ull/colibri-imx6ull.c +++ b/board/toradex/colibri-imx6ull/colibri-imx6ull.c @@ -2,7 +2,7 @@ /* * Copyright (C) 2018-2019 Toradex AG */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <linux/delay.h> diff --git a/board/toradex/colibri-imx8x/colibri-imx8x.c b/board/toradex/colibri-imx8x/colibri-imx8x.c index 2a71e7b..3565785 100644 --- a/board/toradex/colibri-imx8x/colibri-imx8x.c +++ b/board/toradex/colibri-imx8x/colibri-imx8x.c @@ -3,6 +3,7 @@ * Copyright 2019 Toradex */ +#include <common.h> #include <cpu_func.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/toradex/colibri_imx6/colibri_imx6.c b/board/toradex/colibri_imx6/colibri_imx6.c index 34e82c2..ce19a9c 100644 --- a/board/toradex/colibri_imx6/colibri_imx6.c +++ b/board/toradex/colibri_imx6/colibri_imx6.c @@ -6,7 +6,7 @@ * copied from nitrogen6x */ -#include <config.h> +#include <common.h> #include <cpu_func.h> #include <dm.h> #include <env.h> diff --git a/board/toradex/colibri_imx6/do_fuse.c b/board/toradex/colibri_imx6/do_fuse.c index b404b01..6991b1b 100644 --- a/board/toradex/colibri_imx6/do_fuse.c +++ b/board/toradex/colibri_imx6/do_fuse.c @@ -7,6 +7,7 @@ * Helpers for i.MX OTP fusing during module production */ +#include <common.h> #ifndef CONFIG_SPL_BUILD #include <command.h> #include <console.h> diff --git a/board/toradex/colibri_imx6/pf0100.c b/board/toradex/colibri_imx6/pf0100.c index 58b7bc3..8f08d8c 100644 --- a/board/toradex/colibri_imx6/pf0100.c +++ b/board/toradex/colibri_imx6/pf0100.c @@ -7,6 +7,7 @@ * Helpers for Freescale PMIC PF0100 */ +#include <common.h> #include <command.h> #include <i2c.h> #include <asm/arch/imx-regs.h> diff --git a/board/toradex/colibri_imx7/colibri_imx7.c b/board/toradex/colibri_imx7/colibri_imx7.c index e966ffb..c37c5e0 100644 --- a/board/toradex/colibri_imx7/colibri_imx7.c +++ b/board/toradex/colibri_imx7/colibri_imx7.c @@ -3,6 +3,7 @@ * Copyright (C) 2016-2018 Toradex AG */ +#include <common.h> #include <cpu_func.h> #include <init.h> #include <net.h> diff --git a/board/toradex/colibri_t20/colibri_t20.c b/board/toradex/colibri_t20/colibri_t20.c index 6425fa8..97e33d0 100644 --- a/board/toradex/colibri_t20/colibri_t20.c +++ b/board/toradex/colibri_t20/colibri_t20.c @@ -3,6 +3,7 @@ * Copyright (C) 2012 Lucas Stach */ +#include <common.h> #include <env.h> #include <fdt_support.h> #include <init.h> diff --git a/board/toradex/colibri_t30/colibri_t30-spl.c b/board/toradex/colibri_t30/colibri_t30-spl.c index 2504945..6e54464 100644 --- a/board/toradex/colibri_t30/colibri_t30-spl.c +++ b/board/toradex/colibri_t30/colibri_t30-spl.c @@ -7,6 +7,7 @@ * Svyatoslav Ryhel <clamor95@gmail.com> */ +#include <common.h> #include <asm/arch-tegra/tegra_i2c.h> #include <linux/delay.h> diff --git a/board/toradex/colibri_t30/colibri_t30.c b/board/toradex/colibri_t30/colibri_t30.c index 342673a..0da247d 100644 --- a/board/toradex/colibri_t30/colibri_t30.c +++ b/board/toradex/colibri_t30/colibri_t30.c @@ -4,6 +4,7 @@ * Stefan Agner <stefan@agner.ch> */ +#include <common.h> #include <env.h> #include <init.h> #include <asm/arch/gp_padctrl.h> diff --git a/board/toradex/colibri_vf/colibri_vf.c b/board/toradex/colibri_vf/colibri_vf.c index 87f8239..3592000 100644 --- a/board/toradex/colibri_vf/colibri_vf.c +++ b/board/toradex/colibri_vf/colibri_vf.c @@ -6,6 +6,7 @@ * Copyright 2013 Freescale Semiconductor, Inc. */ +#include <common.h> #include <init.h> #include <asm/global_data.h> diff --git a/board/toradex/common/tdx-cfg-block.c b/board/toradex/common/tdx-cfg-block.c index 2225cef..dcf00d2 100644 --- a/board/toradex/common/tdx-cfg-block.c +++ b/board/toradex/common/tdx-cfg-block.c @@ -3,7 +3,7 @@ * Copyright (c) 2016-2020 Toradex */ -#include <config.h> +#include <common.h> #include <asm/global_data.h> #include "tdx-cfg-block.h" #include "tdx-eeprom.h" diff --git a/board/toradex/common/tdx-common.c b/board/toradex/common/tdx-common.c index a6b45cd..9f09788 100644 --- a/board/toradex/common/tdx-common.c +++ b/board/toradex/common/tdx-common.c @@ -4,7 +4,7 @@ */ #include <dm.h> -#include <config.h> +#include <common.h> #include <env.h> #include <g_dnl.h> #include <init.h> diff --git a/board/toradex/verdin-imx8mm/spl.c b/board/toradex/verdin-imx8mm/spl.c index 1020078..afa3686 100644 --- a/board/toradex/verdin-imx8mm/spl.c +++ b/board/toradex/verdin-imx8mm/spl.c @@ -3,6 +3,7 @@ * Copyright 2020 Toradex */ +#include <common.h> #include <command.h> #include <image.h> #include <init.h> diff --git a/board/toradex/verdin-imx8mm/verdin-imx8mm.c b/board/toradex/verdin-imx8mm/verdin-imx8mm.c index 020ee67..55c0265 100644 --- a/board/toradex/verdin-imx8mm/verdin-imx8mm.c +++ b/board/toradex/verdin-imx8mm/verdin-imx8mm.c @@ -3,7 +3,7 @@ * Copyright 2020-2021 Toradex */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/arch/clock.h> #include <asm/arch/sys_proto.h> diff --git a/board/toradex/verdin-imx8mp/spl.c b/board/toradex/verdin-imx8mp/spl.c index 8628112..73729a4 100644 --- a/board/toradex/verdin-imx8mp/spl.c +++ b/board/toradex/verdin-imx8mp/spl.c @@ -3,6 +3,7 @@ * Copyright 2022 Toradex */ +#include <common.h> #include <hang.h> #include <init.h> #include <log.h> diff --git a/board/toradex/verdin-imx8mp/verdin-imx8mp.c b/board/toradex/verdin-imx8mp/verdin-imx8mp.c index e57ec3b..e16a771 100644 --- a/board/toradex/verdin-imx8mp/verdin-imx8mp.c +++ b/board/toradex/verdin-imx8mp/verdin-imx8mp.c @@ -3,7 +3,7 @@ * Copyright 2022 Toradex */ -#include <config.h> +#include <common.h> #include <asm/arch/clock.h> #include <asm/arch/imx8mp_pins.h> #include <asm/arch/sys_proto.h> diff --git a/board/tplink/wdr4300/wdr4300.c b/board/tplink/wdr4300/wdr4300.c index 3ae0dc4..f2de039 100644 --- a/board/tplink/wdr4300/wdr4300.c +++ b/board/tplink/wdr4300/wdr4300.c @@ -3,6 +3,7 @@ * Copyright (C) 2016 Marek Vasut <marex@denx.de> */ +#include <common.h> #include <init.h> #include <asm/io.h> #include <asm/addrspace.h> diff --git a/board/tq/tqma6/tqma6.c b/board/tq/tqma6/tqma6.c index 92142c1..1c2228c 100644 --- a/board/tq/tqma6/tqma6.c +++ b/board/tq/tqma6/tqma6.c @@ -21,6 +21,7 @@ #include <asm/io.h> #include <asm/mach-imx/mxc_i2c.h> #include <asm/mach-imx/spi.h> +#include <common.h> #include <fsl_esdhc_imx.h> #include <linux/libfdt.h> #include <i2c.h> diff --git a/board/tq/tqma6/tqma6_mba6.c b/board/tq/tqma6/tqma6_mba6.c index 877539e..52851dd 100644 --- a/board/tq/tqma6/tqma6_mba6.c +++ b/board/tq/tqma6/tqma6_mba6.c @@ -20,6 +20,7 @@ #include <asm/gpio.h> #include <asm/mach-imx/mxc_i2c.h> +#include <common.h> #include <fsl_esdhc_imx.h> #include <linux/libfdt.h> #include <malloc.h> diff --git a/board/tq/tqma6/tqma6_wru4.c b/board/tq/tqma6/tqma6_wru4.c index 21c7101..5d23991 100644 --- a/board/tq/tqma6/tqma6_wru4.c +++ b/board/tq/tqma6/tqma6_wru4.c @@ -23,6 +23,7 @@ #include <asm/mach-imx/boot_mode.h> #include <asm/mach-imx/mxc_i2c.h> +#include <common.h> #include <fsl_esdhc_imx.h> #include <linux/libfdt.h> #include <malloc.h> diff --git a/board/traverse/common/ten64_controller.c b/board/traverse/common/ten64_controller.c index 63b72c4..d6ef8a8 100644 --- a/board/traverse/common/ten64_controller.c +++ b/board/traverse/common/ten64_controller.c @@ -5,6 +5,7 @@ * */ +#include <common.h> #include <dm.h> #include <misc.h> #include <i2c.h> diff --git a/board/traverse/ten64/eth_ten64.c b/board/traverse/ten64/eth_ten64.c index c5f7ace..3f96e57 100644 --- a/board/traverse/ten64/eth_ten64.c +++ b/board/traverse/ten64/eth_ten64.c @@ -3,6 +3,7 @@ * Copyright 2017 NXP * Copyright 2019-2021 Traverse Technologies Australia */ +#include <common.h> #include <command.h> #include <netdev.h> #include <malloc.h> diff --git a/board/traverse/ten64/ten64.c b/board/traverse/ten64/ten64.c index d41bd2e..6ff5312 100644 --- a/board/traverse/ten64/ten64.c +++ b/board/traverse/ten64/ten64.c @@ -4,7 +4,7 @@ * Copyright 2017-2018 NXP * Copyright 2019-2021 Traverse Technologies */ -#include <config.h> +#include <common.h> #include <display_options.h> #include <dm/uclass.h> #include <env.h> diff --git a/board/udoo/neo/neo.c b/board/udoo/neo/neo.c index b435b72..d99d93b 100644 --- a/board/udoo/neo/neo.c +++ b/board/udoo/neo/neo.c @@ -29,6 +29,7 @@ #include <spl.h> #include <linux/delay.h> #include <linux/sizes.h> +#include <common.h> #include <i2c.h> #include <power/pmic.h> #include <power/pfuze3000_pmic.h> diff --git a/board/udoo/udoo_spl.c b/board/udoo/udoo_spl.c index 6c47753..647380e 100644 --- a/board/udoo/udoo_spl.c +++ b/board/udoo/udoo_spl.c @@ -6,6 +6,7 @@ * Based on board/wandboard/spl.c */ +#include <common.h> #include <init.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> diff --git a/board/variscite/dart_6ul/spl.c b/board/variscite/dart_6ul/spl.c index 6d17563..1dff69c 100644 --- a/board/variscite/dart_6ul/spl.c +++ b/board/variscite/dart_6ul/spl.c @@ -4,7 +4,7 @@ * Copyright (C) 2019 Parthiban Nallathambi <parthitce@gmail.com> */ -#include <config.h> +#include <common.h> #include <init.h> #include <spl.h> #include <asm/arch/clock.h> diff --git a/board/variscite/imx8mn_var_som/imx8mn_var_som.c b/board/variscite/imx8mn_var_som/imx8mn_var_som.c index 532d8d6..994fd4f 100644 --- a/board/variscite/imx8mn_var_som/imx8mn_var_som.c +++ b/board/variscite/imx8mn_var_som/imx8mn_var_som.c @@ -5,6 +5,7 @@ * Copyright 2023 DimOnOff Inc. */ +#include <common.h> #include <dm.h> #include <env.h> #include <fdtdec.h> diff --git a/board/vscom/baltos/board.c b/board/vscom/baltos/board.c index 2c91e9f..bc7dc58 100644 --- a/board/vscom/baltos/board.c +++ b/board/vscom/baltos/board.c @@ -7,7 +7,7 @@ * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/ */ -#include <config.h> +#include <common.h> #include <env.h> #include <errno.h> #include <init.h> diff --git a/board/vscom/baltos/mux.c b/board/vscom/baltos/mux.c index 77b142f..7b99cf0 100644 --- a/board/vscom/baltos/mux.c +++ b/board/vscom/baltos/mux.c @@ -13,6 +13,7 @@ * GNU General Public License for more details. */ +#include <common.h> #include <asm/arch/sys_proto.h> #include <asm/arch/hardware.h> #include <asm/arch/mux.h> diff --git a/board/wandboard/spl.c b/board/wandboard/spl.c index 9ce2785..717e02a 100644 --- a/board/wandboard/spl.c +++ b/board/wandboard/spl.c @@ -5,7 +5,7 @@ * Richard Hu <hakahu@gmail.com> */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c index a48ef33..8be62c8 100644 --- a/board/wandboard/wandboard.c +++ b/board/wandboard/wandboard.c @@ -6,6 +6,7 @@ * Author: Fabio Estevam <fabio.estevam@freescale.com> */ +#include <common.h> #include <image.h> #include <init.h> #include <log.h> diff --git a/board/warp7/warp7.c b/board/warp7/warp7.c index 4cd3ff0..ead52d5 100644 --- a/board/warp7/warp7.c +++ b/board/warp7/warp7.c @@ -15,6 +15,7 @@ #include <asm/mach-imx/hab.h> #include <asm/mach-imx/iomux-v3.h> #include <asm/io.h> +#include <common.h> #include <env.h> #include <asm/arch/crm_regs.h> #include <netdev.h> diff --git a/board/work-microwave/work_92105/work_92105.c b/board/work-microwave/work_92105/work_92105.c index 9a23688..c8e791a 100644 --- a/board/work-microwave/work_92105/work_92105.c +++ b/board/work-microwave/work_92105/work_92105.c @@ -6,7 +6,7 @@ * Written-by: Albert ARIBAUD <albert.aribaud@3adev.fr> */ -#include <config.h> +#include <common.h> #include <init.h> #include <asm/global_data.h> #include <asm/io.h> diff --git a/board/work-microwave/work_92105/work_92105_display.c b/board/work-microwave/work_92105/work_92105_display.c index d4ab229..64dd5d4 100644 --- a/board/work-microwave/work_92105/work_92105_display.c +++ b/board/work-microwave/work_92105/work_92105_display.c @@ -10,6 +10,7 @@ * MAX518 I2C DACs and native LPC32xx GPO 15. */ +#include <common.h> #include <command.h> #include <log.h> #include <asm/arch/sys_proto.h> diff --git a/board/work-microwave/work_92105/work_92105_spl.c b/board/work-microwave/work_92105/work_92105_spl.c index 3f91221..d940114 100644 --- a/board/work-microwave/work_92105/work_92105_spl.c +++ b/board/work-microwave/work_92105/work_92105_spl.c @@ -6,6 +6,7 @@ * Written-by: Albert ARIBAUD <albert.aribaud@3adev.fr> */ +#include <common.h> #include <asm/io.h> #include <asm/arch/sys_proto.h> #include <asm/arch/cpu.h> diff --git a/board/xen/xenguest_arm64/xenguest_arm64.c b/board/xen/xenguest_arm64/xenguest_arm64.c index 4c3b9c9..1d2946f 100644 --- a/board/xen/xenguest_arm64/xenguest_arm64.c +++ b/board/xen/xenguest_arm64/xenguest_arm64.c @@ -7,6 +7,7 @@ * (C) 2020 EPAM Systems Inc */ +#include <common.h> #include <log.h> #include <cpu_func.h> #include <dm.h> diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c index 30a8137..b47d2d2 100644 --- a/board/xilinx/common/board.c +++ b/board/xilinx/common/board.c @@ -6,6 +6,7 @@ * Michal Simek <michal.simek@amd.com> */ +#include <common.h> #include <efi.h> #include <efi_loader.h> #include <env.h> diff --git a/board/xilinx/common/cpu-info.c b/board/xilinx/common/cpu-info.c index 765bb24..bfe7f5b 100644 --- a/board/xilinx/common/cpu-info.c +++ b/board/xilinx/common/cpu-info.c @@ -4,6 +4,7 @@ * Michal Simek <michal.simek@amd.com> */ +#include <common.h> #include <init.h> #include <soc.h> diff --git a/board/xilinx/common/fru.c b/board/xilinx/common/fru.c index 8cf307e..12b2131 100644 --- a/board/xilinx/common/fru.c +++ b/board/xilinx/common/fru.c @@ -3,6 +3,7 @@ * (C) Copyright 2019 - 2020 Xilinx, Inc. */ +#include <common.h> #include <command.h> #include <fdtdec.h> #include <malloc.h> diff --git a/board/xilinx/common/fru_ops.c b/board/xilinx/common/fru_ops.c index 610293b..167252c 100644 --- a/board/xilinx/common/fru_ops.c +++ b/board/xilinx/common/fru_ops.c @@ -4,13 +4,13 @@ * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc. */ +#include <common.h> #include <cpu_func.h> #include <env.h> #include <fdtdec.h> #include <log.h> #include <malloc.h> #include <net.h> -#include <linux/errno.h> #include <asm/io.h> #include <asm/arch/hardware.h> diff --git a/board/xilinx/versal-net/board.c b/board/xilinx/versal-net/board.c index 88e10fa..da03024 100644 --- a/board/xilinx/versal-net/board.c +++ b/board/xilinx/versal-net/board.c @@ -6,6 +6,7 @@ * Michal Simek <michal.simek@amd.com> */ +#include <common.h> #include <cpu_func.h> #include <fdtdec.h> #include <init.h> diff --git a/board/xilinx/versal-net/cmds.c b/board/xilinx/versal-net/cmds.c index 4d52084..b18a71f 100644 --- a/board/xilinx/versal-net/cmds.c +++ b/board/xilinx/versal-net/cmds.c @@ -7,10 +7,10 @@ #include <cpu_func.h> #include <command.h> +#include <common.h> #include <log.h> #include <memalign.h> #include <versalpl.h> -#include <vsprintf.h> #include <zynqmp_firmware.h> /** diff --git a/board/xilinx/versal/board.c b/board/xilinx/versal/board.c index 77ba783..4f6d561 100644 --- a/board/xilinx/versal/board.c +++ b/board/xilinx/versal/board.c @@ -5,6 +5,7 @@ */ #include <command.h> +#include <common.h> #include <cpu_func.h> #include <env.h> #include <fdtdec.h> diff --git a/board/xilinx/versal/cmds.c b/board/xilinx/versal/cmds.c index c787935..2a74e49 100644 --- a/board/xilinx/versal/cmds.c +++ b/board/xilinx/versal/cmds.c @@ -6,10 +6,10 @@ #include <cpu_func.h> #include <command.h> +#include <common.h> #include <log.h> #include <memalign.h> #include <versalpl.h> -#include <vsprintf.h> #include <zynqmp_firmware.h> static int do_versal_load_pdi(struct cmd_tbl *cmdtp, int flag, int argc, diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c index b9a9111..6c36591 100644 --- a/board/xilinx/zynq/board.c +++ b/board/xilinx/zynq/board.c @@ -4,7 +4,7 @@ * (C) Copyright 2013 - 2018 Xilinx, Inc. */ -#include <config.h> +#include <common.h> #include <debug_uart.h> #include <dfu.h> #include <init.h> diff --git a/board/xilinx/zynq/bootimg.c b/board/xilinx/zynq/bootimg.c index 79bec3a..2f55078 100644 --- a/board/xilinx/zynq/bootimg.c +++ b/board/xilinx/zynq/bootimg.c @@ -3,6 +3,7 @@ * Copyright (C) 2018 Xilinx, Inc. */ +#include <common.h> #include <log.h> #include <part.h> #include <asm/global_data.h> diff --git a/board/xilinx/zynq/cmds.c b/board/xilinx/zynq/cmds.c index 05ecb75..d7c7b2f 100644 --- a/board/xilinx/zynq/cmds.c +++ b/board/xilinx/zynq/cmds.c @@ -3,6 +3,7 @@ * Copyright (C) 2018 Xilinx, Inc. */ +#include <common.h> #include <command.h> #include <log.h> #include <asm/global_data.h> diff --git a/board/xilinx/zynqmp/cmds.c b/board/xilinx/zynqmp/cmds.c index bf39c54..9524688 100644 --- a/board/xilinx/zynqmp/cmds.c +++ b/board/xilinx/zynqmp/cmds.c @@ -4,14 +4,13 @@ * Siva Durga Prasad Paladugu <siva.durga.prasad.paladugu@amd.com>> */ +#include <common.h> #include <command.h> #include <cpu_func.h> #include <env.h> #include <malloc.h> #include <memalign.h> -#include <vsprintf.h> #include <zynqmp_firmware.h> -#include <linux/errno.h> #include <asm/arch/hardware.h> #include <asm/arch/sys_proto.h> #include <asm/io.h> diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index c4050af..f370fb7 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -4,7 +4,7 @@ * Michal Simek <michal.simek@amd.com> */ -#include <config.h> +#include <common.h> #include <command.h> #include <cpu_func.h> #include <debug_uart.h> diff --git a/board/xilinx/zynqmp_r5/board.c b/board/xilinx/zynqmp_r5/board.c index 0c62b00..5c5a2e9 100644 --- a/board/xilinx/zynqmp_r5/board.c +++ b/board/xilinx/zynqmp_r5/board.c @@ -3,9 +3,9 @@ * (C) Copyright 2018 Xilinx, Inc. (Michal Simek) */ +#include <common.h> #include <fdtdec.h> #include <init.h> -#include <linux/errno.h> int board_init(void) { diff --git a/board/zyxel/nsa310s/nsa310s.c b/board/zyxel/nsa310s/nsa310s.c index d018b57..b3ea660 100644 --- a/board/zyxel/nsa310s/nsa310s.c +++ b/board/zyxel/nsa310s/nsa310s.c @@ -4,6 +4,7 @@ * Copyright (C) 2015 Gerald Kerma <dreagle@doukki.net> */ +#include <common.h> #include <init.h> #include <netdev.h> #include <asm/arch/cpu.h> diff --git a/board/zyxel/nsa325/nsa325.c b/board/zyxel/nsa325/nsa325.c index 38340b3..f5f63ee 100644 --- a/board/zyxel/nsa325/nsa325.c +++ b/board/zyxel/nsa325/nsa325.c @@ -14,6 +14,7 @@ * Marvell Semiconductor <www.marvell.com> */ +#include <common.h> #include <asm/arch/soc.h> #include <asm/arch/mpp.h> #include <netdev.h> |