Skip to contentSkip to conversation

sunxi: move "select CPU_V7" to ARCH_SUNXI

PATCH New Masahiro Yamada 2 participants 3 messages Nov 6, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sunxi: move "select CPU_V7" to ARCH_SUNXI

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.

---

 arch/arm/Kconfig    | 1 +
 board/sunxi/Kconfig | 6 ------
 2 files changed, 1 insertion(+), 6 deletions(-)
arch/arm/Kconfig +1 -0
index 79ccc06..f9f52e5 100644
@@ -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"
board/sunxi/Kconfig +0 -6
index 5b2d091..9ac1205 100644
@@ -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
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 sunxi: move "select CPU_V7" to ARCH_SUNXI

Hi,

Quoted 6 lines · Masahiro Yamada

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.

I deliberately put the CPU_V7 where it is because I think it is likely we will see V8 sunxi hardware in the future.

Regards,

Hans

#2 lore raw

PATCH 1/1 sunxi: move "select CPU_V7" to ARCH_SUNXI

Hi Hans,

2014-11-06 22:56 GMT+09:00 Hans de Goede <[email protected]>:

Quoted 5 lines

Hi,

Quoted 2 lines · Masahiro Yamada

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

Quoted 8 lines
Quoted 4 lines

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

I deliberately put the CPU_V7 where it is because I think it is likely we will see V8 sunxi hardware in the future.

Understood. Just disregards this patch.

Signature · 2 lines
Best Regards
Masahiro Yamada