[U-Boot] [V2] [PATCH 8/8] a83t: Enable PSCI, non-secure mode, and cluster / cache setup

tpearson at raptorengineering.com tpearson at raptorengineering.com
Tue May 17 21:37:37 CEST 2016


Now that the groundwork has been laid, enable all the pieces to
support PSCI, KVM, and SMP.  This has been tested on a mainline
Linux kernel, however that kernel hangs for an unknown reason
during kthread execution even though all cores start normally.
It is currently assumed that this is a non-PSCI related problem.

Signed-off-by: Timothy Pearson <tpearson at raptorengineering.com>
---
 board/sunxi/Kconfig | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index fa78720..4b82d3d 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -85,8 +85,13 @@ config MACH_SUN50I
 config MACH_SUN8I_A83T
 	bool "sun8i (Allwinner A83T)"
 	select CPU_V7
+	select CPU_V7_HAS_NONSEC
+	select CPU_V7_HAS_VIRT
 	select SUNXI_GEN_SUN6I
 	select SUPPORT_SPL
+	select ENABLE_CLUSTER_1
+	select ENABLE_CCI400_SNOOP_CLUSTERS_0_1
+	select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT

 config MACH_SUN9I
 	bool "sun9i (Allwinner A80)"
@@ -623,4 +628,12 @@ config SPL_STACK_R_ADDR
 	default 0x4fe00000 if MACH_SUN4I || MACH_SUN5I || MACH_SUN6I || MACH_SUN7I || MACH_SUN8I || MACH_SUN50I
 	default 0x2fe00000 if MACH_SUN9I

+config ENABLE_CLUSTER_1
+	bool
+	default n
+
+config ENABLE_CCI400_SNOOP_CLUSTERS_0_1
+	bool
+	default n
+
 endif
-- 
2.8.0.rc3



More information about the U-Boot mailing list