]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: Partial cleanup and audit usage of <config.h>
authorTom Rini <trini@konsulko.com>
Thu, 14 Dec 2023 18:16:45 +0000 (13:16 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 21 Dec 2023 13:54:37 +0000 (08:54 -0500)
commit7776960f4d26043c75bbc349d28815c698668d41
tree28d131b6f3e2c2234ba5381e79a713453865f5b7
parent28388f4ddbfa9a874e3c2d59217a14e51ce8e5e0
arm: Partial cleanup and audit usage of <config.h>

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.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
17 files changed:
arch/arm/include/asm/arch-fsl-layerscape/fsl_serdes.h
arch/arm/include/asm/arch-ls102xa/fsl_serdes.h
arch/arm/include/asm/assembler.h
arch/arm/include/asm/secure.h
arch/arm/include/asm/string.h
arch/arm/mach-davinci/include/mach/pinmux_defs.h
arch/arm/mach-exynos/exynos4_setup.h
arch/arm/mach-exynos/exynos5_setup.h
arch/arm/mach-k3/common.c
arch/arm/mach-k3/include/mach/clock.h
arch/arm/mach-k3/include/mach/j721e_hardware.h
arch/arm/mach-k3/include/mach/j721s2_hardware.h
arch/arm/mach-keystone/cmd_mon.c
board/freescale/ls1088a/eth_ls1088aqds.c
board/freescale/ls2080aqds/eth.c
board/toradex/verdin-am62/verdin-am62.c
drivers/ddr/marvell/axp/ddr3_axp.h