aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvishnupatekar <vishnupatekar0510@gmail.com>2015-11-29 01:07:19 +0800
committerHans de Goede <hdegoede@redhat.com>2015-12-10 11:14:21 +0100
commit762e24a07871aec34fb3b5169dee309eb353861d (patch)
tree36edb21a02d2aac5aa74bc11715ad3606f99593d
parentcbc1a91afb7fb0f096453e5574bc5c0719c6c9c4 (diff)
downloadu-boot-762e24a07871aec34fb3b5169dee309eb353861d.zip
u-boot-762e24a07871aec34fb3b5169dee309eb353861d.tar.gz
u-boot-762e24a07871aec34fb3b5169dee309eb353861d.tar.bz2
sunxi: Add Machine Support for A83T SOC
Allwinner A83T is octa-core cortex-a7 SOC. This enables support for A83T. SMP is not yet supported. Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r--arch/arm/cpu/armv7/sunxi/cpu_info.c2
-rw-r--r--board/sunxi/Kconfig9
-rw-r--r--include/configs/sun8i.h4
3 files changed, 14 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/sunxi/cpu_info.c b/arch/arm/cpu/armv7/sunxi/cpu_info.c
index 1e73332..b9bc70c 100644
--- a/arch/arm/cpu/armv7/sunxi/cpu_info.c
+++ b/arch/arm/cpu/armv7/sunxi/cpu_info.c
@@ -73,6 +73,8 @@ int print_cpuinfo(void)
puts("CPU: Allwinner H3 (SUN8I)\n");
#elif defined CONFIG_MACH_SUN9I
puts("CPU: Allwinner A80 (SUN9I)\n");
+#elif defined CONFIG_MACH_SUN8I_A83T
+ puts("CPU: Allwinner A83T (SUN8I)\n");
#else
#warning Please update cpu_info.c with correct CPU information
puts("CPU: SUNXI Family\n");
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 2dd9d3b..9d67847 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -74,6 +74,12 @@ config MACH_SUN8I_H3
select SUNXI_GEN_SUN6I
select SUPPORT_SPL
+config MACH_SUN8I_A83T
+ bool "sun8i (Allwinner A83T)"
+ select CPU_V7
+ select SUNXI_GEN_SUN6I
+ select SUPPORT_SPL
+
config MACH_SUN9I
bool "sun9i (Allwinner A80)"
select CPU_V7
@@ -84,7 +90,7 @@ endchoice
# The sun8i SoCs share a lot, this helps to avoid a lot of "if A23 || A33"
config MACH_SUN8I
bool
- default y if MACH_SUN8I_A23 || MACH_SUN8I_A33 || MACH_SUN8I_H3
+ default y if MACH_SUN8I_A23 || MACH_SUN8I_A33 || MACH_SUN8I_H3 || MACH_SUN8I_A83T
config DRAM_CLK
@@ -373,6 +379,7 @@ config AXP_GPIO
config VIDEO
boolean "Enable graphical uboot console on HDMI, LCD or VGA"
+ depends on !MACH_SUN8I_A83T
default y
---help---
Say Y here to add support for using a cfb console on the HDMI, LCD
diff --git a/include/configs/sun8i.h b/include/configs/sun8i.h
index 113e320..781ff6e 100644
--- a/include/configs/sun8i.h
+++ b/include/configs/sun8i.h
@@ -20,6 +20,8 @@
#define CONFIG_SUNXI_USB_PHYS 2
+
+#ifndef CONFIG_MACH_SUN8I_A83T
#define CONFIG_ARMV7_PSCI 1
#if defined(CONFIG_MACH_SUN8I_A23)
#define CONFIG_ARMV7_PSCI_NR_CPUS 2
@@ -30,6 +32,8 @@
#else
#error Unsupported sun8i variant
#endif
+#endif
+
#define CONFIG_TIMER_CLK_FREQ 24000000
/*