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 | 6a55694c038c8543e8e2f77f0fd8412871a64904 (patch) | |
tree | b7c0370aad1f7290fce75c3b17b1d781663c45b5 | |
parent | 6e8345fc6862c3f719b3b7e898ee46b0f85728ee (diff) | |
download | barebox-6a55694c038c8543e8e2f77f0fd8412871a64904.tar.gz barebox-6a55694c038c8543e8e2f77f0fd8412871a64904.tar.xz |
s3c/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 | 23 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/Kconfig | 28 |
2 files changed, 26 insertions, 25 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 493b2c13eb..8271465641 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -98,7 +98,7 @@ endchoice choice prompt "Select your board" - depends on !ARCH_AT91 && !ARCH_AT91RM9200 && !ARCH_OMAP && !ARCH_IMX + depends on !ARCH_AT91 && !ARCH_AT91RM9200 && !ARCH_OMAP && !ARCH_IMX && !ARCH_S3C24xx config MACH_NXDB500 bool "Hilscher Netx nxdb500" @@ -109,27 +109,6 @@ config MACH_NXDB500 help Say Y here if you are using the Hilscher Netx nxdb500 board -config MACH_A9M2410 - bool "Digi A9M2410" - depends on ARCH_S3C24xx - select CPU_S3C2410 - select MACH_HAS_LOWLEVEL_INIT - select S3C24XX_PLL_INIT - select S3C24XX_SDRAM_INIT - help - Say Y here if you are using Digi's Connect Core 9M equipped - with a Samsung S3C2410 Processor - -config MACH_A9M2440 - bool "Digi A9M2440" - depends on ARCH_S3C24xx - select CPU_S3C2440 - select MACH_HAS_LOWLEVEL_INIT - select S3C24XX_PLL_INIT - help - Say Y here if you are using Digi's Connect Core 9M equipped - with a Samsung S3C2440 Processor - endchoice source arch/arm/mach-at91/Kconfig diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index 1ad59f647d..f41a450acf 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig @@ -1,13 +1,35 @@ +if ARCH_S3C24xx config CPU_S3C2410 - select ARCH_S3C24xx bool config CPU_S3C2440 - select ARCH_S3C24xx bool -if ARCH_S3C24xx +choice + + prompt "S3C24xx Board Type" + +config MACH_A9M2410 + bool "Digi A9M2410" + select CPU_S3C2410 + select MACH_HAS_LOWLEVEL_INIT + select S3C24XX_PLL_INIT + select S3C24XX_SDRAM_INIT + help + Say Y here if you are using Digi's Connect Core 9M equipped + with a Samsung S3C2410 Processor + +config MACH_A9M2440 + bool "Digi A9M2440" + select CPU_S3C2440 + select MACH_HAS_LOWLEVEL_INIT + select S3C24XX_PLL_INIT + help + Say Y here if you are using Digi's Connect Core 9M equipped + with a Samsung S3C2440 Processor + +endchoice menu "Board specific settings " |