]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: bootm: Allow booting in secure mode on hyp capable systems
authorHans de Goede <hdegoede@redhat.com>
Fri, 14 Nov 2014 08:34:31 +0000 (09:34 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 24 Nov 2014 08:09:52 +0000 (09:09 +0100)
commit8bc347e2ec17bca44b1639a001eeed50d042f0db
treeab3fb83f48ec6bc8ec97bae2eba484325544a5b0
parentea624e1951f1208ae619888be4c03f058e65c572
ARM: bootm: Allow booting in secure mode on hyp capable systems

Older Linux kernels will not properly boot in hyp mode, add support for a
bootm_boot_mode environment variable, which can be set to "sec" or "nonsec"
to force booting in secure or non-secure mode when build with non-sec support.

The default behavior can be selected through CONFIG_ARMV7_BOOT_SEC_DEFAULT,
when this is set booting in secure mode is the default. The default setting
for this Kconfig option is N, preserving the current behavior of booting in
non-secure mode by default when non-secure mode is supported.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
arch/arm/cpu/armv7/Kconfig
arch/arm/lib/bootm.c