From: Kever Yang Date: Fri, 29 Mar 2019 14:48:28 +0000 (+0800) Subject: rockchip: boot0: update CONFIG_ROCKCHIP_SPL_RESERVE_IRAM for SPL only X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6b780e441b807f7340e6b2f250f40c9f19e02355;p=project%2Fbcm63xx%2Fu-boot.git rockchip: boot0: update CONFIG_ROCKCHIP_SPL_RESERVE_IRAM for SPL only The CONFIG_ROCKCHIP_SPL_RESERVE_IRAM is for SPL only, add condition to limit it not affect TPL. Signed-off-by: Kever Yang --- diff --git a/arch/arm/include/asm/arch-rockchip/boot0.h b/arch/arm/include/asm/arch-rockchip/boot0.h index 9ea4708ada..0c375e543a 100644 --- a/arch/arm/include/asm/arch-rockchip/boot0.h +++ b/arch/arm/include/asm/arch-rockchip/boot0.h @@ -54,6 +54,7 @@ _start: ARM_VECTORS #endif -#if defined(CONFIG_SPL_BUILD) && (CONFIG_ROCKCHIP_SPL_RESERVE_IRAM > 0) +#if !defined(CONFIG_TPL_BUILD) && defined(CONFIG_SPL_BUILD) && \ + (CONFIG_ROCKCHIP_SPL_RESERVE_IRAM > 0) .space CONFIG_ROCKCHIP_SPL_RESERVE_IRAM /* space for the ATF data */ #endif