Blame view

arch/m68k/Kconfig.cpu 12.5 KB
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  # SPDX-License-Identifier: GPL-2.0
0e152d805   Greg Ungerer   m68k: reorganize ...
2
  comment "Processor Type"
ad8f955da   Geert Uytterhoeven   m68k/Kconfig: Sep...
3
4
5
6
7
8
9
  choice
  	prompt "CPU family support"
  	default M68KCLASSIC if MMU
  	default COLDFIRE if !MMU
  	help
  	  The Freescale (was Motorola) M68K family of processors implements
  	  the full 68000 processor instruction set.
6b2aac42b   Masanari Iida   Fix typo in vario...
10
  	  The Freescale ColdFire family of processors is a modern derivative
ad8f955da   Geert Uytterhoeven   m68k/Kconfig: Sep...
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  	  of the 68000 processor family. They are mainly targeted at embedded
  	  applications, and are all System-On-Chip (SOC) devices, as opposed
  	  to stand alone CPUs. They implement a subset of the original 68000
  	  processor instruction set.
  	  If you anticipate running this kernel on a computer with a classic
  	  MC68xxx processor, select M68KCLASSIC.
  	  If you anticipate running this kernel on a computer with a ColdFire
  	  processor, select COLDFIRE.
  
  config M68KCLASSIC
  	bool "Classic M68K CPU family support"
  
  config COLDFIRE
  	bool "Coldfire CPU family support"
7563bbf89   Mark Brown   gpiolib/arches: C...
25
  	select ARCH_HAVE_CUSTOM_GPIO_H
ad8f955da   Geert Uytterhoeven   m68k/Kconfig: Sep...
26
27
28
  	select CPU_HAS_NO_BITFIELDS
  	select CPU_HAS_NO_MULDIV64
  	select GENERIC_CSUM
e05f2e187   Linus Walleij   m68k: do away wit...
29
  	select GPIOLIB
bbd7ffdbe   Stephen Boyd   clk: Allow the co...
30
  	select HAVE_LEGACY_CLK
ad8f955da   Geert Uytterhoeven   m68k/Kconfig: Sep...
31
32
33
34
  
  endchoice
  
  if M68KCLASSIC
0e152d805   Greg Ungerer   m68k: reorganize ...
35
  config M68000
4674e8d38   Luis Alves   m68knommu: allow ...
36
  	bool "MC68000"
9da1a84a9   Luis Alves   m68knommu: disabl...
37
  	depends on !MMU
0e152d805   Greg Ungerer   m68k: reorganize ...
38
  	select CPU_HAS_NO_BITFIELDS
84f3fb7a2   Greg Ungerer   m68k: handle pres...
39
  	select CPU_HAS_NO_MULDIV64
9f1f11803   Geert Uytterhoeven   m68k: Introduce c...
40
  	select CPU_HAS_NO_UNALIGNED
7f73bafc4   Greg Ungerer   m68k: simpler m68...
41
  	select GENERIC_CSUM
fff7fb0b2   Zhaoxiu Zeng   lib/GCD.c: use bi...
42
  	select CPU_NO_EFFICIENT_FFS
14c44b95b   George Spelvin   m68k: Add <asm/ha...
43
  	select HAVE_ARCH_HASH
0e152d805   Greg Ungerer   m68k: reorganize ...
44
45
46
47
48
49
50
51
52
53
  	help
  	  The Freescale (was Motorola) 68000 CPU is the first generation of
  	  the well known M68K family of processors. The CPU core as well as
  	  being available as a stand alone CPU was also used in many
  	  System-On-Chip devices (eg 68328, 68302, etc). It does not contain
  	  a paging MMU.
  
  config MCPU32
  	bool
  	select CPU_HAS_NO_BITFIELDS
7df0d27f3   Geert Uytterhoeven   m68k: CPU32 does ...
54
  	select CPU_HAS_NO_UNALIGNED
fff7fb0b2   Zhaoxiu Zeng   lib/GCD.c: use bi...
55
  	select CPU_NO_EFFICIENT_FFS
0e152d805   Greg Ungerer   m68k: reorganize ...
56
57
58
59
  	help
  	  The Freescale (was then Motorola) CPU32 is a CPU core that is
  	  based on the 68020 processor. For the most part it is used in
  	  System-On-Chip parts, and does not contain a paging MMU.
