diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-10-31 14:42:30 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-11-02 14:44:43 +0100 |
commit | be6966d51d8fb2c6b99810bcd4809976e78900c2 (patch) | |
tree | 666f239ddef329b4fb2a59a52f2396a671d42996 | |
parent | 6a55694c038c8543e8e2f77f0fd8412871a64904 (diff) | |
download | barebox-be6966d51d8fb2c6b99810bcd4809976e78900c2.tar.gz barebox-be6966d51d8fb2c6b99810bcd4809976e78900c2.tar.xz |
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>
-rw-r--r-- | arch/arm/Kconfig | 15 | ||||
-rw-r--r-- | arch/arm/mach-netx/Kconfig | 17 |
2 files changed, 17 insertions, 15 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 8271465641..74cb595cf0 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -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 diff --git a/arch/arm/mach-netx/Kconfig b/arch/arm/mach-netx/Kconfig index a058470209..a62c3bc8f9 100644 --- a/arch/arm/mach-netx/Kconfig +++ b/arch/arm/mach-netx/Kconfig @@ -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 |