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