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