blob: e767f2ddae72a0ca59dabb0e6e16bbfcc8ea11e7 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
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
Greg Ungerer36a248f2006-06-26 10:33:10 +10008config M68K
Linus Torvalds1da177e2005-04-16 15:20:36 -07009 bool
10 default y
11
12config MMU
13 bool
14 default n
15
16config FPU
17 bool
18 default n
19
Linus Torvalds1da177e2005-04-16 15:20:36 -070020config RWSEM_GENERIC_SPINLOCK
21 bool
22 default y
23
24config RWSEM_XCHGADD_ALGORITHM
25 bool
26 default n
27
Akinobu Mitad2d7cdc2006-03-26 01:39:29 -080028config GENERIC_FIND_NEXT_BIT
29 bool
30 default y
31
32config GENERIC_HWEIGHT
33 bool
34 default y
35
Linus Torvalds1da177e2005-04-16 15:20:36 -070036config GENERIC_CALIBRATE_DELAY
37 bool
38 default y
39
Ingo Molnar06027bd2006-02-14 13:53:15 -080040config TIME_LOW_RES
41 bool
42 default y
43
Linus Torvalds1da177e2005-04-16 15:20:36 -070044source "init/Kconfig"
45
46menu "Processor type and features"
47
48choice
49 prompt "CPU"
50 default M68EZ328
51
52config M68328
53 bool "MC68328"
54 help
55 Motorola 68328 processor support.
56
57config M68EZ328
58 bool "MC68EZ328"
59 help
60 Motorola 68EX328 processor support.
61
62config M68VZ328
63 bool "MC68VZ328"
64 help
65 Motorola 68VZ328 processor support.
66
67config M68360
68 bool "MC68360"
69 help
70 Motorola 68360 processor support.
71
72config M5206
73 bool "MCF5206"
74 help
75 Motorola ColdFire 5206 processor support.
76
77config M5206e
78 bool "MCF5206e"
79 help
80 Motorola ColdFire 5206e processor support.
81
Greg Ungerer4e51f672005-11-07 14:09:50 +100082config M520x
83 bool "MCF520x"
84 help
85 Freescale Coldfire 5207/5208 processor support.
86
Greg Ungerer5c4dbba2005-09-02 10:42:52 +100087config M523x
88 bool "MCF523x"
89 help
90 Freescale Coldfire 5230/1/2/4/5 processor support
91
Linus Torvalds1da177e2005-04-16 15:20:36 -070092config M5249
93 bool "MCF5249"
94 help
95 Motorola ColdFire 5249 processor support.
96
Greg Ungerer5c4dbba2005-09-02 10:42:52 +100097config M5271
98 bool "MCF5271"
Linus Torvalds1da177e2005-04-16 15:20:36 -070099 help
Greg Ungerer5c4dbba2005-09-02 10:42:52 +1000100 Freescale (Motorola) ColdFire 5270/5271 processor support.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700101
102config M5272
103 bool "MCF5272"
104 help
105 Motorola ColdFire 5272 processor support.
106
Greg Ungerer5c4dbba2005-09-02 10:42:52 +1000107config M5275
108 bool "MCF5275"
109 help
110 Freescale (Motorola) ColdFire 5274/5275 processor support.
111
Linus Torvalds1da177e2005-04-16 15:20:36 -0700112config M528x
113 bool "MCF528x"
114 help
115 Motorola ColdFire 5280/5282 processor support.
116
117config M5307
118 bool "MCF5307"
119 help
120 Motorola ColdFire 5307 processor support.
121
Greg Ungerer5d36f8e2006-06-26 10:45:45 +1000122config M532x
123 bool "MCF532x"
124 help
125 Freescale (Motorola) ColdFire 532x processor support.
126
Linus Torvalds1da177e2005-04-16 15:20:36 -0700127config M5407
128 bool "MCF5407"
129 help
130 Motorola ColdFire 5407 processor support.
131
132endchoice
133
Greg Ungerer5c4dbba2005-09-02 10:42:52 +1000134config M527x
135 bool
136 depends on (M5271 || M5275)
137 default y
138
Linus Torvalds1da177e2005-04-16 15:20:36 -0700139config COLDFIRE
140 bool
Greg Ungerer5d36f8e2006-06-26 10:45:45 +1000141 depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 || M528x || M5307 || M532x || M5407)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700142 default y
143
Greg Ungerere648cd22006-06-26 10:55:36 +1000144config CLOCK_SET
145 bool "Enable setting the CPU clock frequency"
146 default n
Linus Torvalds1da177e2005-04-16 15:20:36 -0700147 help
Greg Ungerere648cd22006-06-26 10:55:36 +1000148 On some CPU's you do not need to know what the core CPU clock
149 frequency is. On these you can disable clock setting. On some
150 traditional 68K parts, and on all ColdFire parts you need to set
151 the appropriate CPU clock frequency. On these devices many of the
152 onboard peripherals derive their timing from the master CPU clock
153 frequency.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700154
Greg Ungerere648cd22006-06-26 10:55:36 +1000155config CLOCK_FREQ
156 int "Set the core clock frequency"
157 default "66666666"
158 depends on CLOCK_SET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700159 help
Greg Ungerere648cd22006-06-26 10:55:36 +1000160 Define the CPU clock frequency in use. This is the core clock
161 frequency, it may or may not be the same as the external clock
162 crystal fitted to your board. Some processors have an internal
163 PLL and can have their frequency programmed at run time, others
164 use internal dividers. In gernal the kernel won't setup a PLL
165 if it is fitted (there are some expections). This value will be
166 specific to the exact CPU that you are using.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700167
Greg Ungerere648cd22006-06-26 10:55:36 +1000168config CLOCK_DIV
169 int "Set the core/bus clock divide ratio"
170 default "1"
171 depends on CLOCK_SET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700172 help
Greg Ungerere648cd22006-06-26 10:55:36 +1000173 On many SoC style CPUs the master CPU clock is also used to drive
174 on-chip peripherals. The clock that is distributed to these
175 peripherals is sometimes a fixed ratio of the master clock
176 frequency. If so then set this to the divider ration of the
177 master clock to the peripheral clock. If not sure then select 1.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700178
179config OLDMASK
180 bool "Old mask 5307 (1H55J) silicon"
181 depends on M5307
182 help
183 Build support for the older revision ColdFire 5307 silicon.
184 Specifically this is the 1H55J mask revision.
185
186comment "Platform"
187
188config PILOT3
189 bool "Pilot 1000/5000, PalmPilot Personal/Pro, or PalmIII support"
190 depends on M68328
191 help
192 Support for the Palm Pilot 1000/5000, Personal/Pro and PalmIII.
193
194config XCOPILOT_BUGS
195 bool " (X)Copilot support"
196 depends on PILOT3
197 help
198 Support the bugs of Xcopilot.
199
200config UCSIMM
201 bool "uCsimm module support"
202 depends on M68EZ328
203 help
204 Support for the Arcturus Networks uCsimm module.
205
206config UCDIMM
207 bool "uDsimm module support"
208 depends on M68VZ328
209 help
210 Support for the Arcturus Networks uDsimm module.
211
212config DRAGEN2
213 bool "DragenEngine II board support"
214 depends on M68VZ328
215 help
216 Support for the DragenEngine II board.
217
218config DIRECT_IO_ACCESS
219 bool " Allow user to access IO directly"
220 depends on (UCSIMM || UCDIMM || DRAGEN2)
221 help
222 Disable the CPU internal registers protection in user mode,
223 to allow a user application to read/write them.
224
225config INIT_LCD
226 bool " Initialize LCD"
227 depends on (UCSIMM || UCDIMM || DRAGEN2)
228 help
229 Initialize the LCD controller of the 68x328 processor.
230
231config MEMORY_RESERVE
232 int " Memory reservation (MiB)"
233 depends on (UCSIMM || UCDIMM)
234 help
235 Reserve certain memory regions on 68x328 based boards.
236
237config UCQUICC
238 bool "Lineo uCquicc board support"
239 depends on M68360
240 help
241 Support for the Lineo uCquicc board.
242
243config ARN5206
244 bool "Arnewsh 5206 board support"
245 depends on M5206
246 help
247 Support for the Arnewsh 5206 board.
248
249config M5206eC3
250 bool "Motorola M5206eC3 board support"
251 depends on M5206e
252 help
253 Support for the Motorola M5206eC3 board.
254
255config ELITE
256 bool "Motorola M5206eLITE board support"
257 depends on M5206e
258 help
259 Support for the Motorola M5206eLITE board.
260
Greg Ungerer4e51f672005-11-07 14:09:50 +1000261config M5208EVB
262 bool "Freescale M5208EVB board support"
263 depends on M520x
264 help
265 Support for the Freescale Coldfire M5208EVB.
266
Greg Ungerer5c4dbba2005-09-02 10:42:52 +1000267config M5235EVB
268 bool "Freescale M5235EVB support"
269 depends on M523x
270 help
271 Support for the Freescale M5235EVB board.
272
Linus Torvalds1da177e2005-04-16 15:20:36 -0700273config M5249C3
274 bool "Motorola M5249C3 board support"
275 depends on M5249
276 help
277 Support for the Motorola M5249C3 board.
278
279config M5271EVB
280 bool "Freescale (Motorola) M5271EVB board support"
Greg Ungerer5c4dbba2005-09-02 10:42:52 +1000281 depends on M5271
Linus Torvalds1da177e2005-04-16 15:20:36 -0700282 help
283 Support for the Freescale (Motorola) M5271EVB board.
284
285config M5275EVB
286 bool "Freescale (Motorola) M5275EVB board support"
Greg Ungerer5c4dbba2005-09-02 10:42:52 +1000287 depends on M5275
Linus Torvalds1da177e2005-04-16 15:20:36 -0700288 help
289 Support for the Freescale (Motorola) M5275EVB board.
290
291config M5272C3
292 bool "Motorola M5272C3 board support"
293 depends on M5272
294 help
295 Support for the Motorola M5272C3 board.
296
297config COBRA5272
298 bool "senTec COBRA5272 board support"
299 depends on M5272
300 help
301 Support for the senTec COBRA5272 board.
302
Greg Ungerer04860bd2006-06-26 10:47:13 +1000303config AVNET5282
304 bool "Avnet 5282 board support"
305 depends on M528x
306 help
307 Support for the Avnet 5282 board.
308
Linus Torvalds1da177e2005-04-16 15:20:36 -0700309config M5282EVB
310 bool "Motorola M5282EVB board support"
311 depends on M528x
312 help
313 Support for the Motorola M5282EVB board.
314
315config COBRA5282
316 bool "senTec COBRA5282 board support"
317 depends on M528x
318 help
319 Support for the senTec COBRA5282 board.
Greg Ungerer5c4dbba2005-09-02 10:42:52 +1000320
321config SOM5282EM
322 bool "EMAC.Inc SOM5282EM board support"
323 depends on M528x
324 help
325 Support for the EMAC.Inc SOM5282EM module.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700326
327config ARN5307
328 bool "Arnewsh 5307 board support"
329 depends on M5307
330 help
331 Support for the Arnewsh 5307 board.
332
333config M5307C3
334 bool "Motorola M5307C3 board support"
335 depends on M5307
336 help
337 Support for the Motorola M5307C3 board.
338
339config eLIA
340 bool "Moreton Bay eLIA board support"
341 depends on M5307
342 help
343 Support for the Moreton Bay eLIA board.
344
345config SECUREEDGEMP3
346 bool "SnapGear SecureEdge/MP3 platform support"
347 depends on M5307
348 help
349 Support for the SnapGear SecureEdge/MP3 platform.
350
Greg Ungerer5d36f8e2006-06-26 10:45:45 +1000351config M5329EVB
352 bool "Freescale (Motorola) M5329EVB board support"
353 depends on M532x
354 help
355 Support for the Freescale (Motorola) M5329EVB board.
356
357config COBRA5329
358 bool "senTec COBRA5329 board support"
359 depends on M532x
360 help
361 Support for the senTec COBRA5329 board.
362
Linus Torvalds1da177e2005-04-16 15:20:36 -0700363config M5407C3
364 bool "Motorola M5407C3 board support"
365 depends on M5407
366 help
367 Support for the Motorola M5407C3 board.
368
369config CLEOPATRA
370 bool "Feith CLEOPATRA board support"
371 depends on (M5307 || M5407)
372 help
373 Support for the Feith Cleopatra boards.
374
375config CANCam
376 bool "Feith CANCam board support"
377 depends on M5272
378 help
379 Support for the Feith CANCam board.
380
381config SCALES
382 bool "Feith SCALES board support"
383 depends on M5272
384 help
385 Support for the Feith SCALES board.
386
387config NETtel
388 bool "SecureEdge/NETtel board support"
389 depends on (M5206e || M5272 || M5307)
390 help
391 Support for the SnapGear NETtel/SecureEdge/SnapGear boards.
392
393config SNAPGEAR
394 bool "SnapGear router board support"
395 depends on NETtel
396 help
397 Special additional support for SnapGear router boards.
398
399config CPU16B
400 bool "Sneha Technologies S.L. Sarasvati board support"
401 depends on M5272
402 help
403 Support for the SNEHA CPU16B board.
404
Greg Ungerer5c4dbba2005-09-02 10:42:52 +1000405config MOD5272
406 bool "Netburner MOD-5272 board support"
407 depends on M5272
408 help
409 Support for the Netburner MOD-5272 board.
410
Linus Torvalds1da177e2005-04-16 15:20:36 -0700411config ROMFS_FROM_ROM
412 bool " ROMFS image not RAM resident"
413 depends on (NETtel || SNAPGEAR)
414 help
415 The ROMfs filesystem will stay resident in the FLASH/ROM, not be
416 moved into RAM.
417
418config PILOT
419 bool
420 default y
421 depends on (PILOT3 || PILOT5)
422
423config ARNEWSH
424 bool
425 default y
426 depends on (ARN5206 || ARN5307)
427
Greg Ungerer4e51f672005-11-07 14:09:50 +1000428config FREESCALE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700429 bool
430 default y
Greg Ungerer5d36f8e2006-06-26 10:45:45 +1000431 depends on (M5206eC3 || M5208EVB || M5235EVB || M5249C3 || M5271EVB || M5272C3 || M5275EVB || M5282EVB || M5307C3 || M5329EVB || M5407C3)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700432
433config HW_FEITH
434 bool
435 default y
436 depends on (CLEOPATRA || CANCam || SCALES)
437
438config senTec
439 bool
440 default y
441 depends on (COBRA5272 || COBRA5282)
Greg Ungerer5c4dbba2005-09-02 10:42:52 +1000442
443config EMAC_INC
444 bool
445 default y
446 depends on (SOM5282EM)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700447
448config SNEHA
449 bool
450 default y
451 depends on CPU16B
Greg Ungerer04860bd2006-06-26 10:47:13 +1000452
453config AVNET
454 bool
455 default y
456 depends on (AVNET5282)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700457
458config LARGE_ALLOCS
459 bool "Allow allocating large blocks (> 1MB) of memory"
460 help
461 Allow the slab memory allocator to keep chains for very large
462 memory sizes - upto 32MB. You may need this if your system has
463 a lot of RAM, and you need to able to allocate very large
464 contiguous chunks. If unsure, say N.
465
Greg Ungerer5c4dbba2005-09-02 10:42:52 +1000466config 4KSTACKS
467 bool "Use 4Kb for kernel stacks instead of 8Kb"
468 default y
469 help
470 If you say Y here the kernel will use a 4Kb stacksize for the
471 kernel stack attached to each process/thread. This facilitates
472 running more threads on a system and also reduces the pressure
473 on the VM subsystem for higher order allocations.
474
Greg Ungerer63e413d2006-06-26 16:32:59 +1000475comment "RAM configuration"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700476
Greg Ungerer63e413d2006-06-26 16:32:59 +1000477config RAMBASE
478 hex "Address of the base of RAM"
479 default "0"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700480 help
Greg Ungerer63e413d2006-06-26 16:32:59 +1000481 Define the address that RAM starts at. On many platforms this is
482 0, the base of the address space. And this is the default. Some
483 platforms choose to setup their RAM at other addresses within the
484 processor address space.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700485
Greg Ungerer63e413d2006-06-26 16:32:59 +1000486config RAMSIZE
487 hex "Size of RAM (in bytes)"
488 default "0x400000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700489 help
Greg Ungerer63e413d2006-06-26 16:32:59 +1000490 Define the size of the system RAM. If you select 0 then the
491 kernel will try to probe the RAM size at runtime. This is not
492 supported on all CPU types.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700493
Greg Ungerer63e413d2006-06-26 16:32:59 +1000494config VECTORBASE
495 hex "Address of the base of system vectors"
496 default "0"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700497 help
Greg Ungerer63e413d2006-06-26 16:32:59 +1000498 Define the address of the the system vectors. Commonly this is
499 put at the start of RAM, but it doesn't have to be. On ColdFire
500 platforms this address is programmed into the VBR register, thus
501 actually setting the address to use.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700502
Greg Ungerer63e413d2006-06-26 16:32:59 +1000503config KERNELBASE
504 hex "Address of the base of kernel code"
505 default "0x400"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700506 help
Greg Ungerer63e413d2006-06-26 16:32:59 +1000507 Typically on m68k systems the kernel will not start at the base
508 of RAM, but usually some small offset from it. Define the start
509 address of the kernel here. The most common setup will have the
510 processor vectors at the base of RAM and then the start of the
511 kernel. On some platforms some RAM is reserved for boot loaders
512 and the kernel starts after that. The 0x400 default was based on
513 a system with the RAM based at address 0, and leaving enough room
514 for the theoretical maximum number of 256 vectors.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700515
516choice
517 prompt "RAM bus width"
518 default RAMAUTOBIT
519
520config RAMAUTOBIT
521 bool "AUTO"
Greg Ungerer63e413d2006-06-26 16:32:59 +1000522 help
Linus Torvalds1da177e2005-04-16 15:20:36 -0700523 Select the physical RAM data bus size. Not needed on most platforms,
524 so you can generally choose AUTO.
525
526config RAM8BIT
527 bool "8bit"
528 help
529 Configure RAM bus to be 8 bits wide.
530
531config RAM16BIT
532 bool "16bit"
533 help
534 Configure RAM bus to be 16 bits wide.
535
536config RAM32BIT
537 bool "32bit"
538 help
539 Configure RAM bus to be 32 bits wide.
540
541endchoice
542
Greg Ungererc750a012006-06-28 16:39:19 +1000543comment "ROM configuration"
544
545config ROM
546 bool "Specify ROM linker regions"
547 default n
548 help
549 Define a ROM region for the linker script. This creates a kernel
550 that can be stored in flash, with possibly the text, and data
551 regions being copied out to RAM at startup.
552
553config ROMBASE
554 hex "Address of the base of ROM device"
555 default "0"
556 depends on ROM
557 help
558 Define the address that the ROM region starts at. Some platforms
559 use this to set their chip select region accordingly for the boot
560 device.
561
562config ROMVEC
563 hex "Address of the base of the ROM vectors"
564 default "0"
565 depends on ROM
566 help
567 This is almost always the same as the base of the ROM. Since on all
568 68000 type varients the vectors are at the base of the boot device
569 on system startup.
570
571config ROMVECSIZE
572 hex "Size of ROM vector region (in bytes)"
573 default "0x400"
574 depends on ROM
575 help
576 Define the size of the vector region in ROM. For most 68000
577 varients this would be 0x400 bytes in size. Set to 0 if you do
578 not want a vector region at the start of the ROM.
579
580config ROMSTART
581 hex "Address of the base of system image in ROM"
582 default "0x400"
583 depends on ROM
584 help
585 Define the start address of the system image in ROM. Commonly this
586 is strait after the ROM vectors.
587
588config ROMSIZE
589 hex "Size of the ROM device"
590 default "0x100000"
591 depends on ROM
592 help
593 Size of the ROM device. On some platforms this is used to setup
594 the chip select that controls the boot ROM device.
595
Linus Torvalds1da177e2005-04-16 15:20:36 -0700596choice
597 prompt "Kernel executes from"
598 ---help---
599 Choose the memory type that the kernel will be running in.
600
601config RAMKERNEL
602 bool "RAM"
603 help
604 The kernel will be resident in RAM when running.
605
606config ROMKERNEL
607 bool "ROM"
608 help
Greg Ungerer63e413d2006-06-26 16:32:59 +1000609 The kernel will be resident in FLASH/ROM when running. This is
610 often referred to as Execute-in-Place (XIP), since the kernel
611 code executes from the position it is stored in the FLASH/ROM.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700612
613endchoice
614
Dave Hansen3f22ab22005-06-23 00:07:43 -0700615source "mm/Kconfig"
616
Linus Torvalds1da177e2005-04-16 15:20:36 -0700617endmenu
618
Al Viro5cae8412005-05-04 05:39:22 +0100619config ISA_DMA_API
620 bool
621 depends on !M5272
622 default y
623
Linus Torvalds1da177e2005-04-16 15:20:36 -0700624menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
625
626config PCI
627 bool "PCI support"
628 help
629 Support for PCI bus.
630
631config COMEMPCI
632 bool "CO-MEM lite PCI controller support"
633 depends on (M5307 || M5407)
634
635source "drivers/pci/Kconfig"
636
637source "drivers/pcmcia/Kconfig"
638
639source "drivers/pci/hotplug/Kconfig"
640
641endmenu
642
643menu "Executable file formats"
644
645source "fs/Kconfig.binfmt"
646
647endmenu
648
649menu "Power management options"
650
651config PM
652 bool "Power Management support"
653 help
654 Support processor power management modes
655
656endmenu
657
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700658source "net/Kconfig"
659
Linus Torvalds1da177e2005-04-16 15:20:36 -0700660source "drivers/Kconfig"
661
662source "fs/Kconfig"
663
664source "arch/m68knommu/Kconfig.debug"
665
666source "security/Kconfig"
667
668source "crypto/Kconfig"
669
670source "lib/Kconfig"