]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
tegra: Boot in non-secure mode by default
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 21 Apr 2015 05:18:39 +0000 (07:18 +0200)
committerTom Warren <twarren@nvidia.com>
Wed, 13 May 2015 16:24:16 +0000 (09:24 -0700)
Upstream Linux is broken with default configs when PSCI, thus non-secure
mode is enabled. So the user should explicitly enable this mode, e.g.
when she disabled CONFIG_CPU_IDLE in Linux (in which case it's safe to
use). We can revert this workaround once Linux got fixed.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv7/Kconfig

index 61e7c824594b691db486ca60ed98c2fb1252bf3a..6c5d5dd8e01143e5d218429d31095b48739f7350 100644 (file)
@@ -16,7 +16,7 @@ config ARMV7_NONSEC
 config ARMV7_BOOT_SEC_DEFAULT
        boolean "Boot in secure mode by default" if EXPERT
        depends on ARMV7_NONSEC
-       default n
+       default y if TEGRA
        ---help---
        Say Y here to boot in secure mode by default even if non-secure mode
        is supported. This option is useful to boot kernels which do not