0a8998315e5ed9fcdada66d87c5ee1127e35b9ac
[safe/jmp/linux-2.6] / 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 FPU
18         bool
19         default n
20
21 config ZONE_DMA
22         bool
23         default y
24
25 config RWSEM_GENERIC_SPINLOCK
26         bool
27         default y
28
29 config RWSEM_XCHGADD_ALGORITHM
30         bool
31         default n
32
33 config ARCH_HAS_ILOG2_U32
34         bool
35         default n
36
37 config ARCH_HAS_ILOG2_U64
38         bool
39         default n
40
41 config GENERIC_FIND_NEXT_BIT
42         bool
43         default y
44
45 config GENERIC_HWEIGHT
46         bool
47         default y
48
49 config GENERIC_HARDIRQS
50         bool
51         default y
52
53 config GENERIC_CALIBRATE_DELAY
54         bool
55         default y
56
57 config GENERIC_TIME
58         bool
59         default y
60
61 config GENERIC_CMOS_UPDATE
62         bool
63         default y
64
65 config TIME_LOW_RES
66         bool
67         default y
68
69 config GENERIC_CLOCKEVENTS
70         bool
71         default n
72
73 config NO_IOPORT
74         def_bool y
75
76 source "init/Kconfig"
77
78 menu "Processor type and features"
79
80 choice
81         prompt "CPU"
82         default M68EZ328
83
84 config M68328
85         bool "MC68328"
86         help
87           Motorola 68328 processor support.
88
89 config M68EZ328
90         bool "MC68EZ328"
91         help
92           Motorola 68EX328 processor support.
93
94 config M68VZ328
95         bool "MC68VZ328"
96         help
97           Motorola 68VZ328 processor support.
98
99 config M68360
100         bool "MC68360"
101         help
102           Motorola 68360 processor support.
103
104 config M5206
105         bool "MCF5206"
106         help
107           Motorola ColdFire 5206 processor support.
108
109 config M5206e
110         bool "MCF5206e"
111         help
112           Motorola ColdFire 5206e processor support.
113
114 config M520x
115         bool "MCF520x"
116         select GENERIC_CLOCKEVENTS
117         help
118            Freescale Coldfire 5207/5208 processor support.
119
120 config M523x
121         bool "MCF523x"
122         select GENERIC_CLOCKEVENTS
123         help
124           Freescale Coldfire 5230/1/2/4/5 processor support
125
126 config M5249
127         bool "MCF5249"
128         help
129           Motorola ColdFire 5249 processor support.
130
131 config M5271
132         bool "MCF5271"
133         help
134           Freescale (Motorola) ColdFire 5270/5271 processor support.
135
136 config M5272
137         bool "MCF5272"
138         help
139           Motorola ColdFire 5272 processor support.
140
141 config M5275
142         bool "MCF5275"
143         help
144           Freescale (Motorola) ColdFire 5274/5275 processor support.
145
146 config M528x
147         bool "MCF528x"
148         select GENERIC_CLOCKEVENTS
149         help
150           Motorola ColdFire 5280/5282 processor support.
151
152 config M5307
153         bool "MCF5307"
154         help
155           Motorola ColdFire 5307 processor support.
156
157 config M532x
158         bool "MCF532x"
159         help
160           Freescale (Motorola) ColdFire 532x processor support.
161
162 config M5407
163         bool "MCF5407"
164         help
165           Motorola ColdFire 5407 processor support.
166
167 endchoice
168
169 config M527x
170         bool
171         depends on (M5271 || M5275)
172         select GENERIC_CLOCKEVENTS
173         default y
174
175 config COLDFIRE
176         bool
177         depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 || M528x || M5307 || M532x || M5407)
178         default y
179
180 config CLOCK_SET
181         bool "Enable setting the CPU clock frequency"
182         default n
183         help
184           On some CPU's you do not need to know what the core CPU clock
185           frequency is. On these you can disable clock setting. On some
186           traditional 68K parts, and on all ColdFire parts you need to set
187           the appropriate CPU clock frequency. On these devices many of the
188           onboard peripherals derive their timing from the master CPU clock
189           frequency.
190
191 config CLOCK_FREQ
192         int "Set the core clock frequency"
193         default "66666666"
194         depends on CLOCK_SET
195         help
196           Define the CPU clock frequency in use. This is the core clock
197           frequency, it may or may not be the same as the external clock
198           crystal fitted to your board. Some processors have an internal
199           PLL and can have their frequency programmed at run time, others
200           use internal dividers. In general the kernel won't setup a PLL
201           if it is fitted (there are some exceptions). This value will be
202           specific to the exact CPU that you are using.
203
204 config CLOCK_DIV
205         int "Set the core/bus clock divide ratio"
206         default "1"
207         depends on CLOCK_SET
208         help
209           On many SoC style CPUs the master CPU clock is also used to drive 
210           on-chip peripherals. The clock that is distributed to these
211           peripherals is sometimes a fixed ratio of the master clock
212           frequency. If so then set this to the divider ratio of the
213           master clock to the peripheral clock. If not sure then select 1.
214
215 config OLDMASK
216         bool "Old mask 5307 (1H55J) silicon"
217         depends on M5307
218         help
219           Build support for the older revision ColdFire 5307 silicon.
220           Specifically this is the 1H55J mask revision.
221
222 comment "Platform"
223
224 config PILOT3
225         bool "Pilot 1000/5000, PalmPilot Personal/Pro, or PalmIII support"
226         depends on M68328
227         help
228           Support for the Palm Pilot 1000/5000, Personal/Pro and PalmIII.
229
230 config XCOPILOT_BUGS
231         bool "(X)Copilot support"
232         depends on PILOT3
233         help
234           Support the bugs of Xcopilot.
235
236 config UC5272
237         bool 'Arcturus Networks uC5272 dimm board support'
238         depends on M5272
239         help
240           Support for the Arcturus Networks uC5272 dimm board.
241
242 config UC5282
243        bool "Arcturus Networks uC5282 board support"
244           depends on M528x
245        help
246           Support for the Arcturus Networks uC5282 dimm board.
247
248 config UCSIMM
249         bool "uCsimm module support"
250         depends on M68EZ328
251         help
252           Support for the Arcturus Networks uCsimm module.
253
254 config UCDIMM
255         bool "uDsimm module support"
256         depends on M68VZ328
257         help
258           Support for the Arcturus Networks uDsimm module.
259
260 config DRAGEN2
261         bool "DragenEngine II board support"
262         depends on M68VZ328
263         help
264           Support for the DragenEngine II board.
265
266 config DIRECT_IO_ACCESS
267         bool "Allow user to access IO directly"
268         depends on (UCSIMM || UCDIMM || DRAGEN2)
269         help
270           Disable the CPU internal registers protection in user mode,
271           to allow a user application to read/write them.
272
273 config INIT_LCD
274         bool "Initialize LCD"
275         depends on (UCSIMM || UCDIMM || DRAGEN2)
276         help
277           Initialize the LCD controller of the 68x328 processor.
278
279 config MEMORY_RESERVE
280         int "Memory reservation (MiB)"
281         depends on (UCSIMM || UCDIMM)
282         help
283           Reserve certain memory regions on 68x328 based boards.
284
285 config UCQUICC
286         bool "Lineo uCquicc board support"
287         depends on M68360
288         help
289           Support for the Lineo uCquicc board.
290
291 config ARN5206
292         bool "Arnewsh 5206 board support"
293         depends on M5206
294         help
295           Support for the Arnewsh 5206 board.
296
297 config M5206eC3
298         bool "Motorola M5206eC3 board support"
299         depends on M5206e
300         help
301           Support for the Motorola M5206eC3 board.
302
303 config ELITE
304         bool "Motorola M5206eLITE board support"
305         depends on M5206e
306         help
307           Support for the Motorola M5206eLITE board.
308
309 config M5208EVB
310         bool "Freescale M5208EVB board support"
311         depends on M520x
312         help
313           Support for the Freescale Coldfire M5208EVB.
314
315 config M5235EVB
316         bool "Freescale M5235EVB support"
317         depends on M523x
318         help
319           Support for the Freescale M5235EVB board.
320
321 config M5249C3
322         bool "Motorola M5249C3 board support"
323         depends on M5249
324         help
325           Support for the Motorola M5249C3 board.
326
327 config M5271EVB
328         bool "Freescale (Motorola) M5271EVB board support"
329         depends on M5271
330         help
331           Support for the Freescale (Motorola) M5271EVB board.
332
333 config M5275EVB
334         bool "Freescale (Motorola) M5275EVB board support"
335         depends on M5275
336         help
337           Support for the Freescale (Motorola) M5275EVB board.
338
339 config M5272C3
340         bool "Motorola M5272C3 board support"
341         depends on M5272
342         help
343           Support for the Motorola M5272C3 board.
344
345 config COBRA5272
346         bool "senTec COBRA5272 board support"
347         depends on M5272
348         help
349           Support for the senTec COBRA5272 board.
350
351 config AVNET5282
352         bool "Avnet 5282 board support"
353         depends on M528x
354         help
355           Support for the Avnet 5282 board.  
356           
357 config M5282EVB
358         bool "Motorola M5282EVB board support"
359         depends on M528x
360         help
361           Support for the Motorola M5282EVB board.
362
363 config COBRA5282
364         bool "senTec COBRA5282 board support"
365         depends on M528x
366         help
367           Support for the senTec COBRA5282 board.
368           
369 config SOM5282EM
370         bool "EMAC.Inc SOM5282EM board support"
371         depends on M528x
372         help
373           Support for the EMAC.Inc SOM5282EM module.  
374           
375 config WILDFIRE
376         bool "Intec Automation Inc. WildFire board support"
377         depends on M528x
378         help
379           Support for the Intec Automation Inc. WildFire.
380           
381 config WILDFIREMOD
382         bool "Intec Automation Inc. WildFire module support"
383         depends on M528x
384         help
385           Support for the Intec Automation Inc. WildFire module.
386
387 config ARN5307
388         bool "Arnewsh 5307 board support"
389         depends on M5307
390         help
391           Support for the Arnewsh 5307 board.
392
393 config M5307C3
394         bool "Motorola M5307C3 board support"
395         depends on M5307
396         help
397           Support for the Motorola M5307C3 board.
398
399 config eLIA
400         bool "Moreton Bay eLIA board support"
401         depends on M5307
402         help
403           Support for the Moreton Bay eLIA 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 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
699
700 config PCI
701         bool "PCI support"
702         help
703           Support for PCI bus.
704
705 config COMEMPCI
706         bool "CO-MEM lite PCI controller support"
707         depends on (M5307 || M5407)
708
709 source "drivers/pci/Kconfig"
710
711 source "drivers/pcmcia/Kconfig"
712
713 source "drivers/pci/hotplug/Kconfig"
714
715 endmenu
716
717 menu "Executable file formats"
718
719 source "fs/Kconfig.binfmt"
720
721 endmenu
722
723 menu "Power management options"
724
725 config PM
726         bool "Power Management support"
727         help
728           Support processor power management modes
729
730 endmenu
731
732 source "net/Kconfig"
733
734 source "drivers/Kconfig"
735
736 source "fs/Kconfig"
737
738 source "arch/m68knommu/Kconfig.debug"
739
740 source "security/Kconfig"
741
742 source "crypto/Kconfig"
743
744 source "lib/Kconfig"