[U-Boot] [PATCH] 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.
Signed-off-by: Masahiro Yamada yamada.m@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

Hi,
On 11/06/2014 03:36 AM, Masahiro Yamada wrote:
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@jp.panasonic.com
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

Hi Hans,
2014-11-06 22:56 GMT+09:00 Hans de Goede hdegoede@redhat.com:
Hi,
On 11/06/2014 03:36 AM, Masahiro Yamada wrote:
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@jp.panasonic.com
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.
participants (3)
-
Hans de Goede
-
Masahiro YAMADA
-
Masahiro Yamada