[PATCH 3/5] arm: Partial cleanup and audit usage of <config.h>
Simon Glass
sjg at chromium.org
Sat Nov 18 18:09:54 CET 2023
On Fri, 17 Nov 2023 at 15:53, 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>
> ---
> 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-k3/r5_mpu.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