aboutsummaryrefslogtreecommitdiff
path: root/bl2/bl2.ld.S
diff options
context:
space:
mode:
Diffstat (limited to 'bl2/bl2.ld.S')
-rw-r--r--bl2/bl2.ld.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/bl2/bl2.ld.S b/bl2/bl2.ld.S
index edb676a..9f02e92 100644
--- a/bl2/bl2.ld.S
+++ b/bl2/bl2.ld.S
@@ -117,4 +117,6 @@ SECTIONS
__BSS_SIZE__ = SIZEOF(.bss);
__COHERENT_RAM_UNALIGNED_SIZE__ =
__COHERENT_RAM_END_UNALIGNED__ - __COHERENT_RAM_START__;
+
+ ASSERT(. <= BL2_LIMIT, "BL2 image has exceeded its limit.")
}