9
0
Fork 0

netx/kconfig: inverse the board selection

instead of select first the board which will select the arch, now
first choice the arch to filter the possible boards

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2009-10-31 14:42:30 +01:00 committed by Sascha Hauer
parent 6a55694c03
commit be6966d51d
2 changed files with 17 additions and 15 deletions

View File

@ -96,21 +96,6 @@ config ARCH_S3C24xx
endchoice
choice
prompt "Select your board"
depends on !ARCH_AT91 && !ARCH_AT91RM9200 && !ARCH_OMAP && !ARCH_IMX && !ARCH_S3C24xx
config MACH_NXDB500
bool "Hilscher Netx nxdb500"
depends on ARCH_NETX
select HAS_NETX_ETHER
select HAS_CFI
select MACH_HAS_LOWLEVEL_INIT
help
Say Y here if you are using the Hilscher Netx nxdb500 board
endchoice
source arch/arm/mach-at91/Kconfig
source arch/arm/mach-at91rm9200/Kconfig
source arch/arm/mach-imx/Kconfig

View File

@ -1,3 +1,5 @@
if ARCH_NETX
config NETX_SDRAM_CTRL
hex
default 0x010D0001 if MACH_NXDKN
@ -30,3 +32,18 @@ config NETX_COOKIE
default 16 if MACH_NXEB500HMI
default 16 if MACH_NXHX
choice
prompt "Netx Board Type"
config MACH_NXDB500
bool "Hilscher Netx nxdb500"
select HAS_NETX_ETHER
select HAS_CFI
select MACH_HAS_LOWLEVEL_INIT
help
Say Y here if you are using the Hilscher Netx nxdb500 board
endchoice
endif