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