diff options
Diffstat (limited to 'arch/avr32')
-rw-r--r-- | arch/avr32/Kconfig | 33 | ||||
-rw-r--r-- | arch/avr32/boards/atstk1000/Kconfig | 19 |
2 files changed, 28 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 | |||
84 | select MMU | 84 | select MMU |
85 | select PERFORMANCE_COUNTERS | 85 | select PERFORMANCE_COUNTERS |
86 | 86 | ||
87 | # | ||
88 | # CPU types | ||
89 | # | ||
90 | |||
91 | # AP7000 derivatives | ||
87 | config CPU_AT32AP700X | 92 | config CPU_AT32AP700X |
88 | bool | 93 | bool |
89 | select PLATFORM_AT32AP | 94 | select PLATFORM_AT32AP |
90 | |||
91 | choice | ||
92 | prompt "AVR32 CPU type" | ||
93 | default CPU_AT32AP7000 | ||
94 | |||
95 | config CPU_AT32AP7000 | 95 | config CPU_AT32AP7000 |
96 | bool "AT32AP7000" | 96 | bool |
97 | select CPU_AT32AP700X | 97 | select CPU_AT32AP700X |
98 | |||
99 | config CPU_AT32AP7001 | 98 | config CPU_AT32AP7001 |
100 | bool "AT32AP7001" | 99 | bool |
101 | select CPU_AT32AP700X | 100 | select CPU_AT32AP700X |
102 | |||
103 | config CPU_AT32AP7002 | 101 | config CPU_AT32AP7002 |
104 | bool "AT32AP7002" | ||
105 | select CPU_AT32AP700X | ||
106 | |||
107 | endchoice | ||
108 | |||
109 | # | ||
110 | # CPU Daughterboards for ATSTK1000 | ||
111 | config BOARD_ATSTK1002 | ||
112 | bool | ||
113 | config BOARD_ATSTK1003 | ||
114 | bool | ||
115 | config BOARD_ATSTK1004 | ||
116 | bool | 102 | bool |
103 | select CPU_AT32AP700X | ||
117 | 104 | ||
118 | choice | 105 | choice |
119 | prompt "AVR32 board type" | 106 | prompt "AVR32 board type" |
@@ -121,12 +108,10 @@ choice | |||
121 | 108 | ||
122 | config BOARD_ATSTK1000 | 109 | config BOARD_ATSTK1000 |
123 | bool "ATSTK1000 evaluation board" | 110 | bool "ATSTK1000 evaluation board" |
124 | select BOARD_ATSTK1002 if CPU_AT32AP7000 | ||
125 | select BOARD_ATSTK1003 if CPU_AT32AP7001 | ||
126 | select BOARD_ATSTK1004 if CPU_AT32AP7002 | ||
127 | 111 | ||
128 | config BOARD_ATNGW100 | 112 | config BOARD_ATNGW100 |
129 | bool "ATNGW100 Network Gateway" | 113 | bool "ATNGW100 Network Gateway" |
114 | select CPU_AT32AP7000 | ||
130 | endchoice | 115 | endchoice |
131 | 116 | ||
132 | if BOARD_ATSTK1000 | 117 | if BOARD_ATSTK1000 |
diff --git a/arch/avr32/boards/atstk1000/Kconfig b/arch/avr32/boards/atstk1000/Kconfig index 28c47802a560..af90b00100fd 100644 --- a/arch/avr32/boards/atstk1000/Kconfig +++ b/arch/avr32/boards/atstk1000/Kconfig | |||
@@ -2,6 +2,25 @@ | |||
2 | 2 | ||
3 | if BOARD_ATSTK1000 | 3 | if BOARD_ATSTK1000 |
4 | 4 | ||
5 | choice | ||
6 | prompt "ATSTK1000 CPU daughterboard type" | ||
7 | default BOARD_ATSTK1002 | ||
8 | |||
9 | config BOARD_ATSTK1002 | ||
10 | bool "ATSTK1002" | ||
11 | select CPU_AT32AP7000 | ||
12 | |||
13 | config BOARD_ATSTK1003 | ||
14 | bool "ATSTK1003" | ||
15 | select CPU_AT32AP7001 | ||
16 | |||
17 | config BOARD_ATSTK1004 | ||
18 | bool "ATSTK1004" | ||
19 | select CPU_AT32AP7002 | ||
20 | |||
21 | endchoice | ||
22 | |||
23 | |||
5 | config BOARD_ATSTK100X_CUSTOM | 24 | config BOARD_ATSTK100X_CUSTOM |
6 | bool "Non-default STK1002/STK1003/STK1004 jumper settings" | 25 | bool "Non-default STK1002/STK1003/STK1004 jumper settings" |
7 | help | 26 | help |