diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-11-29 11:15:15 +0100 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2008-01-25 08:31:42 +0100 |
commit | e8897bfef2b056a527df21b25b602c59dbbad67a (patch) | |
tree | 6e5e4d0050e3d6ab53664456aa4847b5524b9f07 /arch/avr32/Kconfig | |
parent | 78693e47a285dbfafabc85a42797660e4fe2967b (diff) | |
download | linux-stable-e8897bfef2b056a527df21b25b602c59dbbad67a.tar.gz linux-stable-e8897bfef2b056a527df21b25b602c59dbbad67a.tar.bz2 linux-stable-e8897bfef2b056a527df21b25b602c59dbbad67a.zip |
[AVR32] Kconfig: Choose daughterboard instead of CPU
Remove the CPU selection menu and instead let it be selected by the
board or daughterboard option. Add daughterboard selection for
ATSTK1000 (this was previously determined based on CPU type.)
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/Kconfig')
-rw-r--r-- | arch/avr32/Kconfig | 33 |
1 files changed, 9 insertions, 24 deletions
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig index 52283f76c304..516015b3293b 100644 --- a/arch/avr32/Kconfig +++ b/arch/avr32/Kconfig @@ -84,36 +84,23 @@ config PLATFORM_AT32AP select MMU select PERFORMANCE_COUNTERS +# +# CPU types +# + +# AP7000 derivatives config CPU_AT32AP700X bool select PLATFORM_AT32AP - -choice - prompt "AVR32 CPU type" - default CPU_AT32AP7000 - config CPU_AT32AP7000 - bool "AT32AP7000" + bool select CPU_AT32AP700X - config CPU_AT32AP7001 - bool "AT32AP7001" + bool select CPU_AT32AP700X - config CPU_AT32AP7002 - bool "AT32AP7002" - select CPU_AT32AP700X - -endchoice - -# -# CPU Daughterboards for ATSTK1000 -config BOARD_ATSTK1002 - bool -config BOARD_ATSTK1003 - bool -config BOARD_ATSTK1004 bool + select CPU_AT32AP700X choice prompt "AVR32 board type" @@ -121,12 +108,10 @@ choice config BOARD_ATSTK1000 bool "ATSTK1000 evaluation board" - select BOARD_ATSTK1002 if CPU_AT32AP7000 - select BOARD_ATSTK1003 if CPU_AT32AP7001 - select BOARD_ATSTK1004 if CPU_AT32AP7002 config BOARD_ATNGW100 bool "ATNGW100 Network Gateway" + select CPU_AT32AP7000 endchoice if BOARD_ATSTK1000 |