summaryrefslogtreecommitdiff
path: root/bl2
diff options
context:
space:
mode:
authorAndrew Thoelke <andrew.thoelke@arm.com>2014-05-23 12:14:37 +0100
committerAndrew Thoelke <andrew.thoelke@arm.com>2014-05-23 12:14:37 +0100
commitf53d0fce3f8e13529d823c22ce61dc0e0fdf0ffd (patch)
tree4428e24e078c9214437734408046c3e1c2674f86 /bl2
parent8957fc76aa58cb66635b872b80e8a44be250a2ba (diff)
parent638363eb5f548773c4eb7c9c0d21b87576064f28 (diff)
Merge pull request #101 from sandrine-bailleux:sb/tf-issue-81-v2
Diffstat (limited to 'bl2')
-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 edb676af..9f02e92c 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.")
}