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