[U-Boot] [PATCH 3/3] imx: config: default enable nosec mode

Frank Li Frank.Li at freescale.com
Wed Oct 7 00:13:26 CEST 2015


Enable psci and nosec linux boot.
So second core can boot at community 4.13 kernel.

Signed-off-by: Frank Li <Frank.Li at freescale.com>
---
 include/configs/mx7_common.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index ea2be49..3231d26 100644
--- a/include/configs/mx7_common.h
+++ b/include/configs/mx7_common.h
@@ -92,4 +92,15 @@
 #define CONFIG_CMD_FUSE
 #define CONFIG_MXC_OCOTP
 
+/* Default boot linux kernel in no secure mode.
+ * If want to boot kernel in secure mode, please define CONFIG_MX7_SEC
+ */
+#ifndef CONFIG_MX7_SEC
+#define CONFIG_ARMV7_VIRT 1
+#define CONFIG_ARMV7_NONSEC 1
+#define CONFIG_ARMV7_PSCI 1
+#define CONFIG_ARMV7_PSCI_NR_CPUS	2
+#define CONFIG_ARMV7_SECURE_BASE 0x00900000
+#endif
+
 #endif
-- 
2.5.2



More information about the U-Boot mailing list