0e152d805   Greg Ungerer   m68k: reorganize ...
60
61
62
  config M68020
  	bool "68020 support"
  	depends on MMU
e5f8d1f0a   Greg Ungerer   m68k: move CONFIG...
63
  	select FPU
e08d703cc   Greg Ungerer   m68k: modify user...
64
  	select CPU_HAS_ADDRESS_SPACES
0e152d805   Greg Ungerer   m68k: reorganize ...
65
66
67
68
69
70
71
72
73
  	help
  	  If you anticipate running this kernel on a computer with a MC68020
  	  processor, say Y. Otherwise, say N. Note that the 68020 requires a
  	  68851 MMU (Memory Management Unit) to run Linux/m68k, except on the
  	  Sun 3, which provides its own version.
  
  config M68030
  	bool "68030 support"
  	depends on MMU && !MMU_SUN3
e5f8d1f0a   Greg Ungerer   m68k: move CONFIG...
74
  	select FPU
e08d703cc   Greg Ungerer   m68k: modify user...
75
  	select CPU_HAS_ADDRESS_SPACES
0e152d805   Greg Ungerer   m68k: reorganize ...
76
77
78
79
80
81
82
83
  	help
  	  If you anticipate running this kernel on a computer with a MC68030
  	  processor, say Y. Otherwise, say N. Note that a MC68EC030 will not
  	  work, as it does not include an MMU (Memory Management Unit).
  
  config M68040
  	bool "68040 support"
  	depends on MMU && !MMU_SUN3
e5f8d1f0a   Greg Ungerer   m68k: move CONFIG...
84
  	select FPU
e08d703cc   Greg Ungerer   m68k: modify user...
85
  	select CPU_HAS_ADDRESS_SPACES
0e152d805   Greg Ungerer   m68k: reorganize ...
86
87
88
89
90
91
92
93
94
  	help
  	  If you anticipate running this kernel on a computer with a MC68LC040
  	  or MC68040 processor, say Y. Otherwise, say N. Note that an
  	  MC68EC040 will not work, as it does not include an MMU (Memory
  	  Management Unit).
  
  config M68060
  	bool "68060 support"
  	depends on MMU && !MMU_SUN3
e5f8d1f0a   Greg Ungerer   m68k: move CONFIG...
95
  	select FPU
e08d703cc   Greg Ungerer   m68k: modify user...
96
  	select CPU_HAS_ADDRESS_SPACES
0e152d805   Greg Ungerer   m68k: reorganize ...
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
  	help
  	  If you anticipate running this kernel on a computer with a MC68060
  	  processor, say Y. Otherwise, say N.
  
  config M68328
  	bool "MC68328"
  	depends on !MMU
  	select M68000
  	help
  	  Motorola 68328 processor support.
  
  config M68EZ328
  	bool "MC68EZ328"
  	depends on !MMU
  	select M68000
  	help
  	  Motorola 68EX328 processor support.
  
  config M68VZ328
  	bool "MC68VZ328"
  	depends on !MMU
  	select M68000
  	help
  	  Motorola 68VZ328 processor support.
ad8f955da   Geert Uytterhoeven   m68k/Kconfig: Sep...
121
122
123
  endif # M68KCLASSIC
  
  if COLDFIRE
fa95a1dd0   Greg Ungerer   m68knommu: make C...
124
125
126
127
128
129
  choice
  	prompt "ColdFire SoC type"
  	default M520x
  	help
  	  Select the type of ColdFire System-on-Chip (SoC) that you want
  	  to build for.
0e152d805   Greg Ungerer   m68k: reorganize ...
130
131
132
  config M5206
  	bool "MCF5206"
  	depends on !MMU
0e152d805   Greg Ungerer   m68k: reorganize ...
133
134
  	select COLDFIRE_SW_A7
  	select HAVE_MBAR
fff7fb0b2   Zhaoxiu Zeng   lib/GCD.c: use bi...
135
  	select CPU_NO_EFFICIENT_FFS
0e152d805   Greg Ungerer   m68k: reorganize ...
136
137
138
139
140
141
  	help
  	  Motorola ColdFire 5206 processor support.
  
  config M5206e
  	bool "MCF5206e"
  	depends on !MMU
