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@xxxxxxxxxxxx> --- arch/arm/Kconfig | 15 --------------- arch/arm/mach-netx/Kconfig | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 8271465..74cb595 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 a058470..a62c3bc 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 -- 1.6.5 _______________________________________________ u-boot-v2 mailing list u-boot-v2@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/u-boot-v2