[v2 03/16] arm: Partial cleanup and audit usage of <config.h>
Simon Glass
sjg at chromium.org
Sat Dec 16 19:45:51 CET 2023
On Thu, 14 Dec 2023 at 11:17, Tom Rini <trini at konsulko.com> wrote:
>
> We need to include <config.h> directly when a file needs to have
> something such as CFG_SYS_SDRAM_SIZE referenced as this file is not
> automatically globally included and is most commonly indirectly included
> via common.h. Remove most cases of arm including config.h directly, but
> add it where needed. This includes a few board-specific fixes.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Changes in v2:
> - Update arch/arm/mach-keystone/cmd_mon.c
> ---
> arch/arm/include/asm/arch-fsl-layerscape/fsl_serdes.h | 2 --
> arch/arm/include/asm/arch-ls102xa/fsl_serdes.h | 2 --
> arch/arm/include/asm/assembler.h | 1 -
> arch/arm/include/asm/secure.h | 1 -
> arch/arm/include/asm/string.h | 2 --
> arch/arm/mach-davinci/include/mach/pinmux_defs.h | 1 -
> arch/arm/mach-exynos/exynos4_setup.h | 1 -
> arch/arm/mach-exynos/exynos5_setup.h | 1 -
> arch/arm/mach-k3/common.c | 1 +
> arch/arm/mach-k3/include/mach/clock.h | 2 --
> arch/arm/mach-k3/include/mach/j721e_hardware.h | 1 -
> arch/arm/mach-k3/include/mach/j721s2_hardware.h | 1 -
> arch/arm/mach-keystone/cmd_mon.c | 1 +
> board/freescale/ls1088a/eth_ls1088aqds.c | 1 +
> board/freescale/ls2080aqds/eth.c | 1 +
> board/toradex/verdin-am62/verdin-am62.c | 1 +
> drivers/ddr/marvell/axp/ddr3_axp.h | 2 ++
> 17 files changed, 7 insertions(+), 15 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list