mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-26 23:04:50 +00:00
fix(bl2): define RAM_NOLOAD for XIP
If BL2_IN_XIP_MEM is enabled, BL2 fails to compile because RAM_NOLOAD symbol is not defined. As we could have a no-load region even if BL2_IN_XIP_MEM is enabled, just put its definition outside the #if/#else for this flag. Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I9169ea799635f8a72790280f3f148d1cba4cd408
This commit is contained in:
parent
f78cb61a11
commit
cc562e7410
1 changed files with 1 additions and 1 deletions
|
@ -17,12 +17,12 @@ MEMORY {
|
|||
RAM (rwx): ORIGIN = BL2_RW_BASE, LENGTH = BL2_RW_LIMIT - BL2_RW_BASE
|
||||
#else
|
||||
RAM (rwx): ORIGIN = BL2_BASE, LENGTH = BL2_LIMIT - BL2_BASE
|
||||
#endif
|
||||
#if SEPARATE_BL2_NOLOAD_REGION
|
||||
RAM_NOLOAD (rw!a): ORIGIN = BL2_NOLOAD_START, LENGTH = BL2_NOLOAD_LIMIT - BL2_NOLOAD_START
|
||||
#else
|
||||
#define RAM_NOLOAD RAM
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !BL2_IN_XIP_MEM
|
||||
|
|
Loading…
Add table
Reference in a new issue