[U-Boot] [PATCH] sunxi: move "select CPU_V7" to ARCH_SUNXI

Masahiro Yamada yamada.m at jp.panasonic.com
Thu Nov 6 03:36:10 CET 2014


CPU_V7 is select'ed by all the MACH_SUN*I.

While we are here, let's delete the redundant "string" typedef
of SYS_CONFIG_NAME.

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---

 arch/arm/Kconfig    | 1 +
 board/sunxi/Kconfig | 6 ------
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 79ccc06..f9f52e5 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -668,6 +668,7 @@ config TARGET_SOCFPGA_CYCLONE5
 
 config ARCH_SUNXI
 	bool "Support sunxi (Allwinner) SoCs"
+	select CPU_V7
 
 config TARGET_SNOWBALL
 	bool "Support snowball"
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 5b2d091..9ac1205 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -5,31 +5,25 @@ choice
 
 config MACH_SUN4I
 	bool "sun4i (Allwinner A10)"
-	select CPU_V7
 	select SUPPORT_SPL
 
 config MACH_SUN5I
 	bool "sun5i (Allwinner A13)"
-	select CPU_V7
 	select SUPPORT_SPL
 
 config MACH_SUN6I
 	bool "sun6i (Allwinner A31)"
-	select CPU_V7
 
 config MACH_SUN7I
 	bool "sun7i (Allwinner A20)"
-	select CPU_V7
 	select SUPPORT_SPL
 
 config MACH_SUN8I
 	bool "sun8i (Allwinner A23)"
-	select CPU_V7
 
 endchoice
 
 config SYS_CONFIG_NAME
-	string
 	default "sun4i" if MACH_SUN4I
 	default "sun5i" if MACH_SUN5I
 	default "sun6i" if MACH_SUN6I
-- 
1.9.1



More information about the U-Boot mailing list