All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] mx7: Place MX7_SEC option in Kconfig
@ 2016-06-10 12:46 Fabio Estevam
  2016-06-10 12:46 ` [U-Boot] [PATCH 2/2] mx7dsabresd: Fix the boot of a NXP kernel Fabio Estevam
  2016-06-17 11:59 ` [U-Boot] [PATCH 1/2] mx7: Place MX7_SEC option in Kconfig Fabio Estevam
  0 siblings, 2 replies; 10+ messages in thread
From: Fabio Estevam @ 2016-06-10 12:46 UTC (permalink / raw)
  To: u-boot

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>
---
 arch/arm/imx-common/Kconfig | 9 +++++++++
 1 file changed, 9 insertions(+)

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.
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-06-18  8:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-10 12:46 [U-Boot] [PATCH 1/2] mx7: Place MX7_SEC option in Kconfig Fabio Estevam
2016-06-10 12:46 ` [U-Boot] [PATCH 2/2] mx7dsabresd: Fix the boot of a NXP kernel Fabio Estevam
2016-06-17 11:59 ` [U-Boot] [PATCH 1/2] mx7: Place MX7_SEC option in Kconfig Fabio Estevam
2016-06-17 12:50   ` Stefano Babic
2016-06-17 12:56     ` Michael Trimarchi
2016-06-17 14:54       ` Fabio Estevam
2016-06-17 14:55         ` Michael Trimarchi
2016-06-17 18:07           ` Michael Trimarchi
2016-06-18  8:56       ` Stefano Babic
2016-06-17 13:34     ` Fabio Estevam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.