Bug fix: Build time condition to relocate RW data

This patch fixes the build time condition deciding whether the
read-write data should be relocated from ROM to RAM. It was incorrectly
using __DATA_ROM_START__, which is a linker symbol and not a compiler
build flag. As a result, the relocation code was always compiled out.

This bug has been introduced by the following patch:
"Rationalize reset handling code"

Change-Id: I1c8d49de32f791551ab4ac832bd45101d6934045
This commit is contained in:
Sandrine Bailleux 2015-06-24 15:26:39 +01:00
parent 5a6954fbfb
commit c9915c0b0f
1 changed files with 1 additions and 1 deletions

View File

@ -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__