From: Heiko Stuebner Date: Thu, 11 Apr 2019 13:26:07 +0000 (+0200) Subject: sp_min: allow inclusion of a platform-specific linker script X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=14e09cc42e95c716ed4eed73764d254052f985f0;p=project%2Fbcm63xx%2Fatf.git sp_min: allow inclusion of a platform-specific linker script Similar to bl31 allow sp_min to also include a platform-specific linker script. This allows for example to place specific code in other memories of the system, like resume code in sram, while the main tf-a lives in ddr. Signed-off-by: Heiko Stuebner Change-Id: I67642f7bfca036b5d51eb0fa092b479a647a9cc1 --- diff --git a/bl32/sp_min/sp_min.ld.S b/bl32/sp_min/sp_min.ld.S index 83b78600..4559903b 100644 --- a/bl32/sp_min/sp_min.ld.S +++ b/bl32/sp_min/sp_min.ld.S @@ -16,6 +16,9 @@ MEMORY { RAM (rwx): ORIGIN = BL32_BASE, LENGTH = BL32_LIMIT - BL32_BASE } +#ifdef PLAT_SP_MIN_EXTRA_LD_SCRIPT +#include +#endif SECTIONS {