]> git.sur5r.net Git - u-boot/commitdiff
ARM: sunxi: Enable PSCI for sun6i
authorChen-Yu Tsai <wens@csie.org>
Thu, 28 May 2015 13:25:32 +0000 (21:25 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 29 May 2015 11:46:36 +0000 (13:46 +0200)
Now that we have a PSCI backend for sun6i, enable it.

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
include/configs/sun6i.h

index c6c876d4e70e3b9d61befc95516c6c289da626f4..64d2af8460eac692c963a3b56eaac8c4bfe40ad0 100644 (file)
@@ -35,8 +35,11 @@ config MACH_SUN5I
 config MACH_SUN6I
        bool "sun6i (Allwinner A31)"
        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_SUN7I
        bool "sun7i (Allwinner A20)"
index e1263f69a5644bf44e2f26043ef6d616f23f497b..a0ebc7e97705f6b6cc40b2367090f5535e507031 100644 (file)
 
 #define CONFIG_SUNXI_USB_PHYS  3
 
+#define CONFIG_ARMV7_PSCI              1
+#define CONFIG_ARMV7_PSCI_NR_CPUS      4
+#define CONFIG_ARMV7_SECURE_BASE       SUNXI_SRAM_B_BASE
+#define CONFIG_TIMER_CLK_FREQ          24000000
+
 #define CONFIG_NAND_SUNXI_GPC_PORTS    {24, 25, 26}
 
 /*