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