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