summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-netx
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-10-31 14:42:30 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-11-02 14:44:43 +0100
commitbe6966d51d8fb2c6b99810bcd4809976e78900c2 (patch)
tree666f239ddef329b4fb2a59a52f2396a671d42996 /arch/arm/mach-netx
parent6a55694c038c8543e8e2f77f0fd8412871a64904 (diff)
downloadbarebox-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>
Diffstat (limited to 'arch/arm/mach-netx')
-rw-r--r--arch/arm/mach-netx/Kconfig17
1 files changed, 17 insertions, 0 deletions
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