
Old kernels cannot handle booting in non-secure (hyp) mode, so when OLD_SUNXI_KERNEL_COMPAT is set, also set ARMV7_BOOT_SEC_DEFAULT.
Note that whether to booting secure or non-secure can always be overriden using the bootm_boot_mode environment variable.
Signed-off-by: Hans de Goede hdegoede@redhat.com -- Changes in v2: -Use Kconfig rather the a hard-define in include/configs/sun7i.h --- board/sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index abbd2df..8159a54 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -14,6 +14,7 @@ config TARGET_SUN6I
config TARGET_SUN7I bool "sun7i family" + select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
config TARGET_SUN8I bool "sun8i family"