aboutsummaryrefslogtreecommitdiff
path: root/include/configs/warp7.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/warp7.h')
-rw-r--r--include/configs/warp7.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/warp7.h b/include/configs/warp7.h
index 1b656a5..a391dfb 100644
--- a/include/configs/warp7.h
+++ b/include/configs/warp7.h
@@ -13,6 +13,17 @@
#define PHYS_SDRAM_SIZE SZ_512M
+/*
+ * If we have defined the OPTEE ram size and not OPTEE it means that we were
+ * launched by OPTEE, because of that we shall skip all the low level
+ * initialization since it was already done by ATF or OPTEE
+ */
+#ifdef CONFIG_OPTEE_TZDRAM_SIZE
+#ifndef CONFIG_OPTEE
+#define CONFIG_SKIP_LOWLEVEL_INIT
+#endif
+#endif
+
#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR
/* Size of malloc() pool */