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