Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # For a description of the syntax of this configuration file, | |
3 | # see Documentation/kbuild/kconfig-language.txt. | |
4 | # | |
5 | ||
6 | mainmenu "uClinux/68k (w/o MMU) Kernel Configuration" | |
7 | ||
36a248fa | 8 | config M68K |
1da177e4 LT |
9 | bool |
10 | default y | |
11 | ||
12 | config MMU | |
13 | bool | |
14 | default n | |
15 | ||
16 | config FPU | |
17 | bool | |
18 | default n | |
19 | ||
1da177e4 LT |
20 | config RWSEM_GENERIC_SPINLOCK |
21 | bool | |
22 | default y | |
23 | ||
24 | config RWSEM_XCHGADD_ALGORITHM | |
25 | bool | |
26 | default n | |
27 | ||
d2d7cdcf AM |
28 | config GENERIC_FIND_NEXT_BIT |
29 | bool | |
30 | default y | |
31 | ||
32 | config GENERIC_HWEIGHT | |
33 | bool | |
34 | default y | |
35 | ||
1da177e4 LT |
36 | config GENERIC_CALIBRATE_DELAY |
37 | bool | |
38 | default y | |
39 | ||
06027bdd IM |
40 | config TIME_LOW_RES |
41 | bool | |
42 | default y | |
43 | ||
1da177e4 LT |
44 | source "init/Kconfig" |
45 | ||
46 | menu "Processor type and features" | |
47 | ||
48 | choice | |
49 | prompt "CPU" | |
50 | default M68EZ328 | |
51 | ||
52 | config M68328 | |
53 | bool "MC68328" | |
54 | help | |
55 | Motorola 68328 processor support. | |
56 | ||
57 | config M68EZ328 | |
58 | bool "MC68EZ328" | |
59 | help | |
60 | Motorola 68EX328 processor support. | |
61 | ||
62 | config M68VZ328 | |
63 | bool "MC68VZ328" | |
64 | help | |
65 | Motorola 68VZ328 processor support. | |
66 | ||
67 | config M68360 | |
68 | bool "MC68360" | |
69 | help | |
70 | Motorola 68360 processor support. | |
71 | ||
72 | config M5206 | |
73 | bool "MCF5206" | |
74 | help | |
75 | Motorola ColdFire 5206 processor support. | |
76 | ||
77 | config M5206e | |
78 | bool "MCF5206e" | |
79 | help | |
80 | Motorola ColdFire 5206e processor support. | |
81 | ||
4e51f674 GU |
82 | config M520x |
83 | bool "MCF520x" | |
84 | help | |
85 | Freescale Coldfire 5207/5208 processor support. | |
86 | ||
5c4dbba9 GU |
87 | config M523x |
88 | bool "MCF523x" | |
89 | help | |
90 | Freescale Coldfire 5230/1/2/4/5 processor support | |
91 | ||
1da177e4 LT |
92 | config M5249 |
93 | bool "MCF5249" | |
94 | help | |
95 | Motorola ColdFire 5249 processor support. | |
96 | ||
5c4dbba9 GU |
97 | config M5271 |
98 | bool "MCF5271" | |
1da177e4 | 99 | help |
5c4dbba9 | 100 | Freescale (Motorola) ColdFire 5270/5271 processor support. |
1da177e4 LT |
101 | |
102 | config M5272 | |
103 | bool "MCF5272" | |
104 | help | |
105 | Motorola ColdFire 5272 processor support. | |
106 | ||
5c4dbba9 GU |
107 | config M5275 |
108 | bool "MCF5275" | |
109 | help | |
110 | Freescale (Motorola) ColdFire 5274/5275 processor support. | |
111 | ||
1da177e4 LT |
112 | config M528x |
113 | bool "MCF528x" | |
114 | help | |
115 | Motorola ColdFire 5280/5282 processor support. | |
116 | ||
117 | config M5307 | |
118 | bool "MCF5307" | |
119 | help | |
120 | Motorola ColdFire 5307 processor support. | |
121 | ||
5d36f8eb GU |
122 | config M532x |
123 | bool "MCF532x" | |
124 | help | |
125 | Freescale (Motorola) ColdFire 532x processor support. | |
126 | ||
1da177e4 LT |
127 | config M5407 |
128 | bool "MCF5407" | |
129 | help | |
130 | Motorola ColdFire 5407 processor support. | |
131 | ||
132 | endchoice | |
133 | ||
5c4dbba9 GU |
134 | config M527x |
135 | bool | |
136 | depends on (M5271 || M5275) | |
137 | default y | |
138 | ||
1da177e4 LT |
139 | config COLDFIRE |
140 | bool | |
5d36f8eb | 141 | depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 || M528x || M5307 || M532x || M5407) |
1da177e4 LT |
142 | default y |
143 | ||
e648cd26 GU |
144 | config CLOCK_SET |
145 | bool "Enable setting the CPU clock frequency" | |
146 | default n | |
1da177e4 | 147 | help |
e648cd26 GU |
148 | 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. | |
154 | ||
155 | config CLOCK_FREQ | |
156 | int "Set the core clock frequency" | |
157 | default "66666666" | |
158 | depends on CLOCK_SET | |
159 | help | |
160 | 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. | |
167 | ||
168 | config CLOCK_DIV | |
169 | int "Set the core/bus clock divide ratio" | |
170 | default "1" | |
171 | depends on CLOCK_SET | |
172 | help | |
173 | 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. | |
1da177e4 LT |
178 | |
179 | config 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 | ||
186 | comment "Platform" | |
187 | ||
188 | config 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 | ||
194 | config XCOPILOT_BUGS | |
195 | bool " (X)Copilot support" | |
196 | depends on PILOT3 | |
197 | help | |
198 | Support the bugs of Xcopilot. | |
199 | ||
200 | config UCSIMM | |
201 | bool "uCsimm module support" | |
202 | depends on M68EZ328 | |
203 | help | |
204 | Support for the Arcturus Networks uCsimm module. | |
205 | ||
206 | config UCDIMM | |
207 | bool "uDsimm module support" | |
208 | depends on M68VZ328 | |
209 | help | |
210 | Support for the Arcturus Networks uDsimm module. | |
211 | ||
212 | config DRAGEN2 | |
213 | bool "DragenEngine II board support" | |
214 | depends on M68VZ328 | |
215 | help | |
216 | Support for the DragenEngine II board. | |
217 | ||
218 | config 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 | ||
225 | config INIT_LCD | |
226 | bool " Initialize LCD" | |
227 | depends on (UCSIMM || UCDIMM || DRAGEN2) | |
228 | help | |
229 | Initialize the LCD controller of the 68x328 processor. | |
230 | ||
231 | config MEMORY_RESERVE | |
232 | int " Memory reservation (MiB)" | |
233 | depends on (UCSIMM || UCDIMM) | |
234 | help | |
235 | Reserve certain memory regions on 68x328 based boards. | |
236 | ||
237 | config UCQUICC | |
238 | bool "Lineo uCquicc board support" | |
239 | depends on M68360 | |
240 | help | |
241 | Support for the Lineo uCquicc board. | |
242 | ||
243 | config ARN5206 | |
244 | bool "Arnewsh 5206 board support" | |
245 | depends on M5206 | |
246 | help | |
247 | Support for the Arnewsh 5206 board. | |
248 | ||
249 | config M5206eC3 | |
250 | bool "Motorola M5206eC3 board support" | |
251 | depends on M5206e | |
252 | help | |
253 | Support for the Motorola M5206eC3 board. | |
254 | ||
255 | config ELITE | |
256 | bool "Motorola M5206eLITE board support" | |
257 | depends on M5206e | |
258 | help | |
259 | Support for the Motorola M5206eLITE board. | |
260 | ||
4e51f674 GU |
261 | config M5208EVB |
262 | bool "Freescale M5208EVB board support" | |
263 | depends on M520x | |
264 | help | |
265 | Support for the Freescale Coldfire M5208EVB. | |
266 | ||
5c4dbba9 GU |
267 | config M5235EVB |
268 | bool "Freescale M5235EVB support" | |
269 | depends on M523x | |
270 | help | |
271 | Support for the Freescale M5235EVB board. | |
272 | ||
1da177e4 LT |
273 | config M5249C3 |
274 | bool "Motorola M5249C3 board support" | |
275 | depends on M5249 | |
276 | help | |
277 | Support for the Motorola M5249C3 board. | |
278 | ||
279 | config M5271EVB | |
280 | bool "Freescale (Motorola) M5271EVB board support" | |
5c4dbba9 | 281 | depends on M5271 |
1da177e4 LT |
282 | help |
283 | Support for the Freescale (Motorola) M5271EVB board. | |
284 | ||
285 | config M5275EVB | |
286 | bool "Freescale (Motorola) M5275EVB board support" | |
5c4dbba9 | 287 | depends on M5275 |
1da177e4 LT |
288 | help |
289 | Support for the Freescale (Motorola) M5275EVB board. | |
290 | ||
291 | config M5272C3 | |
292 | bool "Motorola M5272C3 board support" | |
293 | depends on M5272 | |
294 | help | |
295 | Support for the Motorola M5272C3 board. | |
296 | ||
297 | config COBRA5272 | |
298 | bool "senTec COBRA5272 board support" | |
299 | depends on M5272 | |
300 | help | |
301 | Support for the senTec COBRA5272 board. | |
302 | ||
04860bd2 GU |
303 | config AVNET5282 |
304 | bool "Avnet 5282 board support" | |
305 | depends on M528x | |
306 | help | |
307 | Support for the Avnet 5282 board. | |
308 | ||
1da177e4 LT |
309 | config M5282EVB |
310 | bool "Motorola M5282EVB board support" | |
311 | depends on M528x | |
312 | help | |
313 | Support for the Motorola M5282EVB board. | |
314 | ||
315 | config COBRA5282 | |
316 | bool "senTec COBRA5282 board support" | |
317 | depends on M528x | |
318 | help | |
319 | Support for the senTec COBRA5282 board. | |
5c4dbba9 GU |
320 | |
321 | config SOM5282EM | |
322 | bool "EMAC.Inc SOM5282EM board support" | |
323 | depends on M528x | |
324 | help | |
325 | Support for the EMAC.Inc SOM5282EM module. | |
1da177e4 LT |
326 | |
327 | config ARN5307 | |
328 | bool "Arnewsh 5307 board support" | |
329 | depends on M5307 | |
330 | help | |
331 | Support for the Arnewsh 5307 board. | |
332 | ||
333 | config M5307C3 | |
334 | bool "Motorola M5307C3 board support" | |
335 | depends on M5307 | |
336 | help | |
337 | Support for the Motorola M5307C3 board. | |
338 | ||
339 | config eLIA | |
340 | bool "Moreton Bay eLIA board support" | |
341 | depends on M5307 | |
342 | help | |
343 | Support for the Moreton Bay eLIA board. | |
344 | ||
345 | config SECUREEDGEMP3 | |
346 | bool "SnapGear SecureEdge/MP3 platform support" | |
347 | depends on M5307 | |
348 | help | |
349 | Support for the SnapGear SecureEdge/MP3 platform. | |
350 | ||
5d36f8eb GU |
351 | config M5329EVB |
352 | bool "Freescale (Motorola) M5329EVB board support" | |
353 | depends on M532x | |
354 | help | |
355 | Support for the Freescale (Motorola) M5329EVB board. | |
356 | ||
357 | config COBRA5329 | |
358 | bool "senTec COBRA5329 board support" | |
359 | depends on M532x | |
360 | help | |
361 | Support for the senTec COBRA5329 board. | |
362 | ||
1da177e4 LT |
363 | config M5407C3 |
364 | bool "Motorola M5407C3 board support" | |
365 | depends on M5407 | |
366 | help | |
367 | Support for the Motorola M5407C3 board. | |
368 | ||
369 | config CLEOPATRA | |
370 | bool "Feith CLEOPATRA board support" | |
371 | depends on (M5307 || M5407) | |
372 | help | |
373 | Support for the Feith Cleopatra boards. | |
374 | ||
375 | config CANCam | |
376 | bool "Feith CANCam board support" | |
377 | depends on M5272 | |
378 | help | |
379 | Support for the Feith CANCam board. | |
380 | ||
381 | config SCALES | |
382 | bool "Feith SCALES board support" | |
383 | depends on M5272 | |
384 | help | |
385 | Support for the Feith SCALES board. | |
386 | ||
387 | config 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 | ||
393 | config SNAPGEAR | |
394 | bool "SnapGear router board support" | |
395 | depends on NETtel | |
396 | help | |
397 | Special additional support for SnapGear router boards. | |
398 | ||
399 | config CPU16B | |
400 | bool "Sneha Technologies S.L. Sarasvati board support" | |
401 | depends on M5272 | |
402 | help | |
403 | Support for the SNEHA CPU16B board. | |
404 | ||
5c4dbba9 GU |
405 | config MOD5272 |
406 | bool "Netburner MOD-5272 board support" | |
407 | depends on M5272 | |
408 | help | |
409 | Support for the Netburner MOD-5272 board. | |
410 | ||
1da177e4 LT |
411 | config 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 | ||
418 | config PILOT | |
419 | bool | |
420 | default y | |
421 | depends on (PILOT3 || PILOT5) | |
422 | ||
423 | config ARNEWSH | |
424 | bool | |
425 | default y | |
426 | depends on (ARN5206 || ARN5307) | |
427 | ||
4e51f674 | 428 | config FREESCALE |
1da177e4 LT |
429 | bool |
430 | default y | |
5d36f8eb | 431 | depends on (M5206eC3 || M5208EVB || M5235EVB || M5249C3 || M5271EVB || M5272C3 || M5275EVB || M5282EVB || M5307C3 || M5329EVB || M5407C3) |
1da177e4 LT |
432 | |
433 | config HW_FEITH | |
434 | bool | |
435 | default y | |
436 | depends on (CLEOPATRA || CANCam || SCALES) | |
437 | ||
438 | config senTec | |
439 | bool | |
440 | default y | |
441 | depends on (COBRA5272 || COBRA5282) | |
5c4dbba9 GU |
442 | |
443 | config EMAC_INC | |
444 | bool | |
445 | default y | |
446 | depends on (SOM5282EM) | |
1da177e4 LT |
447 | |
448 | config SNEHA | |
449 | bool | |
450 | default y | |
451 | depends on CPU16B | |
04860bd2 GU |
452 | |
453 | config AVNET | |
454 | bool | |
455 | default y | |
456 | depends on (AVNET5282) | |
1da177e4 LT |
457 | |
458 | config 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 | ||
5c4dbba9 GU |
466 | config 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 | ||
63e413d1 GU |
475 | comment "RAM configuration" |
476 | ||
477 | config RAMBASE | |
478 | hex "Address of the base of RAM" | |
479 | default "0" | |
480 | help | |
481 | 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. | |
485 | ||
486 | config RAMSIZE | |
487 | hex "Size of RAM (in bytes)" | |
488 | default "0x400000" | |
489 | help | |
490 | 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. | |
493 | ||
494 | config VECTORBASE | |
495 | hex "Address of the base of system vectors" | |
496 | default "0" | |
497 | help | |
498 | 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. | |
502 | ||
503 | config KERNELBASE | |
504 | hex "Address of the base of kernel code" | |
505 | default "0x400" | |
506 | help | |
507 | 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. | |
1da177e4 LT |
515 | |
516 | choice | |
517 | prompt "RAM bus width" | |
518 | default RAMAUTOBIT | |
519 | ||
520 | config RAMAUTOBIT | |
521 | bool "AUTO" | |
63e413d1 | 522 | help |
1da177e4 LT |
523 | Select the physical RAM data bus size. Not needed on most platforms, |
524 | so you can generally choose AUTO. | |
525 | ||
526 | config RAM8BIT | |
527 | bool "8bit" | |
528 | help | |
529 | Configure RAM bus to be 8 bits wide. | |
530 | ||
531 | config RAM16BIT | |
532 | bool "16bit" | |
533 | help | |
534 | Configure RAM bus to be 16 bits wide. | |
535 | ||
536 | config RAM32BIT | |
537 | bool "32bit" | |
538 | help | |
539 | Configure RAM bus to be 32 bits wide. | |
540 | ||
541 | endchoice | |
542 | ||
c750a012 GU |
543 | comment "ROM configuration" |
544 | ||
545 | config 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 | ||
553 | config 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 | ||
562 | config 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 | ||
571 | config 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 | ||
580 | config 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 | ||
588 | config 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 | ||
1da177e4 LT |
596 | choice |
597 | prompt "Kernel executes from" | |
598 | ---help--- | |
599 | Choose the memory type that the kernel will be running in. | |
600 | ||
601 | config RAMKERNEL | |
602 | bool "RAM" | |
603 | help | |
604 | The kernel will be resident in RAM when running. | |
605 | ||
606 | config ROMKERNEL | |
607 | bool "ROM" | |
608 | help | |
63e413d1 GU |
609 | 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. | |
1da177e4 LT |
612 | |
613 | endchoice | |
614 | ||
3f22ab27 DH |
615 | source "mm/Kconfig" |
616 | ||
1da177e4 LT |
617 | endmenu |
618 | ||
5cae841b AV |
619 | config ISA_DMA_API |
620 | bool | |
621 | depends on !M5272 | |
622 | default y | |
623 | ||
1da177e4 LT |
624 | menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)" |
625 | ||
626 | config PCI | |
627 | bool "PCI support" | |
628 | help | |
629 | Support for PCI bus. | |
630 | ||
631 | config COMEMPCI | |
632 | bool "CO-MEM lite PCI controller support" | |
633 | depends on (M5307 || M5407) | |
634 | ||
635 | source "drivers/pci/Kconfig" | |
636 | ||
637 | source "drivers/pcmcia/Kconfig" | |
638 | ||
639 | source "drivers/pci/hotplug/Kconfig" | |
640 | ||
641 | endmenu | |
642 | ||
643 | menu "Executable file formats" | |
644 | ||
645 | source "fs/Kconfig.binfmt" | |
646 | ||
647 | endmenu | |
648 | ||
649 | menu "Power management options" | |
650 | ||
651 | config PM | |
652 | bool "Power Management support" | |
653 | help | |
654 | Support processor power management modes | |
655 | ||
656 | endmenu | |
657 | ||
d5950b43 SR |
658 | source "net/Kconfig" |
659 | ||
1da177e4 LT |
660 | source "drivers/Kconfig" |
661 | ||
662 | source "fs/Kconfig" | |
663 | ||
664 | source "arch/m68knommu/Kconfig.debug" | |
665 | ||
666 | source "security/Kconfig" | |
667 | ||
668 | source "crypto/Kconfig" | |
669 | ||
670 | source "lib/Kconfig" |