]> git.sur5r.net Git - u-boot/commitdiff
sunxi: introduce Allwinner H5 config option
authorAndre Przywara <andre.przywara@arm.com>
Thu, 16 Feb 2017 01:20:28 +0000 (01:20 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 5 Apr 2017 09:33:17 +0000 (15:03 +0530)
The Allwinner H5 Soc is bascially an H3 with high SRAM and ARMv8 cores.
As the peripherals and the pinmuxing are almost identical, we piggy
back on the shared MACH_SUN8I_H3_H5 config symbol.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
arch/arm/mach-sunxi/cpu_info.c
board/sunxi/Kconfig

index f1f6fd5ba430ec9926ca742ac9a4ea100f298f42..85633ccec21665a104b2ebd0b5bbc53247e70636 100644 (file)
@@ -91,6 +91,8 @@ int print_cpuinfo(void)
        puts("CPU:   Allwinner A80 (SUN9I)\n");
 #elif defined CONFIG_MACH_SUN50I
        puts("CPU:   Allwinner A64 (SUN50I)\n");
+#elif defined CONFIG_MACH_SUN50I_H5
+       puts("CPU:   Allwinner H5 (SUN50I)\n");
 #else
 #warning Please update cpu_info.c with correct CPU information
        puts("CPU:   SUNXI Family\n");
index b3af193e2adbfa001f30f3b6618c24f64854878b..3e0e2624737e9e34322655a10c76ce0bb61d80e4 100644 (file)
@@ -146,6 +146,12 @@ config MACH_SUN50I
        select SUNXI_HIGH_SRAM
        select SUPPORT_SPL
 
+config MACH_SUN50I_H5
+       bool "sun50i (Allwinner H5)"
+       select ARM64
+       select MACH_SUNXI_H3_H5
+       select SUNXI_HIGH_SRAM
+
 endchoice
 
 # The sun8i SoCs share a lot, this helps to avoid a lot of "if A23 || A33"