Merge branch 'x86/cpufeature' into irq/numa
[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         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_HWEIGHT
51         bool
52         default y
53
54 config GENERIC_HARDIRQS
55         bool
56         default y
57
58 config GENERIC_CALIBRATE_DELAY
59         bool
60         default y
61
62 config GENERIC_TIME
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         default y
186
187 config CLOCK_SET
188         bool "Enable setting the CPU clock frequency"
189         default n
190         help
191           On some CPU's you do not need to know what the core CPU clock
192           frequency is. On these you can disable clock setting. On some
193           traditional 68K parts, and on all ColdFire parts you need to set
194           the appropriate CPU clock frequency. On these devices many of the
195           onboard peripherals derive their timing from the master CPU clock
196           frequency.
197
198 config CLOCK_FREQ
199         int "Set the core clock frequency"
200         default "66666666"
201         depends on CLOCK_SET
202         help
203           Define the CPU clock frequency in use. This is the core clock
204           frequency, it may or may not be the same as the external clock
205           crystal fitted to your board. Some processors have an internal
206           PLL and can have their frequency programmed at run time, others
207           use internal dividers. In general the kernel won't setup a PLL
208           if it is fitted (there are some exceptions). This value will be
209           specific to the exact CPU that you are using.
210
211 config CLOCK_DIV
212         int "Set the core/bus clock divide ratio"
213         default "1"
214         depends on CLOCK_SET
215         help
216           On many SoC style CPUs the master CPU clock is also used to drive 
217           on-chip peripherals. The clock that is distributed to these
218           peripherals is sometimes a fixed ratio of the master clock
219           frequency. If so then set this to the divider ratio of the
220           master clock to the peripheral clock. If not sure then select 1.
221
222 config OLDMASK
223         bool "Old mask 5307 (1H55J) silicon"
224         depends on M5307
225         help
226           Build support for the older revision ColdFire 5307 silicon.
227           Specifically this is the 1H55J mask revision.
228
229 comment "Platform"
230
231 config PILOT3
232         bool "Pilot 1000/5000, PalmPilot Personal/Pro, or PalmIII support"
233         depends on M68328
234         help
235           Support for the Palm Pilot 1000/5000, Personal/Pro and PalmIII.
236
237 config XCOPILOT_BUGS
238         bool "(X)Copilot support"
239         depends on PILOT3
240         help
241           Support the bugs of Xcopilot.
242
243 config UC5272
244         bool 'Arcturus Networks uC5272 dimm board support'
245         depends on M5272
246         help
247           Support for the Arcturus Networks uC5272 dimm board.
248
249 config UC5282
250        bool "Arcturus Networks uC5282 board support"
251           depends on M528x
252        help
253           Support for the Arcturus Networks uC5282 dimm board.
254
255 config UCSIMM
256         bool "uCsimm module support"
257         depends on M68EZ328
258         help
259           Support for the Arcturus Networks uCsimm module.
260
261 config UCDIMM
262         bool "uDsimm module support"
263         depends on M68VZ328
264         help
265           Support for the Arcturus Networks uDsimm module.
266
267 config DRAGEN2
268         bool "DragenEngine II board support"
269         depends on M68VZ328
270         help
271           Support for the DragenEngine II board.
272
273 config DIRECT_IO_ACCESS
274         bool "Allow user to access IO directly"
275         depends on (UCSIMM || UCDIMM || DRAGEN2)
276         help
277           Disable the CPU internal registers protection in user mode,
278           to allow a user application to read/write them.
279
280 config INIT_LCD
281         bool "Initialize LCD"
282         depends on (UCSIMM || UCDIMM || DRAGEN2)
283         help
284           Initialize the LCD controller of the 68x328 processor.
285
286 config MEMORY_RESERVE
287         int "Memory reservation (MiB)"
288         depends on (UCSIMM || UCDIMM)
289         help
290           Reserve certain memory regions on 68x328 based boards.
291
292 config UCQUICC
293         bool "Lineo uCquicc board support"
294         depends on M68360
295         help
296           Support for the Lineo uCquicc board.
297
298 config ARN5206
299         bool "Arnewsh 5206 board support"
300         depends on M5206
301         help
302           Support for the Arnewsh 5206 board.
303
304 config M5206eC3
305         bool "Motorola M5206eC3 board support"
306         depends on M5206e
307         help
308           Support for the Motorola M5206eC3 board.
309
310 config ELITE
311         bool "Motorola M5206eLITE board support"
312         depends on M5206e
313         help
314           Support for the Motorola M5206eLITE board.
315
316 config M5208EVB
317         bool "Freescale M5208EVB board support"
318         depends on M520x
319         help
320           Support for the Freescale Coldfire M5208EVB.
321
322 config M5235EVB
323         bool "Freescale M5235EVB support"
324         depends on M523x
325         help
326           Support for the Freescale M5235EVB board.
327
328 config M5249C3
329         bool "Motorola M5249C3 board support"
330         depends on M5249
331         help
332           Support for the Motorola M5249C3 board.
333
334 config M5271EVB
335         bool "Freescale (Motorola) M5271EVB board support"
336         depends on M5271
337         help
338           Support for the Freescale (Motorola) M5271EVB board.
339
340 config M5275EVB
341         bool "Freescale (Motorola) M5275EVB board support"
342         depends on M5275
343         help
344           Support for the Freescale (Motorola) M5275EVB board.
345
346 config M5272C3
347         bool "Motorola M5272C3 board support"
348         depends on M5272
349         help
350           Support for the Motorola M5272C3 board.
351
352 config COBRA5272
353         bool "senTec COBRA5272 board support"
354         depends on M5272
355         help
356           Support for the senTec COBRA5272 board.
357
358 config AVNET5282
359         bool "Avnet 5282 board support"
360         depends on M528x
361         help
362           Support for the Avnet 5282 board.  
363           
364 config M5282EVB
365         bool "Motorola M5282EVB board support"
366         depends on M528x
367         help
368           Support for the Motorola M5282EVB board.
369
370 config COBRA5282
371         bool "senTec COBRA5282 board support"
372         depends on M528x
373         help
374           Support for the senTec COBRA5282 board.
375           
376 config SOM5282EM
377         bool "EMAC.Inc SOM5282EM board support"
378         depends on M528x
379         help
380           Support for the EMAC.Inc SOM5282EM module.  
381           
382 config WILDFIRE
383         bool "Intec Automation Inc. WildFire board support"
384         depends on M528x
385         help
386           Support for the Intec Automation Inc. WildFire.
387           
388 config WILDFIREMOD
389         bool "Intec Automation Inc. WildFire module support"
390         depends on M528x
391         help
392           Support for the Intec Automation Inc. WildFire module.
393
394 config ARN5307
395         bool "Arnewsh 5307 board support"
396         depends on M5307
397         help
398           Support for the Arnewsh 5307 board.
399
400 config M5307C3
401         bool "Motorola M5307C3 board support"
402         depends on M5307
403         help
404           Support for the Motorola M5307C3 board.
405
406 config SECUREEDGEMP3
407         bool "SnapGear SecureEdge/MP3 platform support"
408         depends on M5307
409         help
410           Support for the SnapGear SecureEdge/MP3 platform.
411
412 config M5329EVB
413         bool "Freescale (Motorola) M5329EVB board support"
414         depends on M532x
415         help
416           Support for the Freescale (Motorola) M5329EVB board.
417
418 config COBRA5329
419         bool "senTec COBRA5329 board support"
420         depends on M532x
421         help
422           Support for the senTec COBRA5329 board.
423
424 config M5407C3
425         bool "Motorola M5407C3 board support"
426         depends on M5407
427         help
428           Support for the Motorola M5407C3 board.
429
430 config CLEOPATRA
431         bool "Feith CLEOPATRA board support"
432         depends on (M5307 || M5407)
433         help
434           Support for the Feith Cleopatra boards.
435
436 config CANCam
437         bool "Feith CANCam board support"
438         depends on M5272
439         help
440           Support for the Feith CANCam board.
441
442 config SCALES
443         bool "Feith SCALES board support"
444         depends on M5272
445         help
446           Support for the Feith SCALES board.
447
448 config NETtel
449         bool "SecureEdge/NETtel board support"
450         depends on (M5206e || M5272 || M5307)
451         help
452           Support for the SnapGear NETtel/SecureEdge/SnapGear boards.
453
454 config SNAPGEAR
455         bool "SnapGear router board support"
456         depends on NETtel
457         help
458           Special additional support for SnapGear router boards.
459
460 config CPU16B
461         bool "Sneha Technologies S.L. Sarasvati board support"
462         depends on M5272
463         help
464           Support for the SNEHA CPU16B board.
465
466 config MOD5272
467         bool "Netburner MOD-5272 board support"
468         depends on M5272
469         help
470           Support for the Netburner MOD-5272 board.
471
472 config SAVANTrosie1
473         bool "Savant Rosie1 board support"
474         depends on M523x
475         help
476           Support for the Savant Rosie1 board.
477
478 config ROMFS_FROM_ROM
479         bool "ROMFS image not RAM resident"
480         depends on (NETtel || SNAPGEAR)
481         help
482           The ROMfs filesystem will stay resident in the FLASH/ROM, not be
483           moved into RAM.
484
485 config PILOT
486         bool
487         default y
488         depends on (PILOT3 || PILOT5)
489
490 config ARNEWSH
491         bool
492         default y
493         depends on (ARN5206 || ARN5307)
494
495 config FREESCALE
496         bool
497         default y
498         depends on (M5206eC3 || M5208EVB || M5235EVB || M5249C3 || M5271EVB || M5272C3 || M5275EVB || M5282EVB || M5307C3 || M5329EVB || M5407C3)
499
500 config HW_FEITH
501         bool
502         default y
503         depends on (CLEOPATRA || CANCam || SCALES)
504
505 config senTec
506         bool
507         default y
508         depends on (COBRA5272 || COBRA5282)
509         
510 config EMAC_INC
511         bool
512         default y
513         depends on (SOM5282EM)
514
515 config SNEHA
516         bool
517         default y
518         depends on CPU16B
519
520 config SAVANT
521         bool
522         default y
523         depends on SAVANTrosie1
524
525 config AVNET
526         bool
527         default y
528         depends on (AVNET5282)
529
530 config 4KSTACKS
531         bool "Use 4Kb for kernel stacks instead of 8Kb"
532         default y
533         help
534           If you say Y here the kernel will use a 4Kb stacksize for the
535           kernel stack attached to each process/thread. This facilitates
536           running more threads on a system and also reduces the pressure
537           on the VM subsystem for higher order allocations.
538
539 config HZ
540         int
541         default 1000 if CLEOPATRA
542         default 100
543
544 comment "RAM configuration"
545
546 config RAMBASE
547         hex "Address of the base of RAM"
548         default "0"
549         help
550           Define the address that RAM starts at. On many platforms this is
551           0, the base of the address space. And this is the default. Some
552           platforms choose to setup their RAM at other addresses within the
553           processor address space.
554
555 config RAMSIZE
556         hex "Size of RAM (in bytes)"
557         default "0x400000"
558         help
559           Define the size of the system RAM. If you select 0 then the
560           kernel will try to probe the RAM size at runtime. This is not
561           supported on all CPU types.
562
563 config VECTORBASE
564         hex "Address of the base of system vectors"
565         default "0"
566         help
567           Define the address of the system vectors. Commonly this is
568           put at the start of RAM, but it doesn't have to be. On ColdFire
569           platforms this address is programmed into the VBR register, thus
570           actually setting the address to use.
571
572 config KERNELBASE
573         hex "Address of the base of kernel code"
574         default "0x400"
575         help
576           Typically on m68k systems the kernel will not start at the base
577           of RAM, but usually some small offset from it. Define the start
578           address of the kernel here. The most common setup will have the
579           processor vectors at the base of RAM and then the start of the
580           kernel. On some platforms some RAM is reserved for boot loaders
581           and the kernel starts after that. The 0x400 default was based on
582           a system with the RAM based at address 0, and leaving enough room
583           for the theoretical maximum number of 256 vectors.
584
585 choice
586         prompt "RAM bus width"
587         default RAMAUTOBIT
588
589 config RAMAUTOBIT
590         bool "AUTO"
591         help
592           Select the physical RAM data bus size. Not needed on most platforms,
593           so you can generally choose AUTO.
594
595 config RAM8BIT
596         bool "8bit"
597         help
598           Configure RAM bus to be 8 bits wide.
599
600 config RAM16BIT
601         bool "16bit"
602         help
603           Configure RAM bus to be 16 bits wide.
604
605 config RAM32BIT
606         bool "32bit"
607         help
608           Configure RAM bus to be 32 bits wide.
609
610 endchoice
611
612 comment "ROM configuration"
613
614 config ROM
615         bool "Specify ROM linker regions"
616         default n
617         help
618           Define a ROM region for the linker script. This creates a kernel
619           that can be stored in flash, with possibly the text, and data
620           regions being copied out to RAM at startup.
621
622 config ROMBASE
623         hex "Address of the base of ROM device"
624         default "0"
625         depends on ROM
626         help
627           Define the address that the ROM region starts at. Some platforms
628           use this to set their chip select region accordingly for the boot
629           device.
630
631 config ROMVEC
632         hex "Address of the base of the ROM vectors"
633         default "0"
634         depends on ROM
635         help
636           This is almost always the same as the base of the ROM. Since on all
637           68000 type variants the vectors are at the base of the boot device
638           on system startup.
639
640 config ROMVECSIZE
641         hex "Size of ROM vector region (in bytes)"
642         default "0x400"
643         depends on ROM
644         help
645           Define the size of the vector region in ROM. For most 68000
646           variants this would be 0x400 bytes in size. Set to 0 if you do
647           not want a vector region at the start of the ROM.
648
649 config ROMSTART
650         hex "Address of the base of system image in ROM"
651         default "0x400"
652         depends on ROM
653         help
654           Define the start address of the system image in ROM. Commonly this
655           is strait after the ROM vectors.
656
657 config ROMSIZE
658         hex "Size of the ROM device"
659         default "0x100000"
660         depends on ROM
661         help
662           Size of the ROM device. On some platforms this is used to setup
663           the chip select that controls the boot ROM device.
664
665 choice
666         prompt "Kernel executes from"
667         ---help---
668           Choose the memory type that the kernel will be running in.
669
670 config RAMKERNEL
671         bool "RAM"
672         help
673           The kernel will be resident in RAM when running.
674
675 config ROMKERNEL
676         bool "ROM"
677         help
678           The kernel will be resident in FLASH/ROM when running. This is
679           often referred to as Execute-in-Place (XIP), since the kernel
680           code executes from the position it is stored in the FLASH/ROM.
681
682 endchoice
683
684 if COLDFIRE
685 source "kernel/Kconfig.preempt"
686 endif
687
688 source "kernel/time/Kconfig"
689
690 source "mm/Kconfig"
691
692 endmenu
693
694 config ISA_DMA_API
695         bool
696         depends on !M5272
697         default y
698
699 source "drivers/pcmcia/Kconfig"
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"