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