summaryrefslogtreecommitdiff
path: root/board/sunxi/Kconfig
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-04-06 20:55:39 +0200
committerHans de Goede <hdegoede@redhat.com>2015-05-04 16:51:51 +0200
commit5e6bacdb84dbf5cb3b24498784807c3f3c7bdeb4 (patch)
tree6d2d61a7d134ee9c19aeb1984d9997d392b91657 /board/sunxi/Kconfig
parent44d8ae5b6903a796b9868fc2b546b75e5ced2bfd (diff)
downloadu-boot-imx-5e6bacdb84dbf5cb3b24498784807c3f3c7bdeb4.zip
u-boot-imx-5e6bacdb84dbf5cb3b24498784807c3f3c7bdeb4.tar.gz
u-boot-imx-5e6bacdb84dbf5cb3b24498784807c3f3c7bdeb4.tar.bz2
sunxi: s/sun8i/sun8i_a23/
This is a preparation patch for adding A33 support, which will have a mach name of sun8i-a33. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'board/sunxi/Kconfig')
-rw-r--r--board/sunxi/Kconfig8
1 files changed, 7 insertions, 1 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index b716a8b..3d865d1 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -46,7 +46,7 @@ config MACH_SUN7I
select SUPPORT_SPL
select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
-config MACH_SUN8I
+config MACH_SUN8I_A23
bool "sun8i (Allwinner A23)"
select CPU_V7
select SUNXI_GEN_SUN6I
@@ -54,6 +54,12 @@ config MACH_SUN8I
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
+
+
config DRAM_CLK
int "sunxi dram clock speed"
default 312 if MACH_SUN6I || MACH_SUN8I