diff options
Diffstat (limited to 'src/arch/x86/memlayout.ld')
-rw-r--r-- | src/arch/x86/memlayout.ld | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/x86/memlayout.ld b/src/arch/x86/memlayout.ld index 475f9bc912..f6a8dc0f19 100644 --- a/src/arch/x86/memlayout.ld +++ b/src/arch/x86/memlayout.ld @@ -39,5 +39,12 @@ SECTIONS /* Pull in the cache-as-ram rules. */ #include "car.ld" +#elif ENV_VERSTAGE + /* The 1M size is not allocated. It's just for basic size checking. + * Link at 32MiB address and rely on cbfstool to relocate to XIP. */ + VERSTAGE(32M, 1M) + + /* Pull in the cache-as-ram rules. */ + #include "car.ld" #endif } |