summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2016-03-10 15:34:07 +0800
committerYe Li <ye.li@nxp.com>2016-03-25 15:52:22 +0800
commit4efa01ec28543213cbd9bf2adef02a9163f3168a (patch)
tree9368ce2b41e49602f1c173930486e7f1b4c02d3e
parent7f43a799564b91a2a7b73594c67b7c153ef737ee (diff)
downloadu-boot-imx-4efa01ec28543213cbd9bf2adef02a9163f3168a.zip
u-boot-imx-4efa01ec28543213cbd9bf2adef02a9163f3168a.tar.gz
u-boot-imx-4efa01ec28543213cbd9bf2adef02a9163f3168a.tar.bz2
MLK-12528 mx7: Enable secure mode for mx7 platforms
The CONFIG_MX7_SEC is not set at default, so the MX7 goes to non-secure mode before jumping to kernel, and needs PSCI works for secure mode operations. We have to set the CONFIG_MX7_SEC to enable the secure mode, otherwise we will get some kernel panic issues. Signed-off-by: Ye Li <ye.li@nxp.com>
-rw-r--r--include/configs/mx7_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/mx7_common.h b/include/configs/mx7_common.h
index c9f3907..975a277 100644
--- a/include/configs/mx7_common.h
+++ b/include/configs/mx7_common.h
@@ -99,6 +99,7 @@
* Default boot linux kernel in no secure mode.
* If want to boot kernel in secure mode, please define CONFIG_MX7_SEC
*/
+#define CONFIG_MX7_SEC
#ifndef CONFIG_MX7_SEC
#define CONFIG_ARMV7_NONSEC
#define CONFIG_ARMV7_PSCI