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