All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] sunxi: move "select CPU_V7" to ARCH_SUNXI
@ 2014-11-06  2:36 Masahiro Yamada
  2014-11-06 13:56 ` Hans de Goede
  0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2014-11-06  2:36 UTC (permalink / raw)
  To: u-boot

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
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] sunxi: move "select CPU_V7" to ARCH_SUNXI
  2014-11-06  2:36 [U-Boot] [PATCH] sunxi: move "select CPU_V7" to ARCH_SUNXI Masahiro Yamada
@ 2014-11-06 13:56 ` Hans de Goede
  2014-11-06 14:27   ` Masahiro YAMADA
  0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2014-11-06 13:56 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] sunxi: move "select CPU_V7" to ARCH_SUNXI
  2014-11-06 13:56 ` Hans de Goede
@ 2014-11-06 14:27   ` Masahiro YAMADA
  0 siblings, 0 replies; 3+ messages in thread
From: Masahiro YAMADA @ 2014-11-06 14:27 UTC (permalink / raw)
  To: u-boot

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.


-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-06 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-06  2:36 [U-Boot] [PATCH] sunxi: move "select CPU_V7" to ARCH_SUNXI Masahiro Yamada
2014-11-06 13:56 ` Hans de Goede
2014-11-06 14:27   ` Masahiro YAMADA

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.