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