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