0e152d805   Greg Ungerer   m68k: reorganize ...
142
143
  	select COLDFIRE_SW_A7
  	select HAVE_MBAR
fff7fb0b2   Zhaoxiu Zeng   lib/GCD.c: use bi...
144
  	select CPU_NO_EFFICIENT_FFS
0e152d805   Greg Ungerer   m68k: reorganize ...
145
146
147
148
149
150
  	help
  	  Motorola ColdFire 5206e processor support.
  
  config M520x
  	bool "MCF520x"
  	depends on !MMU
0e152d805   Greg Ungerer   m68k: reorganize ...
151
152
153
154
155
156
157
158
  	select GENERIC_CLOCKEVENTS
  	select HAVE_CACHE_SPLIT
  	help
  	   Freescale Coldfire 5207/5208 processor support.
  
  config M523x
  	bool "MCF523x"
  	depends on !MMU
0e152d805   Greg Ungerer   m68k: reorganize ...
159
160
161
162
163
164
165
166
167
  	select GENERIC_CLOCKEVENTS
  	select HAVE_CACHE_SPLIT
  	select HAVE_IPSBAR
  	help
  	  Freescale Coldfire 5230/1/2/4/5 processor support
  
  config M5249
  	bool "MCF5249"
  	depends on !MMU
0e152d805   Greg Ungerer   m68k: reorganize ...
168
169
  	select COLDFIRE_SW_A7
  	select HAVE_MBAR
fff7fb0b2   Zhaoxiu Zeng   lib/GCD.c: use bi...
170
  	select CPU_NO_EFFICIENT_FFS
0e152d805   Greg Ungerer   m68k: reorganize ...
171
172
  	help
  	  Motorola ColdFire 5249 processor support.
04e037aa4   Steven King   m68knommu: Add su...
173
174
175
176
177
  config M525x
  	bool "MCF525x"
  	depends on !MMU
  	select COLDFIRE_SW_A7
  	select HAVE_MBAR
fff7fb0b2   Zhaoxiu Zeng   lib/GCD.c: use bi...
178
  	select CPU_NO_EFFICIENT_FFS
04e037aa4   Steven King   m68knommu: Add su...
179
180
  	help
  	  Freescale (Motorola) Coldfire 5251/5253 processor support.
0e152d805   Greg Ungerer   m68k: reorganize ...
181
182
183
  config M5271
  	bool "MCF5271"
  	depends on !MMU
0e152d805   Greg Ungerer   m68k: reorganize ...
184
185
186
187
188
189
190
191
192
193
  	select M527x
  	select HAVE_CACHE_SPLIT
  	select HAVE_IPSBAR
  	select GENERIC_CLOCKEVENTS
  	help
  	  Freescale (Motorola) ColdFire 5270/5271 processor support.
  
  config M5272
  	bool "MCF5272"
  	depends on !MMU
0e152d805   Greg Ungerer   m68k: reorganize ...
194
195
  	select COLDFIRE_SW_A7
  	select HAVE_MBAR
fff7fb0b2   Zhaoxiu Zeng   lib/GCD.c: use bi...
196
  	select CPU_NO_EFFICIENT_FFS
0e152d805   Greg Ungerer   m68k: reorganize ...
197
198
199
200
201
202
  	help
  	  Motorola ColdFire 5272 processor support.
  
  config M5275
  	bool "MCF5275"
  	depends on !MMU
0e152d805   Greg Ungerer   m68k: reorganize ...
203
204
205
206
207
208
209
210
211
212
  	select M527x
  	select HAVE_CACHE_SPLIT
  	select HAVE_IPSBAR
  	select GENERIC_CLOCKEVENTS
  	help
  	  Freescale (Motorola) ColdFire 5274/5275 processor support.
  
  config M528x
  	bool "MCF528x"
  	depends on !MMU
0e152d805   Greg Ungerer   m68k: reorganize ...
213
214
215
216
217
218
219
220
221
  	select GENERIC_CLOCKEVENTS
  	select HAVE_CACHE_SPLIT
  	select HAVE_IPSBAR
  	help
  	  Motorola ColdFire 5280/5282 processor support.
  
  config M5307
  	bool "MCF5307"
  	depends on !MMU
