]> git.sur5r.net Git - u-boot/commitdiff
sunxi: Enable booting non-secure and virtualization for H3
authorChen-Yu Tsai <wens@csie.org>
Wed, 6 Jan 2016 07:13:09 +0000 (15:13 +0800)
committerHans de Goede <hdegoede@redhat.com>
Tue, 26 Jan 2016 15:20:05 +0000 (16:20 +0100)
Now that we support PSCI and various security switches, we can let
U-boot boot Linux into non-secure and HYP mode.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
board/sunxi/Kconfig

index 7c69be918f16d7e90a765bf29958140dee13d15e..8a30d0846736134002c82dda3073501cf57df6c5 100644 (file)
@@ -71,8 +71,11 @@ config MACH_SUN8I_A33
 config MACH_SUN8I_H3
        bool "sun8i (Allwinner H3)"
        select CPU_V7
+       select CPU_V7_HAS_NONSEC
+       select CPU_V7_HAS_VIRT
        select SUNXI_GEN_SUN6I
        select SUPPORT_SPL
+       select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
 
 config MACH_SUN8I_A83T
        bool "sun8i (Allwinner A83T)"