summaryrefslogtreecommitdiffstats
path: root/include/configs
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-10-23 10:13:05 +0800
committerStefano Babic <sbabic@denx.de>2015-11-12 17:31:31 +0100
commit90ab4be1b204da04e9756fe582bd98cc8274c134 (patch)
treefca21c336add8083bdfb2adce8f0ad558faf2324 /include/configs
parent7de4703691498e18c58f375d724818e4d0db6223 (diff)
downloadblackbird-obmc-uboot-90ab4be1b204da04e9756fe582bd98cc8274c134.tar.gz
blackbird-obmc-uboot-90ab4be1b204da04e9756fe582bd98cc8274c134.zip
imx: mx7: default enable non-secure mode
Support PSCI and switch to non-secure mode when booting linux. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Signed-off-by: Frank Li <Frank.Li@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx7_common.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index ffe4d81656..5615a348e8 100644
--- a/include/configs/mx7_common.h
+++ b/include/configs/mx7_common.h
@@ -91,4 +91,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_NONSEC
+#define CONFIG_ARMV7_PSCI
+#define CONFIG_ARMV7_PSCI_NR_CPUS 2
+#define CONFIG_ARMV7_SECURE_BASE 0x00900000
+#endif
+
#endif
OpenPOWER on IntegriCloud