summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-06-10 09:46:12 -0300
committerStefano Babic <sbabic@denx.de>2016-07-12 17:58:49 +0200
commit303977430983f163c30a8937de737d1d6abe78ba (patch)
treeb14a2620594072b8e5944d4f1e99f9fd604d279c
parentd6b0c468189fad76addd09e9796e87ab61c227df (diff)
downloadu-boot-imx-303977430983f163c30a8937de737d1d6abe78ba.zip
u-boot-imx-303977430983f163c30a8937de737d1d6abe78ba.tar.gz
u-boot-imx-303977430983f163c30a8937de737d1d6abe78ba.tar.bz2
mx7: Place MX7_SEC option in Kconfig
MX7_SEC is an existing configuration option that allows booting the kernel in secure mode. Place this option in Kconfig, so that boards can select this option in their defconfig files. Selecting this option is necessary when booting a kernel provided by NXP, such as 3.14_GA and 4.1.15_GA. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Tested-by: Michael Trimarchi <michael@amarulasolutions.com>
-rw-r--r--arch/arm/imx-common/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/imx-common/Kconfig b/arch/arm/imx-common/Kconfig
index 1b7da5a..c6b38bc 100644
--- a/arch/arm/imx-common/Kconfig
+++ b/arch/arm/imx-common/Kconfig
@@ -17,3 +17,12 @@ config IMX_BOOTAUX
depends on ARCH_MX7 || ARCH_MX6
help
bootaux [addr] to boot auxiliary core.
+
+config MX7_SEC
+ bool "Support booting MX7 in secure mode"
+ depends on ARCH_MX7
+ help
+ NXP kernel requires to boot MX7 in secure mode. Select
+ this options if you want to boot a NXP kernel. In order
+ to boot a mainline kernel this option needs to be
+ unselected.