0e152d805   Greg Ungerer   m68k: reorganize ...
222
223
224
  	select COLDFIRE_SW_A7
  	select HAVE_CACHE_CB
  	select HAVE_MBAR
fff7fb0b2   Zhaoxiu Zeng   lib/GCD.c: use bi...
225
  	select CPU_NO_EFFICIENT_FFS
0e152d805   Greg Ungerer   m68k: reorganize ...
226
227
228
229
230
231
  	help
  	  Motorola ColdFire 5307 processor support.
  
  config M532x
  	bool "MCF532x"
  	depends on !MMU
6eac40278   Greg Ungerer   m68knommu: create...
232
  	select M53xx
0e152d805   Greg Ungerer   m68k: reorganize ...
233
234
235
  	select HAVE_CACHE_CB
  	help
  	  Freescale (Motorola) ColdFire 532x processor support.
e9d9dc6ac   Greg Ungerer   m68knommu: add su...
236
237
238
239
240
241
242
  config M537x
  	bool "MCF537x"
  	depends on !MMU
  	select M53xx
  	select HAVE_CACHE_CB
  	help
  	  Freescale ColdFire 537x processor support.
0e152d805   Greg Ungerer   m68k: reorganize ...
243
244
245
  config M5407
  	bool "MCF5407"
  	depends on !MMU
0e152d805   Greg Ungerer   m68k: reorganize ...
246
247
248
  	select COLDFIRE_SW_A7
  	select HAVE_CACHE_CB
  	select HAVE_MBAR
fff7fb0b2   Zhaoxiu Zeng   lib/GCD.c: use bi...
249
  	select CPU_NO_EFFICIENT_FFS
0e152d805   Greg Ungerer   m68k: reorganize ...
250
251
  	help
  	  Motorola ColdFire 5407 processor support.
0e152d805   Greg Ungerer   m68k: reorganize ...
252
253
  config M547x
  	bool "MCF547x"
0e152d805   Greg Ungerer   m68k: reorganize ...
254
  	select M54xx
1f7034b96   Greg Ungerer   m68k: allow ColdF...
255
  	select MMU_COLDFIRE if MMU
e5f8d1f0a   Greg Ungerer   m68k: move CONFIG...
256
  	select FPU if MMU
0e152d805   Greg Ungerer   m68k: reorganize ...
257
258
  	select HAVE_CACHE_CB
  	select HAVE_MBAR
fff7fb0b2   Zhaoxiu Zeng   lib/GCD.c: use bi...
259
  	select CPU_NO_EFFICIENT_FFS
0e152d805   Greg Ungerer   m68k: reorganize ...
260
261
262
263
264
  	help
  	  Freescale ColdFire 5470/5471/5472/5473/5474/5475 processor support.
  
  config M548x
  	bool "MCF548x"
1f7034b96   Greg Ungerer   m68k: allow ColdF...
265
  	select MMU_COLDFIRE if MMU
e5f8d1f0a   Greg Ungerer   m68k: move CONFIG...
266
  	select FPU if MMU
0e152d805   Greg Ungerer   m68k: reorganize ...
267
268
269
  	select M54xx
  	select HAVE_CACHE_CB
  	select HAVE_MBAR
fff7fb0b2   Zhaoxiu Zeng   lib/GCD.c: use bi...
270
  	select CPU_NO_EFFICIENT_FFS
0e152d805   Greg Ungerer   m68k: reorganize ...
271
272
  	help
  	  Freescale ColdFire 5480/5481/5482/5483/5484/5485 processor support.
bea8bcb12   Steven King   m68knommu: Add su...
273
274
  config M5441x
  	bool "MCF5441x"
b47c7b6f9   Greg Ungerer   m68k: allow ColdF...
275
  	select MMU_COLDFIRE if MMU
bea8bcb12   Steven King   m68knommu: Add su...
276
277
278
279
  	select GENERIC_CLOCKEVENTS
  	select HAVE_CACHE_CB
  	help
  	  Freescale Coldfire 54410/54415/54416/54417/54418 processor support.
fa95a1dd0   Greg Ungerer   m68knommu: make C...
280
281
282
283
284
285
286
287
288
  endchoice
  
  config M527x
  	bool
  
  config M53xx
  	bool
  
  config M54xx
