sunxi: add V3/S3 support
authorIcenowy Zheng <icenowy@aosc.io>
Mon, 26 Oct 2020 14:15:59 +0000 (22:15 +0800)
committerAndre Przywara <andre.przywara@arm.com>
Tue, 17 Nov 2020 00:42:21 +0000 (00:42 +0000)
Allwinner V3/Sochip S3 uses the same die with Allwinner V3s/S3L, but V3 comes
with no co-packaged DDR (DDR3 is usually used externally), and S3L comes
with co-packaged DDR3.

Add support for Allwinner V3/S3 chips by add SoC names to original V3s
choice, and allow to select DDR3.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/mach-sunxi/Kconfig

index 8421f3b..49ef217 100644 (file)
@@ -253,7 +253,7 @@ config MACH_SUN8I_R40
        select PHY_SUN4I_USB
 
 config MACH_SUN8I_V3S
-       bool "sun8i (Allwinner V3s)"
+       bool "sun8i (Allwinner V3/V3s/S3/S3L)"
        select CPU_V7A
        select CPU_V7_HAS_NONSEC
        select CPU_V7_HAS_VIRT
@@ -363,7 +363,6 @@ choice
 config SUNXI_DRAM_DDR3_1333
        bool "DDR3 1333"
        select SUNXI_DRAM_DDR3
-       depends on !MACH_SUN8I_V3S
        ---help---
        This option is the original only supported memory type, which suits
        many H3/H5/A64 boards available now.