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