aboutsummaryrefslogtreecommitdiff
path: root/platform/ext/common
diff options
context:
space:
mode:
authorTTornblom <thomas.tornblom@iar.com>2021-06-03 12:17:11 +0200
committerKen Liu <ken.liu@arm.com>2021-06-07 03:00:12 +0200
commit6a45e1cccfa5c62ed4f95b2225ac95362671e410 (patch)
tree15076e5127113816c340d301f65b789e19912708 /platform/ext/common
parentfd6abedae633540b3bd3505698e29b5cfec24d01 (diff)
downloadtrusted-firmware-m-6a45e1cccfa5c62ed4f95b2225ac95362671e410.tar.gz
SPM: Add partition runtime region in the linker (IAR)
Update to the IAR linker script for patch #10148 Signed-off-by: TTornblom <thomas.tornblom@iar.com> Change-Id: I142f9305965ddbb7cc7ac45ae9ba269dce7ee587
Diffstat (limited to 'platform/ext/common')
-rw-r--r--platform/ext/common/iar/tfm_common_s.icf14
1 files changed, 14 insertions, 0 deletions
diff --git a/platform/ext/common/iar/tfm_common_s.icf b/platform/ext/common/iar/tfm_common_s.icf
index ea298ab8d9..7d49217a60 100644
--- a/platform/ext/common/iar/tfm_common_s.icf
+++ b/platform/ext/common/iar/tfm_common_s.icf
@@ -164,6 +164,16 @@ keep {block HEAP, block ARM_LIB_HEAP};
define block ER_TFM_DATA with alignment = 8 {readwrite};
+define block ER_PART_RT_POOL with alignment = 4 {
+ zi section .bss.part_runtime
+};
+
+define block ER_SERV_RT_POOL with alignment = 4 {
+ zi section .bss.serv_runtime
+};
+
+keep {block ER_PART_RT_POOL, block ER_SERV_RT_POOL};
+
/**** PSA RoT DATA start here */
/*
* This empty, zero long execution region is here to mark the start address
@@ -315,6 +325,10 @@ define block PRIV_DATA with fixed order {
block ER_TFM_DATA,
+ block ER_PART_RT_POOL,
+
+ block ER_SERV_RT_POOL,
+
/**** PSA RoT DATA start here */
/*
* This empty, zero long execution region is here to mark the start address