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