summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx
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
commit6a55694c038c8543e8e2f77f0fd8412871a64904 (patch)
treeb7c0370aad1f7290fce75c3b17b1d781663c45b5 /arch/arm/mach-s3c24xx
parent6e8345fc6862c3f719b3b7e898ee46b0f85728ee (diff)
downloadbarebox-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>
Diffstat (limited to 'arch/arm/mach-s3c24xx')
-rw-r--r--arch/arm/mach-s3c24xx/Kconfig28
1 files changed, 25 insertions, 3 deletions
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 "