m68knommu: create optimal separate instruction and data cache for ColdFire
[deliverable/linux.git] / arch / m68knommu / Kconfig
CommitLineData
36a248fa 1config M68K
1da177e4
LT
2 bool
3 default y
ec7748b5 4 select HAVE_IDE
1da177e4
LT
5
6config MMU
7 bool
8 default n
9
e0212e72
AB
10config NO_DMA
11 bool
ec40f95d 12 depends on !COLDFIRE
e0212e72
AB
13 default y
14
1da177e4
LT
15config FPU
16 bool
17 default n
18
66701b14
CL
19config ZONE_DMA
20 bool
21 default y
22
1da177e4
LT
23config RWSEM_GENERIC_SPINLOCK
24 bool
25 default y
26
27config RWSEM_XCHGADD_ALGORITHM
28 bool
29 default n
30
f0d1b0b3
DH
31config ARCH_HAS_ILOG2_U32
32 bool
33 default n
34
35config ARCH_HAS_ILOG2_U64
36 bool
37 default n
38
d2d7cdcf
AM
39config GENERIC_FIND_NEXT_BIT
40 bool
41 default y
42
af39bb8b 43config GENERIC_GPIO
44 bool
45 default n
46
d2d7cdcf
AM
47config GENERIC_HWEIGHT
48 bool
49 default y
50
2502b667
GU
51config GENERIC_HARDIRQS
52 bool
53 default y
54
04570b46
GU
55config GENERIC_HARDIRQS_NO__DO_IRQ
56 bool
57 default y
58
1da177e4
LT
59config GENERIC_CALIBRATE_DELAY
60 bool
61 default y
62
95469bd6
SS
63config GENERIC_CMOS_UPDATE
64 bool
65 default y
66
06027bdd
IM
67config TIME_LOW_RES
68 bool
69 default y
70
2b9a6986
SS
71config GENERIC_CLOCKEVENTS
72 bool
73 default n
74
5ea81769
AV
75config NO_IOPORT
76 def_bool y
77
1c83af5f
GU
78config COLDFIRE_SW_A7
79 bool
80 default n
81
0ef6c9b8
GU
82config HAVE_CACHE_SPLIT
83 bool
84
4a5bae41
GU
85config HAVE_CACHE_CB
86 bool
87
1da177e4
LT
88source "init/Kconfig"
89
dc52ddc0
MH
90source "kernel/Kconfig.freezer"
91
1da177e4
LT
92menu "Processor type and features"
93
94choice
95 prompt "CPU"
96 default M68EZ328
97
98config M68328
99 bool "MC68328"
100 help
101 Motorola 68328 processor support.
102
103config M68EZ328
104 bool "MC68EZ328"
105 help
106 Motorola 68EX328 processor support.
107
108config M68VZ328
109 bool "MC68VZ328"
110 help
111 Motorola 68VZ328 processor support.
112
113config M68360
114 bool "MC68360"
115 help
116 Motorola 68360 processor support.
117
118config M5206
119 bool "MCF5206"
1c83af5f 120 select COLDFIRE_SW_A7
1da177e4
LT
121 help
122 Motorola ColdFire 5206 processor support.
123
124config M5206e
125 bool "MCF5206e"
1c83af5f 126 select COLDFIRE_SW_A7
1da177e4
LT
127 help
128 Motorola ColdFire 5206e processor support.
129
4e51f674
GU
130config M520x
131 bool "MCF520x"
2b9a6986 132 select GENERIC_CLOCKEVENTS
0ef6c9b8 133 select HAVE_CACHE_SPLIT
4e51f674
GU
134 help
135 Freescale Coldfire 5207/5208 processor support.
136
5c4dbba9
GU
137config M523x
138 bool "MCF523x"
2b9a6986 139 select GENERIC_CLOCKEVENTS
0ef6c9b8 140 select HAVE_CACHE_SPLIT
5c4dbba9
GU
141 help
142 Freescale Coldfire 5230/1/2/4/5 processor support
143
1da177e4
LT
144config M5249
145 bool "MCF5249"
1c83af5f 146 select COLDFIRE_SW_A7
1da177e4
LT
147 help
148 Motorola ColdFire 5249 processor support.
149
5c4dbba9
GU
150config M5271
151 bool "MCF5271"
0ef6c9b8 152 select HAVE_CACHE_SPLIT
1da177e4 153 help
5c4dbba9 154 Freescale (Motorola) ColdFire 5270/5271 processor support.
1da177e4
LT
155
156config M5272
157 bool "MCF5272"
1c83af5f 158 select COLDFIRE_SW_A7
1da177e4
LT
159 help
160 Motorola ColdFire 5272 processor support.
161
5c4dbba9
GU
162config M5275
163 bool "MCF5275"
0ef6c9b8 164 select HAVE_CACHE_SPLIT
5c4dbba9
GU
165 help
166 Freescale (Motorola) ColdFire 5274/5275 processor support.
167
1da177e4
LT
168config M528x
169 bool "MCF528x"
2b9a6986 170 select GENERIC_CLOCKEVENTS
0ef6c9b8 171 select HAVE_CACHE_SPLIT
1da177e4
LT
172 help
173 Motorola ColdFire 5280/5282 processor support.
174
175config M5307
176 bool "MCF5307"
1c83af5f 177 select COLDFIRE_SW_A7
4a5bae41 178 select HAVE_CACHE_CB
1da177e4
LT
179 help
180 Motorola ColdFire 5307 processor support.
181
5d36f8eb
GU
182config M532x
183 bool "MCF532x"
4a5bae41 184 select HAVE_CACHE_CB
5d36f8eb
GU
185 help
186 Freescale (Motorola) ColdFire 532x processor support.
187
1da177e4
LT
188config M5407
189 bool "MCF5407"
1c83af5f 190 select COLDFIRE_SW_A7
4a5bae41 191 select HAVE_CACHE_CB
1da177e4
LT
192 help
193 Motorola ColdFire 5407 processor support.
194
9e29949c
GU
195config M547x
196 bool "MCF547x"
4a5bae41 197 select HAVE_CACHE_CB
9e29949c
GU
198 help
199 Freescale ColdFire 5470/5471/5472/5473/5474/5475 processor support.
200
ea49f8ff
PDM
201config M548x
202 bool "MCF548x"
4a5bae41 203 select HAVE_CACHE_CB
ea49f8ff
PDM
204 help
205 Freescale ColdFire 5480/5481/5482/5483/5484/5485 processor support.
206
1da177e4
LT
207endchoice
208
5c4dbba9
GU
209config M527x
210 bool
211 depends on (M5271 || M5275)
2b9a6986 212 select GENERIC_CLOCKEVENTS
5c4dbba9
GU
213 default y
214
5b2e6555
GU
215config M54xx
216 bool
9e29949c 217 depends on (M548x || M547x)
5b2e6555
GU
218 default y
219
1da177e4
LT
220config COLDFIRE
221 bool
5b2e6555 222 depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 || M528x || M5307 || M532x || M5407 || M54xx)
af39bb8b 223 select GENERIC_GPIO
224 select ARCH_REQUIRE_GPIOLIB
1da177e4
LT
225 default y
226
e648cd26
GU
227config CLOCK_SET
228 bool "Enable setting the CPU clock frequency"
229 default n
1da177e4 230 help
e648cd26
GU
231 On some CPU's you do not need to know what the core CPU clock
232 frequency is. On these you can disable clock setting. On some
233 traditional 68K parts, and on all ColdFire parts you need to set
234 the appropriate CPU clock frequency. On these devices many of the
235 onboard peripherals derive their timing from the master CPU clock
236 frequency.
237
238config CLOCK_FREQ
239 int "Set the core clock frequency"
240 default "66666666"
241 depends on CLOCK_SET
242 help
243 Define the CPU clock frequency in use. This is the core clock
244 frequency, it may or may not be the same as the external clock
245 crystal fitted to your board. Some processors have an internal
246 PLL and can have their frequency programmed at run time, others
44c09201
ML
247 use internal dividers. In general the kernel won't setup a PLL
248 if it is fitted (there are some exceptions). This value will be
e648cd26
GU
249 specific to the exact CPU that you are using.
250
251config CLOCK_DIV
252 int "Set the core/bus clock divide ratio"
253 default "1"
254 depends on CLOCK_SET
255 help
256 On many SoC style CPUs the master CPU clock is also used to drive
257 on-chip peripherals. The clock that is distributed to these
258 peripherals is sometimes a fixed ratio of the master clock
6869e940 259 frequency. If so then set this to the divider ratio of the
e648cd26 260 master clock to the peripheral clock. If not sure then select 1.
1da177e4
LT
261
262config OLDMASK
263 bool "Old mask 5307 (1H55J) silicon"
264 depends on M5307
265 help
266 Build support for the older revision ColdFire 5307 silicon.
267 Specifically this is the 1H55J mask revision.
268
0ef6c9b8
GU
269if HAVE_CACHE_SPLIT
270choice
271 prompt "Split Cache Configuration"
272 default CACHE_I
273
274config CACHE_I
275 bool "Instruction"
276 help
277 Use all of the ColdFire CPU cache memory as an instruction cache.
278
279config CACHE_D
280 bool "Data"
281 help
282 Use all of the ColdFire CPU cache memory as a data cache.
283
284config 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.
289endchoice
4a5bae41
GU
290endif
291
292if HAVE_CACHE_CB
293choice
294 prompt "Data cache mode"
295 default CACHE_WRITETHRU
0ef6c9b8 296
4a5bae41
GU
297config CACHE_WRITETHRU
298 bool "Write-through"
299 help
300 The ColdFire CPU cache is set into Write-through mode.
301
302config CACHE_COPYBACK
303 bool "Copy-back"
304 help
305 The ColdFire CPU cache is set into Copy-back mode.
306endchoice
0ef6c9b8
GU
307endif
308
1da177e4
LT
309comment "Platform"
310
311config PILOT3
312 bool "Pilot 1000/5000, PalmPilot Personal/Pro, or PalmIII support"
313 depends on M68328
314 help
315 Support for the Palm Pilot 1000/5000, Personal/Pro and PalmIII.
316
317config XCOPILOT_BUGS
6869e940 318 bool "(X)Copilot support"
1da177e4
LT
319 depends on PILOT3
320 help
321 Support the bugs of Xcopilot.
322
36995223
DW
323config UC5272
324 bool 'Arcturus Networks uC5272 dimm board support'
325 depends on M5272
326 help
327 Support for the Arcturus Networks uC5272 dimm board.
328
329config UC5282
330 bool "Arcturus Networks uC5282 board support"
331 depends on M528x
332 help
333 Support for the Arcturus Networks uC5282 dimm board.
334
1da177e4
LT
335config UCSIMM
336 bool "uCsimm module support"
337 depends on M68EZ328
338 help
339 Support for the Arcturus Networks uCsimm module.
340
341config UCDIMM
342 bool "uDsimm module support"
343 depends on M68VZ328
344 help
345 Support for the Arcturus Networks uDsimm module.
346
347config DRAGEN2
348 bool "DragenEngine II board support"
349 depends on M68VZ328
350 help
351 Support for the DragenEngine II board.
352
353config DIRECT_IO_ACCESS
6869e940 354 bool "Allow user to access IO directly"
1da177e4
LT
355 depends on (UCSIMM || UCDIMM || DRAGEN2)
356 help
357 Disable the CPU internal registers protection in user mode,
358 to allow a user application to read/write them.
359
360config INIT_LCD
6869e940 361 bool "Initialize LCD"
1da177e4
LT
362 depends on (UCSIMM || UCDIMM || DRAGEN2)
363 help
364 Initialize the LCD controller of the 68x328 processor.
365
366config MEMORY_RESERVE
6869e940 367 int "Memory reservation (MiB)"
1da177e4
LT
368 depends on (UCSIMM || UCDIMM)
369 help
370 Reserve certain memory regions on 68x328 based boards.
371
372config UCQUICC
373 bool "Lineo uCquicc board support"
374 depends on M68360
375 help
376 Support for the Lineo uCquicc board.
377
378config ARN5206
379 bool "Arnewsh 5206 board support"
380 depends on M5206
381 help
382 Support for the Arnewsh 5206 board.
383
384config M5206eC3
385 bool "Motorola M5206eC3 board support"
386 depends on M5206e
387 help
388 Support for the Motorola M5206eC3 board.
389
390config ELITE
391 bool "Motorola M5206eLITE board support"
392 depends on M5206e
393 help
394 Support for the Motorola M5206eLITE board.
395
4e51f674
GU
396config M5208EVB
397 bool "Freescale M5208EVB board support"
398 depends on M520x
399 help
400 Support for the Freescale Coldfire M5208EVB.
401
5c4dbba9
GU
402config M5235EVB
403 bool "Freescale M5235EVB support"
404 depends on M523x
405 help
406 Support for the Freescale M5235EVB board.
407
1da177e4
LT
408config M5249C3
409 bool "Motorola M5249C3 board support"
410 depends on M5249
411 help
412 Support for the Motorola M5249C3 board.
413
414config M5271EVB
415 bool "Freescale (Motorola) M5271EVB board support"
5c4dbba9 416 depends on M5271
1da177e4
LT
417 help
418 Support for the Freescale (Motorola) M5271EVB board.
419
420config M5275EVB
421 bool "Freescale (Motorola) M5275EVB board support"
5c4dbba9 422 depends on M5275
1da177e4
LT
423 help
424 Support for the Freescale (Motorola) M5275EVB board.
425
426config M5272C3
427 bool "Motorola M5272C3 board support"
428 depends on M5272
429 help
430 Support for the Motorola M5272C3 board.
431
432config COBRA5272
433 bool "senTec COBRA5272 board support"
434 depends on M5272
435 help
436 Support for the senTec COBRA5272 board.
437
04860bd2
GU
438config AVNET5282
439 bool "Avnet 5282 board support"
440 depends on M528x
441 help
442 Support for the Avnet 5282 board.
443
1da177e4
LT
444config M5282EVB
445 bool "Motorola M5282EVB board support"
446 depends on M528x
447 help
448 Support for the Motorola M5282EVB board.
449
450config COBRA5282
451 bool "senTec COBRA5282 board support"
452 depends on M528x
453 help
454 Support for the senTec COBRA5282 board.
5c4dbba9
GU
455
456config SOM5282EM
457 bool "EMAC.Inc SOM5282EM board support"
458 depends on M528x
459 help
460 Support for the EMAC.Inc SOM5282EM module.
906a2621
GU
461
462config WILDFIRE
463 bool "Intec Automation Inc. WildFire board support"
464 depends on M528x
465 help
466 Support for the Intec Automation Inc. WildFire.
467
468config WILDFIREMOD
469 bool "Intec Automation Inc. WildFire module support"
470 depends on M528x
471 help
472 Support for the Intec Automation Inc. WildFire module.
1da177e4
LT
473
474config ARN5307
475 bool "Arnewsh 5307 board support"
476 depends on M5307
477 help
478 Support for the Arnewsh 5307 board.
479
480config M5307C3
481 bool "Motorola M5307C3 board support"
482 depends on M5307
483 help
484 Support for the Motorola M5307C3 board.
485
1da177e4
LT
486config SECUREEDGEMP3
487 bool "SnapGear SecureEdge/MP3 platform support"
488 depends on M5307
489 help
490 Support for the SnapGear SecureEdge/MP3 platform.
491
5d36f8eb
GU
492config M5329EVB
493 bool "Freescale (Motorola) M5329EVB board support"
494 depends on M532x
495 help
496 Support for the Freescale (Motorola) M5329EVB board.
497
498config COBRA5329
499 bool "senTec COBRA5329 board support"
500 depends on M532x
501 help
502 Support for the senTec COBRA5329 board.
503
1da177e4
LT
504config M5407C3
505 bool "Motorola M5407C3 board support"
506 depends on M5407
507 help
508 Support for the Motorola M5407C3 board.
509
510config CLEOPATRA
511 bool "Feith CLEOPATRA board support"
512 depends on (M5307 || M5407)
513 help
514 Support for the Feith Cleopatra boards.
515
516config CANCam
517 bool "Feith CANCam board support"
518 depends on M5272
519 help
520 Support for the Feith CANCam board.
521
522config SCALES
523 bool "Feith SCALES board support"
524 depends on M5272
525 help
526 Support for the Feith SCALES board.
527
528config NETtel
529 bool "SecureEdge/NETtel board support"
530 depends on (M5206e || M5272 || M5307)
531 help
532 Support for the SnapGear NETtel/SecureEdge/SnapGear boards.
533
534config SNAPGEAR
535 bool "SnapGear router board support"
536 depends on NETtel
537 help
538 Special additional support for SnapGear router boards.
539
540config CPU16B
541 bool "Sneha Technologies S.L. Sarasvati board support"
542 depends on M5272
543 help
544 Support for the SNEHA CPU16B board.
545
5c4dbba9
GU
546config MOD5272
547 bool "Netburner MOD-5272 board support"
548 depends on M5272
549 help
550 Support for the Netburner MOD-5272 board.
551
c1057c65
WC
552config SAVANTrosie1
553 bool "Savant Rosie1 board support"
554 depends on M523x
555 help
556 Support for the Savant Rosie1 board.
557
1da177e4 558config ROMFS_FROM_ROM
6869e940 559 bool "ROMFS image not RAM resident"
1da177e4
LT
560 depends on (NETtel || SNAPGEAR)
561 help
562 The ROMfs filesystem will stay resident in the FLASH/ROM, not be
563 moved into RAM.
564
565config PILOT
566 bool
567 default y
568 depends on (PILOT3 || PILOT5)
569
570config ARNEWSH
571 bool
572 default y
573 depends on (ARN5206 || ARN5307)
574
4e51f674 575config FREESCALE
1da177e4
LT
576 bool
577 default y
5d36f8eb 578 depends on (M5206eC3 || M5208EVB || M5235EVB || M5249C3 || M5271EVB || M5272C3 || M5275EVB || M5282EVB || M5307C3 || M5329EVB || M5407C3)
1da177e4
LT
579
580config HW_FEITH
581 bool
582 default y
583 depends on (CLEOPATRA || CANCam || SCALES)
584
585config senTec
586 bool
587 default y
588 depends on (COBRA5272 || COBRA5282)
5c4dbba9
GU
589
590config EMAC_INC
591 bool
592 default y
593 depends on (SOM5282EM)
1da177e4
LT
594
595config SNEHA
596 bool
597 default y
598 depends on CPU16B
c1057c65
WC
599
600config SAVANT
601 bool
602 default y
603 depends on SAVANTrosie1
604
04860bd2
GU
605config AVNET
606 bool
607 default y
608 depends on (AVNET5282)
1da177e4 609
588baeac
LS
610config UBOOT
611 bool "Support for U-Boot command line parameters"
612 help
613 If you say Y here kernel will try to collect command
614 line parameters from the initial u-boot stack.
615 default n
616
5c4dbba9
GU
617config 4KSTACKS
618 bool "Use 4Kb for kernel stacks instead of 8Kb"
619 default y
620 help
621 If you say Y here the kernel will use a 4Kb stacksize for the
622 kernel stack attached to each process/thread. This facilitates
623 running more threads on a system and also reduces the pressure
624 on the VM subsystem for higher order allocations.
625
bdc80787
PA
626config HZ
627 int
628 default 1000 if CLEOPATRA
629 default 100
630
63e413d1
GU
631comment "RAM configuration"
632
633config RAMBASE
634 hex "Address of the base of RAM"
635 default "0"
636 help
637 Define the address that RAM starts at. On many platforms this is
638 0, the base of the address space. And this is the default. Some
639 platforms choose to setup their RAM at other addresses within the
640 processor address space.
641
642config RAMSIZE
73a9983e 643 hex "Size of RAM (in bytes), or 0 for automatic"
63e413d1
GU
644 default "0x400000"
645 help
646 Define the size of the system RAM. If you select 0 then the
647 kernel will try to probe the RAM size at runtime. This is not
648 supported on all CPU types.
649
650config VECTORBASE
651 hex "Address of the base of system vectors"
652 default "0"
653 help
4b3f686d 654 Define the address of the system vectors. Commonly this is
63e413d1
GU
655 put at the start of RAM, but it doesn't have to be. On ColdFire
656 platforms this address is programmed into the VBR register, thus
657 actually setting the address to use.
658
659config KERNELBASE
660 hex "Address of the base of kernel code"
661 default "0x400"
662 help
663 Typically on m68k systems the kernel will not start at the base
664 of RAM, but usually some small offset from it. Define the start
665 address of the kernel here. The most common setup will have the
666 processor vectors at the base of RAM and then the start of the
667 kernel. On some platforms some RAM is reserved for boot loaders
668 and the kernel starts after that. The 0x400 default was based on
669 a system with the RAM based at address 0, and leaving enough room
670 for the theoretical maximum number of 256 vectors.
1da177e4
LT
671
672choice
673 prompt "RAM bus width"
674 default RAMAUTOBIT
675
676config RAMAUTOBIT
677 bool "AUTO"
63e413d1 678 help
1da177e4
LT
679 Select the physical RAM data bus size. Not needed on most platforms,
680 so you can generally choose AUTO.
681
682config RAM8BIT
683 bool "8bit"
684 help
685 Configure RAM bus to be 8 bits wide.
686
687config RAM16BIT
688 bool "16bit"
689 help
690 Configure RAM bus to be 16 bits wide.
691
692config RAM32BIT
693 bool "32bit"
694 help
695 Configure RAM bus to be 32 bits wide.
696
697endchoice
698
c750a012
GU
699comment "ROM configuration"
700
701config ROM
702 bool "Specify ROM linker regions"
703 default n
704 help
705 Define a ROM region for the linker script. This creates a kernel
706 that can be stored in flash, with possibly the text, and data
707 regions being copied out to RAM at startup.
708
709config ROMBASE
710 hex "Address of the base of ROM device"
711 default "0"
712 depends on ROM
713 help
714 Define the address that the ROM region starts at. Some platforms
715 use this to set their chip select region accordingly for the boot
716 device.
717
718config ROMVEC
719 hex "Address of the base of the ROM vectors"
720 default "0"
721 depends on ROM
722 help
723 This is almost always the same as the base of the ROM. Since on all
3cb2fccc 724 68000 type variants the vectors are at the base of the boot device
c750a012
GU
725 on system startup.
726
727config ROMVECSIZE
728 hex "Size of ROM vector region (in bytes)"
729 default "0x400"
730 depends on ROM
731 help
732 Define the size of the vector region in ROM. For most 68000
3cb2fccc 733 variants this would be 0x400 bytes in size. Set to 0 if you do
c750a012
GU
734 not want a vector region at the start of the ROM.
735
736config ROMSTART
737 hex "Address of the base of system image in ROM"
738 default "0x400"
739 depends on ROM
740 help
741 Define the start address of the system image in ROM. Commonly this
742 is strait after the ROM vectors.
743
744config ROMSIZE
745 hex "Size of the ROM device"
746 default "0x100000"
747 depends on ROM
748 help
749 Size of the ROM device. On some platforms this is used to setup
750 the chip select that controls the boot ROM device.
751
1da177e4
LT
752choice
753 prompt "Kernel executes from"
754 ---help---
755 Choose the memory type that the kernel will be running in.
756
757config RAMKERNEL
758 bool "RAM"
759 help
760 The kernel will be resident in RAM when running.
761
762config ROMKERNEL
763 bool "ROM"
764 help
63e413d1
GU
765 The kernel will be resident in FLASH/ROM when running. This is
766 often referred to as Execute-in-Place (XIP), since the kernel
767 code executes from the position it is stored in the FLASH/ROM.
1da177e4
LT
768
769endchoice
770
78f508ab
SS
771if COLDFIRE
772source "kernel/Kconfig.preempt"
773endif
2b9a6986
SS
774
775source "kernel/time/Kconfig"
776
3f22ab27
DH
777source "mm/Kconfig"
778
1da177e4
LT
779endmenu
780
5cae841b
AV
781config ISA_DMA_API
782 bool
783 depends on !M5272
784 default y
785
1da177e4
LT
786source "drivers/pcmcia/Kconfig"
787
1da177e4
LT
788menu "Executable file formats"
789
790source "fs/Kconfig.binfmt"
791
792endmenu
793
794menu "Power management options"
795
796config PM
797 bool "Power Management support"
798 help
799 Support processor power management modes
800
801endmenu
802
d5950b43
SR
803source "net/Kconfig"
804
1da177e4
LT
805source "drivers/Kconfig"
806
807source "fs/Kconfig"
808
809source "arch/m68knommu/Kconfig.debug"
810
811source "security/Kconfig"
812
813source "crypto/Kconfig"
814
815source "lib/Kconfig"
This page took 0.866688 seconds and 5 git commands to generate.