diff options
author | Ting Shen <phoenixshen@google.com> | 2019-01-28 18:15:00 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-02-05 13:41:45 +0000 |
commit | dff29e0c65462258776b8fb821516faad3ec1394 (patch) | |
tree | a711cd01310f677a54f6497be8f8f071b96be54c /src/include/symbols.h | |
parent | 4929f4361936bcc994044dea5c79619746384d5e (diff) | |
download | coreboot-dff29e0c65462258776b8fb821516faad3ec1394.tar.xz |
bootmem: add new memory type for BL31
After CL:31122, we can finally define a memory type specific for BL31,
to make sure BL31 is not loaded on other reserved area.
Change-Id: Idbd9a7fe4b12af23de1519892936d8d88a000e2c
Signed-off-by: Ting Shen <phoenixshen@google.com>
Reviewed-on: https://review.coreboot.org/c/31123
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/include/symbols.h')
-rw-r--r-- | src/include/symbols.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/symbols.h b/src/include/symbols.h index fc9ef21ecf..abb9fbecbc 100644 --- a/src/include/symbols.h +++ b/src/include/symbols.h @@ -114,6 +114,10 @@ extern u8 _pdpt[]; extern u8 _epdpt[]; #define _pdpt_size (_epdpt - _pdpt) +extern u8 _bl31[]; +extern u8 _ebl31[]; +#define _bl31_size (_ebl31 - _bl31) + /* Put this into a .c file accessing a linker script region to mark that region * as "optional". If it is defined in memlayout.ld (or anywhere else), the * values from that definition will be used. If not, start, end and size will |