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

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

Commit Message

Timothy Pearson May 17, 2016, 2:37 a.m. UTC
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
---
 include/configs/sun8i.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Patch
diff mbox

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