[PATCH 1/6] arm/kconfig: inverse the board selection

Sascha Hauer s.hauer at pengutronix.de
Mon Nov 2 02:42:59 EST 2009


Hi Jean,

On Sat, Oct 31, 2009 at 10:39:10AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> instead of select first the board which will select the arch, now
> first choice the arch to filter the possible boards
> 
> as it's already done for omap
> 
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
>  arch/arm/Kconfig              |   90 ++++++++++++++++++++++++++--------------
>  arch/arm/mach-omap/Kconfig    |    2 +
>  arch/arm/mach-s3c24xx/Kconfig |    4 --
>  board/omap/Kconfig            |    1 -
>  4 files changed, 60 insertions(+), 37 deletions(-)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 9cfcb7c..1e5b65e 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -68,46 +68,61 @@ config ARM926EJS
>  config ARMCORTEXA8
>  	bool
>  
> -config ARCH_AT91RM9200
> +config ARCH_AT91SAM9260
>  	bool
> -	select ARM920T
> +	select ARM926EJS
>  
> -config ARCH_NETX
> +config ARCH_AT91SAM9263
>  	bool
>  	select ARM926EJS
> +	select MACH_HAS_LOWLEVEL_INIT
>  
> -config ARCH_OMAP
> -	bool
> +menu "System Type"
> +
> +choice
> +	prompt "ARM system type"
>  
>  config ARCH_AT91
> -	bool
> +	bool "Atmel AT91"
>  
> -config ARCH_AT91SAM9260
> -	bool
> -	select ARM926EJS
> -	select ARCH_AT91
> +config ARCH_AT91RM9200
> +	bool "Atmel AT91RM9200"
> +	select ARM920T
>  
> -config ARCH_AT91SAM9263
> -	bool
> +config ARCH_MXC
> +	bool "Freescale MXC/iMX-based"

Nah, please don't do this. I don't like the mxc in the Kernel, lets not
introduce it here. It also has the real problem that it breaks the i.MX
defconfigs.

Otherwise I like these patches as it makes finding the own board easier
in the kconfig system.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




More information about the u-boot-v2 mailing list