From 6cb17b16dfd06e1ff17a097f743905ae507ceb20 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Sun, 13 Dec 2020 20:42:22 -0600 Subject: [PATCH 1/8] 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 Change-Id: Iaec4dee94a6735b22f58f7b61f18d53e7bc6ca8d --- include/common/bl_common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/common/bl_common.h b/include/common/bl_common.h index 77fb1f679..e33840c9d 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) -- 2.31.1