summaryrefslogtreecommitdiff
path: root/plat/arm/common/arm_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'plat/arm/common/arm_common.c')
-rw-r--r--plat/arm/common/arm_common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plat/arm/common/arm_common.c b/plat/arm/common/arm_common.c
index 33d2b068..03e44f42 100644
--- a/plat/arm/common/arm_common.c
+++ b/plat/arm/common/arm_common.c
@@ -114,7 +114,11 @@ void arm_setup_page_tables(uintptr_t total_base,
uintptr_t plat_get_ns_image_entrypoint(void)
{
+#ifdef PRELOADED_BL33_BASE
+ return PRELOADED_BL33_BASE;
+#else
return PLAT_ARM_NS_IMAGE_OFFSET;
+#endif
}
/*******************************************************************************