]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/m68knommu/Kconfig
m68knommu: Coldfire GPIO corrections
[net-next-2.6.git] / arch / m68knommu / Kconfig
CommitLineData
1da177e4
LT
1#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5
6mainmenu "uClinux/68k (w/o MMU) Kernel Configuration"
7
36a248fa 8config M68K
1da177e4
LT
9 bool
10 default y
ec7748b5 11 select HAVE_IDE
1da177e4
LT
12
13config MMU
14 bool
15 default n
16
e0212e72
AB
17config NO_DMA
18 bool
ec40f95d 19 depends on !COLDFIRE
e0212e72
AB
20 default y
21
1da177e4
LT
22config FPU
23 bool
24 default n
25
66701b14
CL
26config ZONE_DMA
27 bool
28 default y
29
1da177e4
LT
30config RWSEM_GENERIC_SPINLOCK
31 bool
32 default y
33
34config RWSEM_XCHGADD_ALGORITHM
35 bool
36 default n
37
f0d1b0b3
DH
38config ARCH_HAS_ILOG2_U32
39 bool
40 default n
41
42config ARCH_HAS_ILOG2_U64
43 bool
44 default n
45
d2d7cdcf
AM
46config GENERIC_FIND_NEXT_BIT
47 bool
48 default y
49
af39bb8b 50config GENERIC_GPIO
51 bool
52 default n
53
d2d7cdcf
AM
54config GENERIC_HWEIGHT
55 bool
56 default y
57
2502b667
GU
58config GENERIC_HARDIRQS
59 bool
60 default y
61
1da177e4
LT
62config GENERIC_CALIBRATE_DELAY
63 bool
64 default y
65
de0cc4e2
GU
66config GENERIC_TIME
67 bool
68 default y
69
95469bd6
SS
70config GENERIC_CMOS_UPDATE
71 bool
72 default y
73
06027bdd
IM
74config TIME_LOW_RES
75 bool
76 default y
77
2b9a6986
SS
78config GENERIC_CLOCKEVENTS
79 bool
80 default n
81
5ea81769
AV
82config NO_IOPORT
83 def_bool y
84
1da177e4
LT
85source "init/Kconfig"
86
dc52ddc0
MH
87source "kernel/Kconfig.freezer"
88
1da177e4
LT
89menu "Processor type and features"
90
91choice
92 prompt "CPU"
93 default M68EZ328
94
95config M68328
96 bool "MC68328"
97 help
98 Motorola 68328 processor support.
99
100config M68EZ328
101 bool "MC68EZ328"
102 help
103 Motorola 68EX328 processor support.
104
105config M68VZ328
106 bool "MC68VZ328"
107 help
108 Motorola 68VZ328 processor support.
109
110config M68360
111 bool "MC68360"
112 help
113 Motorola 68360 processor support.
114
115config M5206
116 bool "MCF5206"
117 help
118 Motorola ColdFire 5206 processor support.
119
120config M5206e
121 bool "MCF5206e"
122 help
123 Motorola ColdFire 5206e processor support.
124
4e51f674
GU
125config M520x
126 bool "MCF520x"
2b9a6986 127 select GENERIC_CLOCKEVENTS
4e51f674
GU
128 help
129 Freescale Coldfire 5207/5208 processor support.
130
5c4dbba9
GU
131config M523x
132 bool "MCF523x"
2b9a6986 133 select GENERIC_CLOCKEVENTS
5c4dbba9
GU
134 help
135 Freescale Coldfire 5230/1/2/4/5 processor support
136
1da177e4
LT
137config M5249
138 bool "MCF5249"
139 help
140 Motorola ColdFire 5249 processor support.
141
5c4dbba9
GU
142config M5271
143 bool "MCF5271"
1da177e4 144 help
5c4dbba9 145 Freescale (Motorola) ColdFire 5270/5271 processor support.
1da177e4
LT
146
147config M5272
148 bool "MCF5272"
149 help
150 Motorola ColdFire 5272 processor support.
151
5c4dbba9
GU
152config M5275
153 bool "MCF5275"
154 help
155 Freescale (Motorola) ColdFire 5274/5275 processor support.
156
1da177e4
LT
157config M528x
158 bool "MCF528x"
2b9a6986 159 select GENERIC_CLOCKEVENTS
1da177e4
LT
160 help
161 Motorola ColdFire 5280/5282 processor support.
162
163config M5307
164 bool "MCF5307"
165 help
166 Motorola ColdFire 5307 processor support.
167
5d36f8eb
GU
168config M532x
169 bool "MCF532x"
170 help
171 Freescale (Motorola) ColdFire 532x processor support.
172
1da177e4
LT
173config M5407
174 bool "MCF5407"
175 help
176 Motorola ColdFire 5407 processor support.
177
178endchoice
179
5c4dbba9
GU
180config M527x
181 bool
182 depends on (M5271 || M5275)
2b9a6986 183 select GENERIC_CLOCKEVENTS
5c4dbba9
GU
184 default y
185
1da177e4
LT
186config COLDFIRE
187 bool
5d36f8eb 188 depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 || M528x || M5307 || M532x || M5407)
af39bb8b 189 select GENERIC_GPIO
190 select ARCH_REQUIRE_GPIOLIB
1da177e4
LT
191 default y
192
e648cd26
GU
193config CLOCK_SET
194 bool "Enable setting the CPU clock frequency"
195 default n
1da177e4 196 help
e648cd26
GU
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
204config 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
44c09201
ML
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
e648cd26
GU
215 specific to the exact CPU that you are using.
216
217config 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
6869e940 225 frequency. If so then set this to the divider ratio of the
e648cd26 226 master clock to the peripheral clock. If not sure then select 1.
1da177e4
LT
227
228config 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
235comment "Platform"
236
237config 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
243config XCOPILOT_BUGS
6869e940 244 bool "(X)Copilot support"
1da177e4
LT
245 depends on PILOT3
246 help
247 Support the bugs of Xcopilot.
248
36995223
DW
249config 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
255config UC5282
256 bool "Arcturus Networks uC5282 board support"
257 depends on M528x
258 help
259 Support for the Arcturus Networks uC5282 dimm board.
260
1da177e4
LT
261config UCSIMM
262 bool "uCsimm module support"
263 depends on M68EZ328
264 help
265 Support for the Arcturus Networks uCsimm module.
266
267config UCDIMM
268 bool "uDsimm module support"
269 depends on M68VZ328
270 help
271 Support for the Arcturus Networks uDsimm module.
272
273config DRAGEN2
274 bool "DragenEngine II board support"
275 depends on M68VZ328
276 help
277 Support for the DragenEngine II board.
278
279config DIRECT_IO_ACCESS
6869e940 280 bool "Allow user to access IO directly"
1da177e4
LT
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
286config INIT_LCD
6869e940 287 bool "Initialize LCD"
1da177e4
LT
288 depends on (UCSIMM || UCDIMM || DRAGEN2)
289 help
290 Initialize the LCD controller of the 68x328 processor.
291
292config MEMORY_RESERVE
6869e940 293 int "Memory reservation (MiB)"
1da177e4
LT
294 depends on (UCSIMM || UCDIMM)
295 help
296 Reserve certain memory regions on 68x328 based boards.
297
298config UCQUICC
299 bool "Lineo uCquicc board support"
300 depends on M68360
301 help
302 Support for the Lineo uCquicc board.
303
304config ARN5206
305 bool "Arnewsh 5206 board support"
306 depends on M5206
307 help
308 Support for the Arnewsh 5206 board.
309
310config M5206eC3
311 bool "Motorola M5206eC3 board support"
312 depends on M5206e
313 help
314 Support for the Motorola M5206eC3 board.
315
316config ELITE
317 bool "Motorola M5206eLITE board support"
318 depends on M5206e
319 help
320 Support for the Motorola M5206eLITE board.
321
4e51f674
GU
322config M5208EVB
323 bool "Freescale M5208EVB board support"
324 depends on M520x
325 help
326 Support for the Freescale Coldfire M5208EVB.
327
5c4dbba9
GU
328config M5235EVB
329 bool "Freescale M5235EVB support"
330 depends on M523x
331 help
332 Support for the Freescale M5235EVB board.
333
1da177e4
LT
334config M5249C3
335 bool "Motorola M5249C3 board support"
336 depends on M5249
337 help
338 Support for the Motorola M5249C3 board.
339
340config M5271EVB
341 bool "Freescale (Motorola) M5271EVB board support"
5c4dbba9 342 depends on M5271
1da177e4
LT
343 help
344 Support for the Freescale (Motorola) M5271EVB board.
345
346config M5275EVB
347 bool "Freescale (Motorola) M5275EVB board support"
5c4dbba9 348 depends on M5275
1da177e4
LT
349 help
350 Support for the Freescale (Motorola) M5275EVB board.
351
352config M5272C3
353 bool "Motorola M5272C3 board support"
354 depends on M5272
355 help
356 Support for the Motorola M5272C3 board.
357
358config COBRA5272
359 bool "senTec COBRA5272 board support"
360 depends on M5272
361 help
362 Support for the senTec COBRA5272 board.
363
04860bd2
GU
364config AVNET5282
365 bool "Avnet 5282 board support"
366 depends on M528x
367 help
368 Support for the Avnet 5282 board.
369
1da177e4
LT
370config M5282EVB
371 bool "Motorola M5282EVB board support"
372 depends on M528x
373 help
374 Support for the Motorola M5282EVB board.
375
376config COBRA5282
377 bool "senTec COBRA5282 board support"
378 depends on M528x
379 help
380 Support for the senTec COBRA5282 board.
5c4dbba9
GU
381
382config SOM5282EM
383 bool "EMAC.Inc SOM5282EM board support"
384 depends on M528x
385 help
386 Support for the EMAC.Inc SOM5282EM module.
906a2621
GU
387
388config WILDFIRE
389 bool "Intec Automation Inc. WildFire board support"
390 depends on M528x
391 help
392 Support for the Intec Automation Inc. WildFire.
393
394config WILDFIREMOD
395 bool "Intec Automation Inc. WildFire module support"
396 depends on M528x
397 help
398 Support for the Intec Automation Inc. WildFire module.
1da177e4
LT
399
400config ARN5307
401 bool "Arnewsh 5307 board support"
402 depends on M5307
403 help
404 Support for the Arnewsh 5307 board.
405
406config M5307C3
407 bool "Motorola M5307C3 board support"
408 depends on M5307
409 help
410 Support for the Motorola M5307C3 board.
411
1da177e4
LT
412config SECUREEDGEMP3
413 bool "SnapGear SecureEdge/MP3 platform support"
414 depends on M5307
415 help
416 Support for the SnapGear SecureEdge/MP3 platform.
417
5d36f8eb
GU
418config M5329EVB
419 bool "Freescale (Motorola) M5329EVB board support"
420 depends on M532x
421 help
422 Support for the Freescale (Motorola) M5329EVB board.
423
424config COBRA5329
425 bool "senTec COBRA5329 board support"
426 depends on M532x
427 help
428 Support for the senTec COBRA5329 board.
429
1da177e4
LT
430config M5407C3
431 bool "Motorola M5407C3 board support"
432 depends on M5407
433 help
434 Support for the Motorola M5407C3 board.
435
436config CLEOPATRA
437 bool "Feith CLEOPATRA board support"
438 depends on (M5307 || M5407)
439 help
440 Support for the Feith Cleopatra boards.
441
442config CANCam
443 bool "Feith CANCam board support"
444 depends on M5272
445 help
446 Support for the Feith CANCam board.
447
448config SCALES
449 bool "Feith SCALES board support"
450 depends on M5272
451 help
452 Support for the Feith SCALES board.
453
454config 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
460config SNAPGEAR
461 bool "SnapGear router board support"
462 depends on NETtel
463 help
464 Special additional support for SnapGear router boards.
465
466config CPU16B
467 bool "Sneha Technologies S.L. Sarasvati board support"
468 depends on M5272
469 help
470 Support for the SNEHA CPU16B board.
471
5c4dbba9
GU
472config MOD5272
473 bool "Netburner MOD-5272 board support"
474 depends on M5272
475 help
476 Support for the Netburner MOD-5272 board.
477
c1057c65
WC
478config SAVANTrosie1
479 bool "Savant Rosie1 board support"
480 depends on M523x
481 help
482 Support for the Savant Rosie1 board.
483
1da177e4 484config ROMFS_FROM_ROM
6869e940 485 bool "ROMFS image not RAM resident"
1da177e4
LT
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
491config PILOT
492 bool
493 default y
494 depends on (PILOT3 || PILOT5)
495
496config ARNEWSH
497 bool
498 default y
499 depends on (ARN5206 || ARN5307)
500
4e51f674 501config FREESCALE
1da177e4
LT
502 bool
503 default y
5d36f8eb 504 depends on (M5206eC3 || M5208EVB || M5235EVB || M5249C3 || M5271EVB || M5272C3 || M5275EVB || M5282EVB || M5307C3 || M5329EVB || M5407C3)
1da177e4
LT
505
506config HW_FEITH
507 bool
508 default y
509 depends on (CLEOPATRA || CANCam || SCALES)
510
511config senTec
512 bool
513 default y
514 depends on (COBRA5272 || COBRA5282)
5c4dbba9
GU
515
516config EMAC_INC
517 bool
518 default y
519 depends on (SOM5282EM)
1da177e4
LT
520
521config SNEHA
522 bool
523 default y
524 depends on CPU16B
c1057c65
WC
525
526config SAVANT
527 bool
528 default y
529 depends on SAVANTrosie1
530
04860bd2
GU
531config AVNET
532 bool
533 default y
534 depends on (AVNET5282)
1da177e4 535
5c4dbba9
GU
536config 4KSTACKS
537 bool "Use 4Kb for kernel stacks instead of 8Kb"
538 default y
539 help
540 If you say Y here the kernel will use a 4Kb stacksize for the
541 kernel stack attached to each process/thread. This facilitates
542 running more threads on a system and also reduces the pressure
543 on the VM subsystem for higher order allocations.
544
bdc80787
PA
545config HZ
546 int
547 default 1000 if CLEOPATRA
548 default 100
549
63e413d1
GU
550comment "RAM configuration"
551
552config RAMBASE
553 hex "Address of the base of RAM"
554 default "0"
555 help
556 Define the address that RAM starts at. On many platforms this is
557 0, the base of the address space. And this is the default. Some
558 platforms choose to setup their RAM at other addresses within the
559 processor address space.
560
561config RAMSIZE
562 hex "Size of RAM (in bytes)"
563 default "0x400000"
564 help
565 Define the size of the system RAM. If you select 0 then the
566 kernel will try to probe the RAM size at runtime. This is not
567 supported on all CPU types.
568
569config VECTORBASE
570 hex "Address of the base of system vectors"
571 default "0"
572 help
4b3f686d 573 Define the address of the system vectors. Commonly this is
63e413d1
GU
574 put at the start of RAM, but it doesn't have to be. On ColdFire
575 platforms this address is programmed into the VBR register, thus
576 actually setting the address to use.
577
578config KERNELBASE
579 hex "Address of the base of kernel code"
580 default "0x400"
581 help
582 Typically on m68k systems the kernel will not start at the base
583 of RAM, but usually some small offset from it. Define the start
584 address of the kernel here. The most common setup will have the
585 processor vectors at the base of RAM and then the start of the
586 kernel. On some platforms some RAM is reserved for boot loaders
587 and the kernel starts after that. The 0x400 default was based on
588 a system with the RAM based at address 0, and leaving enough room
589 for the theoretical maximum number of 256 vectors.
1da177e4
LT
590
591choice
592 prompt "RAM bus width"
593 default RAMAUTOBIT
594
595config RAMAUTOBIT
596 bool "AUTO"
63e413d1 597 help
1da177e4
LT
598 Select the physical RAM data bus size. Not needed on most platforms,
599 so you can generally choose AUTO.
600
601config RAM8BIT
602 bool "8bit"
603 help
604 Configure RAM bus to be 8 bits wide.
605
606config RAM16BIT
607 bool "16bit"
608 help
609 Configure RAM bus to be 16 bits wide.
610
611config RAM32BIT
612 bool "32bit"
613 help
614 Configure RAM bus to be 32 bits wide.
615
616endchoice
617
c750a012
GU
618comment "ROM configuration"
619
620config ROM
621 bool "Specify ROM linker regions"
622 default n
623 help
624 Define a ROM region for the linker script. This creates a kernel
625 that can be stored in flash, with possibly the text, and data
626 regions being copied out to RAM at startup.
627
628config ROMBASE
629 hex "Address of the base of ROM device"
630 default "0"
631 depends on ROM
632 help
633 Define the address that the ROM region starts at. Some platforms
634 use this to set their chip select region accordingly for the boot
635 device.
636
637config ROMVEC
638 hex "Address of the base of the ROM vectors"
639 default "0"
640 depends on ROM
641 help
642 This is almost always the same as the base of the ROM. Since on all
3cb2fccc 643 68000 type variants the vectors are at the base of the boot device
c750a012
GU
644 on system startup.
645
646config ROMVECSIZE
647 hex "Size of ROM vector region (in bytes)"
648 default "0x400"
649 depends on ROM
650 help
651 Define the size of the vector region in ROM. For most 68000
3cb2fccc 652 variants this would be 0x400 bytes in size. Set to 0 if you do
c750a012
GU
653 not want a vector region at the start of the ROM.
654
655config ROMSTART
656 hex "Address of the base of system image in ROM"
657 default "0x400"
658 depends on ROM
659 help
660 Define the start address of the system image in ROM. Commonly this
661 is strait after the ROM vectors.
662
663config ROMSIZE
664 hex "Size of the ROM device"
665 default "0x100000"
666 depends on ROM
667 help
668 Size of the ROM device. On some platforms this is used to setup
669 the chip select that controls the boot ROM device.
670
1da177e4
LT
671choice
672 prompt "Kernel executes from"
673 ---help---
674 Choose the memory type that the kernel will be running in.
675
676config RAMKERNEL
677 bool "RAM"
678 help
679 The kernel will be resident in RAM when running.
680
681config ROMKERNEL
682 bool "ROM"
683 help
63e413d1
GU
684 The kernel will be resident in FLASH/ROM when running. This is
685 often referred to as Execute-in-Place (XIP), since the kernel
686 code executes from the position it is stored in the FLASH/ROM.
1da177e4
LT
687
688endchoice
689
78f508ab
SS
690if COLDFIRE
691source "kernel/Kconfig.preempt"
692endif
2b9a6986
SS
693
694source "kernel/time/Kconfig"
695
3f22ab27
DH
696source "mm/Kconfig"
697
1da177e4
LT
698endmenu
699
5cae841b
AV
700config ISA_DMA_API
701 bool
702 depends on !M5272
703 default y
704
1da177e4
LT
705source "drivers/pcmcia/Kconfig"
706
1da177e4
LT
707menu "Executable file formats"
708
709source "fs/Kconfig.binfmt"
710
711endmenu
712
713menu "Power management options"
714
715config PM
716 bool "Power Management support"
717 help
718 Support processor power management modes
719
720endmenu
721
d5950b43
SR
722source "net/Kconfig"
723
1da177e4
LT
724source "drivers/Kconfig"
725
726source "fs/Kconfig"
727
728source "arch/m68knommu/Kconfig.debug"
729
730source "security/Kconfig"
731
732source "crypto/Kconfig"
733
734source "lib/Kconfig"