diff mbox

[U-Boot,V2,1/8] sun8i: Add A83t SMP definitions

Message ID 48299b4d4c1f106e057d1d99cb0ffa55.squirrel@vali.starlink.edu
State Superseded
Delegated to: Hans de Goede
Headers show

Commit Message

Timothy Pearson May 17, 2016, 7:34 p.m. UTC
Define number of cores and secure SRAM base in preparation
for A83t SMP / PSCI enablement.

Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
---
 include/configs/sun8i.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/include/configs/sun8i.h b/include/configs/sun8i.h
index b9a8731..b239548 100644
--- a/include/configs/sun8i.h
+++ b/include/configs/sun8i.h
@@ -26,7 +26,6 @@ 
 	#define CONFIG_SUNXI_USB_PHYS	2
 #endif

-#ifndef CONFIG_MACH_SUN8I_A83T
 #define CONFIG_ARMV7_PSCI		1
 #if defined(CONFIG_MACH_SUN8I_A23)
 #define CONFIG_ARMV7_PSCI_NR_CPUS	2
@@ -34,10 +33,12 @@ 
 #define CONFIG_ARMV7_PSCI_NR_CPUS	4
 #elif defined(CONFIG_MACH_SUN8I_H3)
 #define CONFIG_ARMV7_PSCI_NR_CPUS	4
+#elif defined(CONFIG_MACH_SUN8I_A83T)
+#define CONFIG_ARMV7_PSCI_NR_CPUS	8
+#define CONFIG_ARMV7_SECURE_BASE	SUNXI_SRAM_B_BASE
 #else
 #error Unsupported sun8i variant
 #endif
-#endif

 /*
  * Include common sunxi configuration where most the settings are