Merge branch 'topic/asoc' into for-linus
[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         default y
20
21 config FPU
22         bool
23         default n
24
25 config ZONE_DMA
26         bool
27         default y
28
29 config RWSEM_GENERIC_SPINLOCK
30         bool
31         default y
32
33 config RWSEM_XCHGADD_ALGORITHM
34         bool
35         default n
36
37 config ARCH_HAS_ILOG2_U32
38         bool
39         default n
40
41 config ARCH_HAS_ILOG2_U64
42         bool
43         default n
44
45 config GENERIC_FIND_NEXT_BIT
46         bool
47         default y
48
49 config GENERIC_HWEIGHT
50         bool
51         default y
52
53 config GENERIC_HARDIRQS
54         bool
55         default y
56
57 config GENERIC_CALIBRATE_DELAY
58         bool
59         default y
60
61 config GENERIC_TIME
62         bool
63         default y
64
65 config GENERIC_CMOS_UPDATE
66         bool
67         default y
68
69 config TIME_LOW_RES
70         bool
71         default y
72
73 config GENERIC_CLOCKEVENTS
74         bool
75         default n
76
77 config NO_IOPORT
78         def_bool y
79
80 source "init/Kconfig"
81
82 source "kernel/Kconfig.freezer"
83
84 menu "Processor type and features"
85
86 choice
87         prompt "CPU"
88         default M68EZ328
89
90 config M68328
91         bool "MC68328"
92         help
93           Motorola 68328 processor support.
94
95 config M68EZ328
96         bool "MC68EZ328"
97         help
98           Motorola 68EX328 processor support.
99
100 config M68VZ328
101         bool "MC68VZ328"
102         help
103           Motorola 68VZ328 processor support.
104
105 config M68360
106         bool "MC68360"
107         help
108           Motorola 68360 processor support.
109
110 config M5206
111         bool "MCF5206"
112         help
113           Motorola ColdFire 5206 processor support.
114
115 config M5206e
116         bool "MCF5206e"
117         help
118           Motorola ColdFire 5206e processor support.
119
120 config M520x
121         bool "MCF520x"
122         select GENERIC_CLOCKEVENTS
123         help
124            Freescale Coldfire 5207/5208 processor support.
125
126 config M523x
127         bool "MCF523x"
128         select GENERIC_CLOCKEVENTS
129         help
130           Freescale Coldfire 5230/1/2/4/5 processor support
131
132 config M5249
133         bool "MCF5249"
134         help
135           Motorola ColdFire 5249 processor support.
136
137 config M5271
138         bool "MCF5271"
139         help
140           Freescale (Motorola) ColdFire 5270/5271 processor support.
141
142 config M5272
143         bool "MCF5272"
144         help
145           Motorola ColdFire 5272 processor support.
146
147 config M5275
148         bool "MCF5275"
149         help
150           Freescale (Motorola) ColdFire 5274/5275 processor support.
151
152 config M528x
153         bool "MCF528x"
154         select GENERIC_CLOCKEVENTS
155         help
156           Motorola ColdFire 5280/5282 processor support.
157
158 config M5307
159         bool "MCF5307"
160         help
161           Motorola ColdFire 5307 processor support.
162
163 config M532x
164         bool "MCF532x"
165         help
166           Freescale (Motorola) ColdFire 532x processor support.
167
168 config M5407
169         bool "MCF5407"
170         help
171           Motorola ColdFire 5407 processor support.
172
173 endchoice
174
175 config M527x
176         bool
177         depends on (M5271 || M5275)
178         select GENERIC_CLOCKEVENTS
179         default y
180
181 config COLDFIRE
182         bool
183         depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 || M528x || M5307 || M532x || M5407)
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 4KSTACKS
530         bool "Use 4Kb for kernel stacks instead of 8Kb"
531         default y
532         help
533           If you say Y here the kernel will use a 4Kb stacksize for the
534           kernel stack attached to each process/thread. This facilitates
535           running more threads on a system and also reduces the pressure
536           on the VM subsystem for higher order allocations.
537
538 config HZ
539         int
540         default 1000 if CLEOPATRA
541         default 100
542
543 comment "RAM configuration"
544
545 config RAMBASE
546         hex "Address of the base of RAM"
547         default "0"
548         help
549           Define the address that RAM starts at. On many platforms this is
550           0, the base of the address space. And this is the default. Some
551           platforms choose to setup their RAM at other addresses within the
552           processor address space.
553
554 config RAMSIZE
555         hex "Size of RAM (in bytes)"
556         default "0x400000"
557         help
558           Define the size of the system RAM. If you select 0 then the
559           kernel will try to probe the RAM size at runtime. This is not
560           supported on all CPU types.
561
562 config VECTORBASE
563         hex "Address of the base of system vectors"
564         default "0"
565         help
566           Define the address of the system vectors. Commonly this is
567           put at the start of RAM, but it doesn't have to be. On ColdFire
568           platforms this address is programmed into the VBR register, thus
569           actually setting the address to use.
570
571 config KERNELBASE
572         hex "Address of the base of kernel code"
573         default "0x400"
574         help
575           Typically on m68k systems the kernel will not start at the base
576           of RAM, but usually some small offset from it. Define the start
577           address of the kernel here. The most common setup will have the
578           processor vectors at the base of RAM and then the start of the
579           kernel. On some platforms some RAM is reserved for boot loaders
580           and the kernel starts after that. The 0x400 default was based on
581           a system with the RAM based at address 0, and leaving enough room
582           for the theoretical maximum number of 256 vectors.
583
584 choice
585         prompt "RAM bus width"
586         default RAMAUTOBIT
587
588 config RAMAUTOBIT
589         bool "AUTO"
590         help
591           Select the physical RAM data bus size. Not needed on most platforms,
592           so you can generally choose AUTO.
593
594 config RAM8BIT
595         bool "8bit"
596         help
597           Configure RAM bus to be 8 bits wide.
598
599 config RAM16BIT
600         bool "16bit"
601         help
602           Configure RAM bus to be 16 bits wide.
603
604 config RAM32BIT
605         bool "32bit"
606         help
607           Configure RAM bus to be 32 bits wide.
608
609 endchoice
610
611 comment "ROM configuration"
612
613 config ROM
614         bool "Specify ROM linker regions"
615         default n
616         help
617           Define a ROM region for the linker script. This creates a kernel
618           that can be stored in flash, with possibly the text, and data
619           regions being copied out to RAM at startup.
620
621 config ROMBASE
622         hex "Address of the base of ROM device"
623         default "0"
624         depends on ROM
625         help
626           Define the address that the ROM region starts at. Some platforms
627           use this to set their chip select region accordingly for the boot
628           device.
629
630 config ROMVEC
631         hex "Address of the base of the ROM vectors"
632         default "0"
633         depends on ROM
634         help
635           This is almost always the same as the base of the ROM. Since on all
636           68000 type variants the vectors are at the base of the boot device
637           on system startup.
638
639 config ROMVECSIZE
640         hex "Size of ROM vector region (in bytes)"
641         default "0x400"
642         depends on ROM
643         help
644           Define the size of the vector region in ROM. For most 68000
645           variants this would be 0x400 bytes in size. Set to 0 if you do
646           not want a vector region at the start of the ROM.
647
648 config ROMSTART
649         hex "Address of the base of system image in ROM"
650         default "0x400"
651         depends on ROM
652         help
653           Define the start address of the system image in ROM. Commonly this
654           is strait after the ROM vectors.
655
656 config ROMSIZE
657         hex "Size of the ROM device"
658         default "0x100000"
659         depends on ROM
660         help
661           Size of the ROM device. On some platforms this is used to setup
662           the chip select that controls the boot ROM device.
663
664 choice
665         prompt "Kernel executes from"
666         ---help---
667           Choose the memory type that the kernel will be running in.
668
669 config RAMKERNEL
670         bool "RAM"
671         help
672           The kernel will be resident in RAM when running.
673
674 config ROMKERNEL
675         bool "ROM"
676         help
677           The kernel will be resident in FLASH/ROM when running. This is
678           often referred to as Execute-in-Place (XIP), since the kernel
679           code executes from the position it is stored in the FLASH/ROM.
680
681 endchoice
682
683 if COLDFIRE
684 source "kernel/Kconfig.preempt"
685 endif
686
687 source "kernel/time/Kconfig"
688
689 source "mm/Kconfig"
690
691 endmenu
692
693 config ISA_DMA_API
694         bool
695         depends on !M5272
696         default y
697
698 source "drivers/pcmcia/Kconfig"
699
700 menu "Executable file formats"
701
702 source "fs/Kconfig.binfmt"
703
704 endmenu
705
706 menu "Power management options"
707
708 config PM
709         bool "Power Management support"
710         help
711           Support processor power management modes
712
713 endmenu
714
715 source "net/Kconfig"
716
717 source "drivers/Kconfig"
718
719 source "fs/Kconfig"
720
721 source "arch/m68knommu/Kconfig.debug"
722
723 source "security/Kconfig"
724
725 source "crypto/Kconfig"
726
727 source "lib/Kconfig"