diff options
Diffstat (limited to 'arch/m68knommu/Kconfig')
-rw-r--r-- | arch/m68knommu/Kconfig | 98 |
1 files changed, 87 insertions, 11 deletions
diff --git a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig index fa9f746cf4ae..704e7b92334c 100644 --- a/arch/m68knommu/Kconfig +++ b/arch/m68knommu/Kconfig | |||
@@ -75,6 +75,16 @@ config GENERIC_CLOCKEVENTS | |||
75 | config NO_IOPORT | 75 | config NO_IOPORT |
76 | def_bool y | 76 | def_bool y |
77 | 77 | ||
78 | config COLDFIRE_SW_A7 | ||
79 | bool | ||
80 | default n | ||
81 | |||
82 | config HAVE_CACHE_SPLIT | ||
83 | bool | ||
84 | |||
85 | config HAVE_CACHE_CB | ||
86 | bool | ||
87 | |||
78 | source "init/Kconfig" | 88 | source "init/Kconfig" |
79 | 89 | ||
80 | source "kernel/Kconfig.freezer" | 90 | source "kernel/Kconfig.freezer" |
@@ -107,69 +117,90 @@ config M68360 | |||
107 | 117 | ||
108 | config M5206 | 118 | config M5206 |
109 | bool "MCF5206" | 119 | bool "MCF5206" |
120 | select COLDFIRE_SW_A7 | ||
110 | help | 121 | help |
111 | Motorola ColdFire 5206 processor support. | 122 | Motorola ColdFire 5206 processor support. |
112 | 123 | ||
113 | config M5206e | 124 | config M5206e |
114 | bool "MCF5206e" | 125 | bool "MCF5206e" |
126 | select COLDFIRE_SW_A7 | ||
115 | help | 127 | help |
116 | Motorola ColdFire 5206e processor support. | 128 | Motorola ColdFire 5206e processor support. |
117 | 129 | ||
118 | config M520x | 130 | config M520x |
119 | bool "MCF520x" | 131 | bool "MCF520x" |
120 | select GENERIC_CLOCKEVENTS | 132 | select GENERIC_CLOCKEVENTS |
133 | select HAVE_CACHE_SPLIT | ||
121 | help | 134 | help |
122 | Freescale Coldfire 5207/5208 processor support. | 135 | Freescale Coldfire 5207/5208 processor support. |
123 | 136 | ||
124 | config M523x | 137 | config M523x |
125 | bool "MCF523x" | 138 | bool "MCF523x" |
126 | select GENERIC_CLOCKEVENTS | 139 | select GENERIC_CLOCKEVENTS |
140 | select HAVE_CACHE_SPLIT | ||
127 | help | 141 | help |
128 | Freescale Coldfire 5230/1/2/4/5 processor support | 142 | Freescale Coldfire 5230/1/2/4/5 processor support |
129 | 143 | ||
130 | config M5249 | 144 | config M5249 |
131 | bool "MCF5249" | 145 | bool "MCF5249" |
146 | select COLDFIRE_SW_A7 | ||
132 | help | 147 | help |
133 | Motorola ColdFire 5249 processor support. | 148 | Motorola ColdFire 5249 processor support. |
134 | 149 | ||
135 | config M5271 | 150 | config M5271 |
136 | bool "MCF5271" | 151 | bool "MCF5271" |
152 | select HAVE_CACHE_SPLIT | ||
137 | help | 153 | help |
138 | Freescale (Motorola) ColdFire 5270/5271 processor support. | 154 | Freescale (Motorola) ColdFire 5270/5271 processor support. |
139 | 155 | ||
140 | config M5272 | 156 | config M5272 |
141 | bool "MCF5272" | 157 | bool "MCF5272" |
158 | select COLDFIRE_SW_A7 | ||
142 | help | 159 | help |
143 | Motorola ColdFire 5272 processor support. | 160 | Motorola ColdFire 5272 processor support. |
144 | 161 | ||
145 | config M5275 | 162 | config M5275 |
146 | bool "MCF5275" | 163 | bool "MCF5275" |
164 | select HAVE_CACHE_SPLIT | ||
147 | help | 165 | help |
148 | Freescale (Motorola) ColdFire 5274/5275 processor support. | 166 | Freescale (Motorola) ColdFire 5274/5275 processor support. |
149 | 167 | ||
150 | config M528x | 168 | config M528x |
151 | bool "MCF528x" | 169 | bool "MCF528x" |
152 | select GENERIC_CLOCKEVENTS | 170 | select GENERIC_CLOCKEVENTS |
171 | select HAVE_CACHE_SPLIT | ||
153 | help | 172 | help |
154 | Motorola ColdFire 5280/5282 processor support. | 173 | Motorola ColdFire 5280/5282 processor support. |
155 | 174 | ||
156 | config M5307 | 175 | config M5307 |
157 | bool "MCF5307" | 176 | bool "MCF5307" |
177 | select COLDFIRE_SW_A7 | ||
178 | select HAVE_CACHE_CB | ||
158 | help | 179 | help |
159 | Motorola ColdFire 5307 processor support. | 180 | Motorola ColdFire 5307 processor support. |
160 | 181 | ||
161 | config M532x | 182 | config M532x |
162 | bool "MCF532x" | 183 | bool "MCF532x" |
184 | select HAVE_CACHE_CB | ||
163 | help | 185 | help |
164 | Freescale (Motorola) ColdFire 532x processor support. | 186 | Freescale (Motorola) ColdFire 532x processor support. |
165 | 187 | ||
166 | config M5407 | 188 | config M5407 |
167 | bool "MCF5407" | 189 | bool "MCF5407" |
190 | select COLDFIRE_SW_A7 | ||
191 | select HAVE_CACHE_CB | ||
168 | help | 192 | help |
169 | Motorola ColdFire 5407 processor support. | 193 | Motorola ColdFire 5407 processor support. |
170 | 194 | ||
195 | config M547x | ||
196 | bool "MCF547x" | ||
197 | select HAVE_CACHE_CB | ||
198 | help | ||
199 | Freescale ColdFire 5470/5471/5472/5473/5474/5475 processor support. | ||
200 | |||
171 | config M548x | 201 | config M548x |
172 | bool "MCF548x" | 202 | bool "MCF548x" |
203 | select HAVE_CACHE_CB | ||
173 | help | 204 | help |
174 | Freescale ColdFire 5480/5481/5482/5483/5484/5485 processor support. | 205 | Freescale ColdFire 5480/5481/5482/5483/5484/5485 processor support. |
175 | 206 | ||
@@ -181,9 +212,14 @@ config M527x | |||
181 | select GENERIC_CLOCKEVENTS | 212 | select GENERIC_CLOCKEVENTS |
182 | default y | 213 | default y |
183 | 214 | ||
215 | config M54xx | ||
216 | bool | ||
217 | depends on (M548x || M547x) | ||
218 | default y | ||
219 | |||
184 | config COLDFIRE | 220 | config COLDFIRE |
185 | bool | 221 | bool |
186 | depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 || M528x || M5307 || M532x || M5407 || M548x) | 222 | depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 || M528x || M5307 || M532x || M5407 || M54xx) |
187 | select GENERIC_GPIO | 223 | select GENERIC_GPIO |
188 | select ARCH_REQUIRE_GPIOLIB | 224 | select ARCH_REQUIRE_GPIOLIB |
189 | default y | 225 | default y |
@@ -230,6 +266,46 @@ config OLDMASK | |||
230 | Build support for the older revision ColdFire 5307 silicon. | 266 | Build support for the older revision ColdFire 5307 silicon. |
231 | Specifically this is the 1H55J mask revision. | 267 | Specifically this is the 1H55J mask revision. |
232 | 268 | ||
269 | if HAVE_CACHE_SPLIT | ||
270 | choice | ||
271 | prompt "Split Cache Configuration" | ||
272 | default CACHE_I | ||
273 | |||
274 | config CACHE_I | ||
275 | bool "Instruction" | ||
276 | help | ||
277 | Use all of the ColdFire CPU cache memory as an instruction cache. | ||
278 | |||
279 | config CACHE_D | ||
280 | bool "Data" | ||
281 | help | ||
282 | Use all of the ColdFire CPU cache memory as a data cache. | ||
283 | |||
284 | config CACHE_BOTH | ||
285 | bool "Both" | ||
286 | help | ||
287 | Split the ColdFire CPU cache, and use half as an instruction cache | ||
288 | and half as a data cache. | ||
289 | endchoice | ||
290 | endif | ||
291 | |||
292 | if HAVE_CACHE_CB | ||
293 | choice | ||
294 | prompt "Data cache mode" | ||
295 | default CACHE_WRITETHRU | ||
296 | |||
297 | config CACHE_WRITETHRU | ||
298 | bool "Write-through" | ||
299 | help | ||
300 | The ColdFire CPU cache is set into Write-through mode. | ||
301 | |||
302 | config CACHE_COPYBACK | ||
303 | bool "Copy-back" | ||
304 | help | ||
305 | The ColdFire CPU cache is set into Copy-back mode. | ||
306 | endchoice | ||
307 | endif | ||
308 | |||
233 | comment "Platform" | 309 | comment "Platform" |
234 | 310 | ||
235 | config PILOT3 | 311 | config PILOT3 |
@@ -245,16 +321,16 @@ config XCOPILOT_BUGS | |||
245 | Support the bugs of Xcopilot. | 321 | Support the bugs of Xcopilot. |
246 | 322 | ||
247 | config UC5272 | 323 | config UC5272 |
248 | bool 'Arcturus Networks uC5272 dimm board support' | 324 | bool 'Arcturus Networks uC5272 dimm board support' |
249 | depends on M5272 | 325 | depends on M5272 |
250 | help | 326 | help |
251 | Support for the Arcturus Networks uC5272 dimm board. | 327 | Support for the Arcturus Networks uC5272 dimm board. |
252 | 328 | ||
253 | config UC5282 | 329 | config UC5282 |
254 | bool "Arcturus Networks uC5282 board support" | 330 | bool "Arcturus Networks uC5282 board support" |
255 | depends on M528x | 331 | depends on M528x |
256 | help | 332 | help |
257 | Support for the Arcturus Networks uC5282 dimm board. | 333 | Support for the Arcturus Networks uC5282 dimm board. |
258 | 334 | ||
259 | config UCSIMM | 335 | config UCSIMM |
260 | bool "uCsimm module support" | 336 | bool "uCsimm module support" |
@@ -279,7 +355,7 @@ config DIRECT_IO_ACCESS | |||
279 | depends on (UCSIMM || UCDIMM || DRAGEN2) | 355 | depends on (UCSIMM || UCDIMM || DRAGEN2) |
280 | help | 356 | help |
281 | Disable the CPU internal registers protection in user mode, | 357 | Disable the CPU internal registers protection in user mode, |
282 | to allow a user application to read/write them. | 358 | to allow a user application to read/write them. |
283 | 359 | ||
284 | config INIT_LCD | 360 | config INIT_LCD |
285 | bool "Initialize LCD" | 361 | bool "Initialize LCD" |
@@ -517,7 +593,7 @@ config EMAC_INC | |||
517 | depends on (SOM5282EM) | 593 | depends on (SOM5282EM) |
518 | 594 | ||
519 | config SNEHA | 595 | config SNEHA |
520 | bool | 596 | bool |
521 | default y | 597 | default y |
522 | depends on CPU16B | 598 | depends on CPU16B |
523 | 599 | ||