summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2015-06-24 19:05:50 +0100
committerdanh-arm <dan.handley@arm.com>2015-06-24 19:05:50 +0100
commitdba12894030db45c495643e4320365dd8f0e6f68 (patch)
treeb6f9e1940ca0f33d3cc0f787f821267c0a0e41e4
parent5a6954fbfbf17783f7089305fb2d5802be17f934 (diff)
parentc9915c0b0ff563ca5dedc1a303777b9644ae7f59 (diff)
Merge pull request #325 from sandrine-bailleux/sb/fix-rw-data-relocation
Bug fix: Build time condition to relocate RW data
-rw-r--r--include/common/el3_common_macros.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common/el3_common_macros.S b/include/common/el3_common_macros.S
index b8a947cf..eb033a6e 100644
--- a/include/common/el3_common_macros.S
+++ b/include/common/el3_common_macros.S
@@ -226,7 +226,7 @@
bl zeromem16
#endif
-#ifdef __DATA_ROM_START__
+#if IMAGE_BL1
ldr x0, =__DATA_RAM_START__
ldr x1, =__DATA_ROM_START__
ldr x2, =__DATA_SIZE__