diff --git a/plat/qti/msm8916/include/platform_def.h b/plat/qti/msm8916/include/platform_def.h index 6d5ff2b33..02bfd37eb 100644 --- a/plat/qti/msm8916/include/platform_def.h +++ b/plat/qti/msm8916/include/platform_def.h @@ -18,6 +18,7 @@ */ #define BL31_LIMIT (BL31_BASE + SZ_128K) #define BL31_PROGBITS_LIMIT (BL31_BASE + SZ_64K) +#define BL32_LIMIT (BL32_BASE + SZ_128K) #define CACHE_WRITEBACK_GRANULE U(64) #define PLATFORM_STACK_SIZE SZ_4K diff --git a/plat/qti/msm8916/platform.mk b/plat/qti/msm8916/platform.mk index fcee2f33b..b3ea2feee 100644 --- a/plat/qti/msm8916/platform.mk +++ b/plat/qti/msm8916/platform.mk @@ -34,12 +34,6 @@ PLAT_INCLUDES := -Iinclude/plat/arm/common/${ARCH} \ RESET_TO_BL31 := 1 COLD_BOOT_SINGLE_CPU := 1 -# Build config flags -# ------------------ -BL31_BASE ?= 0x86500000 -BL32_BASE ?= 0x86000000 -PRELOADED_BL33_BASE ?= 0x8f600000 - # Have different sections for code and rodata SEPARATE_CODE_AND_RODATA := 1 @@ -65,5 +59,11 @@ ERRATA_A53_843419 := 1 ERRATA_A53_855873 := 0 # Workaround works only for >= r0p3 ERRATA_A53_1530924 := 1 +# Build config flags +# ------------------ +BL31_BASE ?= 0x86500000 +BL32_BASE ?= BL31_LIMIT +PRELOADED_BL33_BASE ?= 0x8f600000 + $(eval $(call add_define,BL31_BASE)) $(eval $(call add_define,BL32_BASE))