Commit 0a12302c authored by Lionel Debieve's avatar Lionel Debieve
Browse files

Add missing support for BL2_AT_EL3 in XIP memory



Add the missing flag for aarch32 XIP memory mode. It was
previously added in aarch64 only.
Minor: Correct the aarch64 missing flag.
Signed-off-by: default avatarLionel Debieve <lionel.debieve@st.com>
Change-Id: Iac0a7581a1fd580aececa75f97deb894858f776f
parent c5235cae
...@@ -339,7 +339,7 @@ ...@@ -339,7 +339,7 @@
bl zeromem bl zeromem
#endif #endif
#ifdef IMAGE_BL1 #if defined(IMAGE_BL1) || (defined(IMAGE_BL2) && BL2_AT_EL3 && BL2_IN_XIP_MEM)
/* ----------------------------------------------------- /* -----------------------------------------------------
* Copy data from ROM to RAM. * Copy data from ROM to RAM.
* ----------------------------------------------------- * -----------------------------------------------------
......
...@@ -366,7 +366,7 @@ ...@@ -366,7 +366,7 @@
bl zeromem bl zeromem
#endif #endif
#if defined(IMAGE_BL1) || (defined(IMAGE_BL2) && BL2_IN_XIP_MEM) #if defined(IMAGE_BL1) || (defined(IMAGE_BL2) && BL2_AT_EL3 && BL2_IN_XIP_MEM)
adrp x0, __DATA_RAM_START__ adrp x0, __DATA_RAM_START__
add x0, x0, :lo12:__DATA_RAM_START__ add x0, x0, :lo12:__DATA_RAM_START__
adrp x1, __DATA_ROM_START__ adrp x1, __DATA_ROM_START__
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment