summaryrefslogtreecommitdiff
path: root/bl32
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2023-06-01 14:36:46 +0200
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2023-06-01 14:36:46 +0200
commit9b5c0fcdbac088eaf564e1ceca7ef686668bc25b (patch)
treec45f3068e8a21e16fe420a307d2897529be8607c /bl32
parentff31094a0d1c236ded291bd646a3d837f83c78b1 (diff)
parentfcb72e16ce901b0a379cc26abc6396be7a18279e (diff)
Merge changes from topic "hm/memmap-feat" into integration
* changes: build(bl32): add symbols for memory layout build(bl31): add symbols for memory layout build(bl2): add symbols for memory layout build(bl1): add symbols for memory layout refactor: improve readability of symbol table
Diffstat (limited to 'bl32')
-rw-r--r--bl32/sp_min/sp_min.ld.S3
-rw-r--r--bl32/tsp/tsp.ld.S3
2 files changed, 6 insertions, 0 deletions
diff --git a/bl32/sp_min/sp_min.ld.S b/bl32/sp_min/sp_min.ld.S
index 1695e1e0a..0a2bad01e 100644
--- a/bl32/sp_min/sp_min.ld.S
+++ b/bl32/sp_min/sp_min.ld.S
@@ -20,6 +20,8 @@ MEMORY {
#endif /* PLAT_SP_MIN_EXTRA_LD_SCRIPT */
SECTIONS {
+ RAM_REGION_START = ORIGIN(RAM);
+ RAM_REGION_LENGTH = LENGTH(RAM);
. = BL32_BASE;
ASSERT(. == ALIGN(PAGE_SIZE),
@@ -149,4 +151,5 @@ SECTIONS {
}
ASSERT(. <= BL32_LIMIT, "BL32 image has exceeded its limit.")
+ RAM_REGION_END = .;
}
diff --git a/bl32/tsp/tsp.ld.S b/bl32/tsp/tsp.ld.S
index a6658dd7c..b735f45e8 100644
--- a/bl32/tsp/tsp.ld.S
+++ b/bl32/tsp/tsp.ld.S
@@ -16,6 +16,8 @@ MEMORY {
}
SECTIONS {
+ RAM_REGION_START = ORIGIN(RAM);
+ RAM_REGION_LENGTH = LENGTH(RAM);
. = BL32_BASE;
ASSERT(. == ALIGN(PAGE_SIZE),
@@ -121,4 +123,5 @@ SECTIONS {
#endif /* USE_COHERENT_MEM */
ASSERT(. <= BL32_LIMIT, "BL32 image has exceeded its limit.")
+ RAM_REGION_END = .;
}