9
0
Fork 0

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>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2009-10-31 14:42:30 +01:00 committed by Sascha Hauer
parent 6e8345fc68
commit 6a55694c03
2 changed files with 26 additions and 25 deletions

View File

@ -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

View File

@ -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 "