eb01d42a7   Christoph Hellwig   PCI: consolidate ...
289
  	select HAVE_PCI
fa95a1dd0   Greg Ungerer   m68knommu: make C...
290
  	bool
ad8f955da   Geert Uytterhoeven   m68k/Kconfig: Sep...
291
  endif # COLDFIRE
0e152d805   Greg Ungerer   m68k: reorganize ...
292
293
294
295
  
  comment "Processor Specific Options"
  
  config M68KFPU_EMU
112f8b129   Kees Cook   arch/m68k: remove...
296
  	bool "Math emulation support"
0e152d805   Greg Ungerer   m68k: reorganize ...
297
  	depends on MMU
0e152d805   Greg Ungerer   m68k: reorganize ...
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
  	help
  	  At some point in the future, this will cause floating-point math
  	  instructions to be emulated by the kernel on machines that lack a
  	  floating-point math coprocessor.  Thrill-seekers and chronically
  	  sleep-deprived psychotic hacker types can say Y now, everyone else
  	  should probably wait a while.
  
  config M68KFPU_EMU_EXTRAPREC
  	bool "Math emulation extra precision"
  	depends on M68KFPU_EMU
  	help
  	  The fpu uses normally a few bit more during calculations for
  	  correct rounding, the emulator can (often) do the same but this
  	  extra calculation can cost quite some time, so you can disable
  	  it here. The emulator will then "only" calculate with a 64 bit
  	  mantissa and round slightly incorrect, what is more than enough
  	  for normal usage.
  
  config M68KFPU_EMU_ONLY
  	bool "Math emulation only kernel"
  	depends on M68KFPU_EMU
  	help
  	  This option prevents any floating-point instructions from being
  	  compiled into the kernel, thereby the kernel doesn't save any
  	  floating point context anymore during task switches, so this
  	  kernel will only be usable on machines without a floating-point
  	  math coprocessor. This makes the kernel a bit faster as no tests
  	  needs to be executed whether a floating-point instruction in the
  	  kernel should be executed or not.
  
  config ADVANCED
  	bool "Advanced configuration options"
  	depends on MMU
a7f7f6248   Masahiro Yamada   treewide: replace...
331
  	help
0e152d805   Greg Ungerer   m68k: reorganize ...
332
333
334
335
336
337
338
339
340
341
342
343
344
345
  	  This gives you access to some advanced options for the CPU. The
  	  defaults should be fine for most users, but these options may make
  	  it possible for you to improve performance somewhat if you know what
  	  you are doing.
  
  	  Note that the answer to this question won't directly affect the
  	  kernel: saying N will just cause the configurator to skip all
  	  the questions about these options.
  
  	  Most users should say N to this question.
  
  config RMW_INSNS
  	bool "Use read-modify-write instructions"
  	depends on ADVANCED
a7f7f6248   Masahiro Yamada   treewide: replace...
346
  	help
0e152d805   Greg Ungerer   m68k: reorganize ...
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
  	  This allows to use certain instructions that work with indivisible
  	  read-modify-write bus cycles. While this is faster than the
  	  workaround of disabling interrupts, it can conflict with DMA
  	  ( = direct memory access) on many Amiga systems, and it is also said
  	  to destabilize other machines. It is very likely that this will
  	  cause serious problems on any Amiga or Atari Medusa if set. The only
  	  configuration where it should work are 68030-based Ataris, where it
  	  apparently improves performance. But you've been warned! Unless you
  	  really know what you are doing, say N. Try Y only if you're quite
  	  adventurous.
  
  config SINGLE_MEMORY_CHUNK
  	bool "Use one physical chunk of memory only" if ADVANCED && !SUN3
  	depends on MMU
  	default y if SUN3
  	select NEED_MULTIPLE_NODES
  	help
  	  Ignore all but the first contiguous chunk of physical memory for VM
  	  purposes.  This will save a few bytes kernel size and may speed up
  	  some operations.  Say N if not sure.
  
  config ARCH_DISCONTIGMEM_ENABLE
  	def_bool MMU && !SINGLE_MEMORY_CHUNK
  
  config 060_WRITETHROUGH
  	bool "Use write-through caching for 68060 supervisor accesses"
  	depends on ADVANCED && M68060
a7f7f6248   Masahiro Yamada   treewide: replace...
374
  	help
