From 14e09cc42e95c716ed4eed73764d254052f985f0 Mon Sep 17 00:00:00 2001 From: Heiko Stuebner Date: Thu, 11 Apr 2019 15:26:07 +0200 Subject: [PATCH] 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 --- bl32/sp_min/sp_min.ld.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bl32/sp_min/sp_min.ld.S b/bl32/sp_min/sp_min.ld.S index 83b78600e..4559903bf 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 {