summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.xyz>2017-04-08 15:30:12 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-04-21 09:23:17 +0200
commitc199489f17c91ee4fed73263d1117d1c1a933c6f (patch)
tree6fd9c1f5784ca1e63ea96b52c48c7fa79f9b1504 /board
parent1ae5def6be484b0ee2c6ef72c750349b72342ac9 (diff)
sunxi: add basic V3s support
Basic U-Boot support is now present for V3s. Some memory addresses are changed specially for V3s, as the original address map cannot fit into a so small DRAM. As the DRAM controller code needs a big refactor, the SPL support is disabled in this version. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Jagan Teki <jagan@openedev.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'board')
-rw-r--r--board/sunxi/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 7350e25e28..b47034f417 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -144,6 +144,15 @@ config MACH_SUN8I_R40
select SUNXI_GEN_SUN6I
select SUPPORT_SPL
+config MACH_SUN8I_V3S
+ bool "sun8i (Allwinner V3s)"
+ select CPU_V7
+ select CPU_V7_HAS_NONSEC
+ select CPU_V7_HAS_VIRT
+ select ARCH_SUPPORT_PSCI
+ select SUNXI_GEN_SUN6I
+ select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
+
config MACH_SUN9I
bool "sun9i (Allwinner A80)"
select CPU_V7
@@ -175,6 +184,7 @@ config MACH_SUN8I
default y if MACH_SUN8I_A83T
default y if MACH_SUNXI_H3_H5
default y if MACH_SUN8I_R40
+ default y if MACH_SUN8I_V3S
config RESERVE_ALLWINNER_BOOT0_HEADER
bool "reserve space for Allwinner boot0 header"
@@ -544,6 +554,7 @@ config VIDEO
depends on !MACH_SUN8I_A83T
depends on !MACH_SUNXI_H3_H5
depends on !MACH_SUN8I_R40
+ depends on !MACH_SUN8I_V3S
depends on !MACH_SUN9I
depends on !MACH_SUN50I
default y