0e152d805   Greg Ungerer   m68k: reorganize ...
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
  	  The 68060 generally uses copyback caching of recently accessed data.
  	  Copyback caching means that memory writes will be held in an on-chip
  	  cache and only written back to memory some time later.  Saying Y
  	  here will force supervisor (kernel) accesses to use writethrough
  	  caching.  Writethrough caching means that data is written to memory
  	  straight away, so that cache and memory data always agree.
  	  Writethrough caching is less efficient, but is needed for some
  	  drivers on 68060 based systems where the 68060 bus snooping signal
  	  is hardwired on.  The 53c710 SCSI driver is known to suffer from
  	  this problem.
  
  config M68K_L2_CACHE
  	bool
  	depends on MAC
  	default y
  
  config NODES_SHIFT
  	int
  	default "3"
  	depends on !SINGLE_MEMORY_CHUNK
022613e0b   Geert Uytterhoeven   m68k: Move CPU_HA...
395
396
397
398
399
  config CPU_HAS_NO_BITFIELDS
  	bool
  
  config CPU_HAS_NO_MULDIV64
  	bool
9f1f11803   Geert Uytterhoeven   m68k: Introduce c...
400
401
  config CPU_HAS_NO_UNALIGNED
  	bool
022613e0b   Geert Uytterhoeven   m68k: Move CPU_HA...
402
403
  config CPU_HAS_ADDRESS_SPACES
  	bool
0e152d805   Greg Ungerer   m68k: reorganize ...
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
  config FPU
  	bool
  
  config COLDFIRE_SW_A7
  	bool
  
  config HAVE_CACHE_SPLIT
  	bool
  
  config HAVE_CACHE_CB
  	bool
  
  config HAVE_MBAR
  	bool
  
  config HAVE_IPSBAR
  	bool
0e152d805   Greg Ungerer   m68k: reorganize ...
421
422
  config CLOCK_FREQ
  	int "Set the core clock frequency"
15c2ca4e9   Greg Ungerer   m68knommu: improv...
423
424
425
426
427
428
429
430
  	default "25000000" if M5206
  	default "54000000" if M5206e
  	default "166666666" if M520x
  	default "140000000" if M5249
  	default "150000000" if M527x || M523x
  	default "90000000" if M5307
  	default "50000000" if M5407
  	default "266000000" if M54xx
0e152d805   Greg Ungerer   m68k: reorganize ...
431
  	default "66666666"
d9ee48961   Greg Ungerer   m68knommu: force ...
432
  	depends on COLDFIRE
0e152d805   Greg Ungerer   m68k: reorganize ...
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
  	help
  	  Define the CPU clock frequency in use. This is the core clock
  	  frequency, it may or may not be the same as the external clock
  	  crystal fitted to your board. Some processors have an internal
  	  PLL and can have their frequency programmed at run time, others
  	  use internal dividers. In general the kernel won't setup a PLL
  	  if it is fitted (there are some exceptions). This value will be
  	  specific to the exact CPU that you are using.
  
  config OLDMASK
  	bool "Old mask 5307 (1H55J) silicon"
  	depends on M5307
  	help
  	  Build support for the older revision ColdFire 5307 silicon.
  	  Specifically this is the 1H55J mask revision.
  
  if HAVE_CACHE_SPLIT
  choice
  	prompt "Split Cache Configuration"
  	default CACHE_I
  
  config CACHE_I
  	bool "Instruction"
  	help
  	  Use all of the ColdFire CPU cache memory as an instruction cache.
  
  config CACHE_D
  	bool "Data"
  	help
  	  Use all of the ColdFire CPU cache memory as a data cache.
  
  config CACHE_BOTH
  	bool "Both"
  	help
  	  Split the ColdFire CPU cache, and use half as an instruction cache
  	  and half as a data cache.
  endchoice
  endif
  
  if HAVE_CACHE_CB
  choice
  	prompt "Data cache mode"
  	default CACHE_WRITETHRU
  
  config CACHE_WRITETHRU
  	bool "Write-through"
  	help
  	  The ColdFire CPU cache is set into Write-through mode.
  
  config CACHE_COPYBACK
  	bool "Copy-back"
  	help
  	  The ColdFire CPU cache is set into Copy-back mode.
  endchoice
  endif