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