summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/Kconfig
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2008-01-24 11:06:54 +0100
committerWolfram Sang <w.sang@pengutronix.de>2008-01-24 11:06:54 +0100
commite18ff815e33cd4a5770e1411272af6603a8a6d2c (patch)
tree38e2eac19c1fa44d78b7da7863797000b76f6300 /arch/blackfin/Kconfig
parenta119fc273b8e7712bff086494a9dbc05764097a5 (diff)
downloadbarebox-e18ff815e33cd4a5770e1411272af6603a8a6d2c.tar.gz
barebox-e18ff815e33cd4a5770e1411272af6603a8a6d2c.tar.xz
[IPE337] Better support for multiple revision
Changed bool into choice Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r--arch/blackfin/Kconfig19
1 files changed, 13 insertions, 6 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig
index 76913f381b..532e477cf7 100644
--- a/arch/blackfin/Kconfig
+++ b/arch/blackfin/Kconfig
@@ -27,19 +27,26 @@ config MACH_IPE337
endchoice
-menu "Select your board options"
+choice
+ prompt "Select your board options"
+ depends on MACH_IPE337
+ default MACH_IPE337_V2
+
+config MACH_IPE337_V1
+ bool "revision 1 (25MHz)"
+ help
+ Say Y here if you are using the first revision of the PII IPE337 board (Crystal running at 25Mhz)
config MACH_IPE337_V2
- bool "PII ipe337 revision 2 (40MHz)" if MACH_IPE337
- default y
+ bool "revision 2 (40MHz)"
help
- Say Y here if you are using the second revision of the PII IPE337 board (running at 40Mhz)
+ Say Y here if you are using the second revision of the PII IPE337 board (Crystal running at 40Mhz)
-endmenu
+endchoice
choice
prompt "Boot Mode"
- default BFIN_BOOT_BYPASS
+ default BFIN_BOOT_FLASH16
config BFIN_BOOT_BYPASS
bool "bypass"