diff options
author | Samuel Holland <samuel@sholland.org> | 2020-12-13 20:42:22 -0600 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2021-07-22 20:50:17 -0500 |
commit | 9aedca021d917c7435aa2a0405972aa9d44493a2 (patch) | |
tree | 0d016d072a7cf54e6633e2b29815e3d1f9e822fa | |
parent | e2a16044ad8ef33c7ce6e2c72c882d05583e1c38 (diff) | |
download | trusted-firmware-a-9aedca021d917c7435aa2a0405972aa9d44493a2.tar.gz |
feat(bl_common): import BL_NOBITS_{BASE,END} when defined
If SEPARATE_NOBITS_REGION is enabled, the platform may need to map
memory specifically for that region. Import the symbols from the linker
script to allow the platform to do so.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Change-Id: Iaec4dee94a6735b22f58f7b61f18d53e7bc6ca8d
-rw-r--r-- | include/common/bl_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/common/bl_common.h b/include/common/bl_common.h index 77fb1f679e..e33840c9d1 100644 --- a/include/common/bl_common.h +++ b/include/common/bl_common.h @@ -106,6 +106,10 @@ IMPORT_SYM(uintptr_t, __RODATA_END__, BL_RO_DATA_END); IMPORT_SYM(uintptr_t, __RO_START__, BL_CODE_BASE); IMPORT_SYM(uintptr_t, __RO_END__, BL_CODE_END); #endif +#if SEPARATE_NOBITS_REGION +IMPORT_SYM(uintptr_t, __NOBITS_START__, BL_NOBITS_BASE); +IMPORT_SYM(uintptr_t, __NOBITS_END__, BL_NOBITS_END); +#endif IMPORT_SYM(uintptr_t, __RW_END__, BL_END); #if defined(IMAGE_BL1) |