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:
parent
6e8345fc68
commit
6a55694c03
|
@ -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
|
||||
|
|
|
@ -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 "
|
||||
|
||||
|
|
Loading…
Reference in New Issue