]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - arch/m68knommu/Kconfig
m68knommu: add support for the ColdFire 547x family of processors
[mirror_ubuntu-zesty-kernel.git] / arch / m68knommu / Kconfig
CommitLineData
36a248fa 1config M68K
1da177e4
LT
2 bool
3 default y
ec7748b5 4 select HAVE_IDE
1da177e4
LT
5
6config MMU
7 bool
8 default n
9
e0212e72
AB
10config NO_DMA
11 bool
ec40f95d 12 depends on !COLDFIRE
e0212e72
AB
13 default y
14
1da177e4
LT
15config FPU
16 bool
17 default n
18
66701b14
CL
19config ZONE_DMA
20 bool
21 default y
22
1da177e4
LT
23config RWSEM_GENERIC_SPINLOCK
24 bool
25 default y
26
27config RWSEM_XCHGADD_ALGORITHM
28 bool
29 default n
30
f0d1b0b3
DH
31config ARCH_HAS_ILOG2_U32
32 bool
33 default n
34
35config ARCH_HAS_ILOG2_U64
36 bool
37 default n
38
d2d7cdcf
AM
39config GENERIC_FIND_NEXT_BIT
40 bool
41 default y
42
af39bb8b 43config GENERIC_GPIO
44 bool
45 default n
46
d2d7cdcf
AM
47config GENERIC_HWEIGHT
48 bool
49 default y
50
2502b667
GU
51config GENERIC_HARDIRQS
52 bool
53 default y
54
04570b46
GU
55config GENERIC_HARDIRQS_NO__DO_IRQ
56 bool
57 default y
58
1da177e4
LT
59config GENERIC_CALIBRATE_DELAY
60 bool
61 default y
62
95469bd6
SS
63config GENERIC_CMOS_UPDATE
64 bool
65 default y
66
06027bdd
IM
67config TIME_LOW_RES
68 bool
69 default y
70
2b9a6986
SS
71config GENERIC_CLOCKEVENTS
72 bool
73 default n
74
5ea81769
AV
75config NO_IOPORT
76 def_bool y
77
1da177e4
LT
78source "init/Kconfig"
79
dc52ddc0
MH
80source "kernel/Kconfig.freezer"
81
1da177e4
LT
82menu "Processor type and features"
83
84choice
85 prompt "CPU"
86 default M68EZ328
87
88config M68328
89 bool "MC68328"
90 help
91 Motorola 68328 processor support.
92
93config M68EZ328
94 bool "MC68EZ328"
95 help
96 Motorola 68EX328 processor support.
97
98config M68VZ328
99 bool "MC68VZ328"
100 help
101 Motorola 68VZ328 processor support.
102
103config M68360
104 bool "MC68360"
105 help
106 Motorola 68360 processor support.
107
108config M5206
109 bool "MCF5206"
110 help
111 Motorola ColdFire 5206 processor support.
112
113config M5206e
114 bool "MCF5206e"
115 help
116 Motorola ColdFire 5206e processor support.
117
4e51f674
GU
118config M520x
119 bool "MCF520x"
2b9a6986 120 select GENERIC_CLOCKEVENTS
4e51f674
GU
121 help
122 Freescale Coldfire 5207/5208 processor support.
123
5c4dbba9
GU
124config M523x
125 bool "MCF523x"
2b9a6986 126 select GENERIC_CLOCKEVENTS
5c4dbba9
GU
127 help
128 Freescale Coldfire 5230/1/2/4/5 processor support
129
1da177e4
LT
130config M5249
131 bool "MCF5249"
132 help
133 Motorola ColdFire 5249 processor support.
134
5c4dbba9
GU
135config M5271
136 bool "MCF5271"
1da177e4 137 help
5c4dbba9 138 Freescale (Motorola) ColdFire 5270/5271 processor support.
1da177e4
LT
139
140config M5272
141 bool "MCF5272"
142 help
143 Motorola ColdFire 5272 processor support.
144
5c4dbba9
GU
145config M5275
146 bool "MCF5275"
147 help
148 Freescale (Motorola) ColdFire 5274/5275 processor support.
149
1da177e4
LT
150config M528x
151 bool "MCF528x"
2b9a6986 152 select GENERIC_CLOCKEVENTS
1da177e4
LT
153 help
154 Motorola ColdFire 5280/5282 processor support.
155
156config M5307
157 bool "MCF5307"
158 help
159 Motorola ColdFire 5307 processor support.
160
5d36f8eb
GU
161config M532x
162 bool "MCF532x"
163 help
164 Freescale (Motorola) ColdFire 532x processor support.
165
1da177e4
LT
166config M5407
167 bool "MCF5407"
168 help
169 Motorola ColdFire 5407 processor support.
170
9e29949c
GU
171config M547x
172 bool "MCF547x"
173 help
174 Freescale ColdFire 5470/5471/5472/5473/5474/5475 processor support.
175
ea49f8ff
PDM
176config M548x
177 bool "MCF548x"
178 help
179 Freescale ColdFire 5480/5481/5482/5483/5484/5485 processor support.
180
1da177e4
LT
181endchoice
182
5c4dbba9
GU
183config M527x
184 bool
185 depends on (M5271 || M5275)
2b9a6986 186 select GENERIC_CLOCKEVENTS
5c4dbba9
GU
187 default y
188
5b2e6555
GU
189config M54xx
190 bool
9e29949c 191 depends on (M548x || M547x)
5b2e6555
GU
192 default y
193
1da177e4
LT
194config COLDFIRE
195 bool
5b2e6555 196 depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 || M528x || M5307 || M532x || M5407 || M54xx)
af39bb8b 197 select GENERIC_GPIO
198 select ARCH_REQUIRE_GPIOLIB
1da177e4
LT
199 default y
200
e648cd26
GU
201config CLOCK_SET
202 bool "Enable setting the CPU clock frequency"
203 default n
1da177e4 204 help
e648cd26
GU
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
212config 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
44c09201
ML
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
e648cd26
GU
223 specific to the exact CPU that you are using.
224
225config 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
6869e940 233 frequency. If so then set this to the divider ratio of the
e648cd26 234 master clock to the peripheral clock. If not sure then select 1.
1da177e4
LT
235
236config 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
243comment "Platform"
244
245config 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
251config XCOPILOT_BUGS
6869e940 252 bool "(X)Copilot support"
1da177e4
LT
253 depends on PILOT3
254 help
255 Support the bugs of Xcopilot.
256
36995223
DW
257config 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
263config UC5282
264 bool "Arcturus Networks uC5282 board support"
265 depends on M528x
266 help
267 Support for the Arcturus Networks uC5282 dimm board.
268
1da177e4
LT
269config UCSIMM
270 bool "uCsimm module support"
271 depends on M68EZ328
272 help
273 Support for the Arcturus Networks uCsimm module.
274
275config UCDIMM
276 bool "uDsimm module support"
277 depends on M68VZ328
278 help
279 Support for the Arcturus Networks uDsimm module.
280
281config DRAGEN2
282 bool "DragenEngine II board support"
283 depends on M68VZ328
284 help
285 Support for the DragenEngine II board.
286
287config DIRECT_IO_ACCESS
6869e940 288 bool "Allow user to access IO directly"
1da177e4
LT
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
294config INIT_LCD
6869e940 295 bool "Initialize LCD"
1da177e4
LT
296 depends on (UCSIMM || UCDIMM || DRAGEN2)
297 help
298 Initialize the LCD controller of the 68x328 processor.
299
300config MEMORY_RESERVE
6869e940 301 int "Memory reservation (MiB)"
1da177e4
LT
302 depends on (UCSIMM || UCDIMM)
303 help
304 Reserve certain memory regions on 68x328 based boards.
305
306config UCQUICC
307 bool "Lineo uCquicc board support"
308 depends on M68360
309 help
310 Support for the Lineo uCquicc board.
311
312config ARN5206
313 bool "Arnewsh 5206 board support"
314 depends on M5206
315 help
316 Support for the Arnewsh 5206 board.
317
318config M5206eC3
319 bool "Motorola M5206eC3 board support"
320 depends on M5206e
321 help
322 Support for the Motorola M5206eC3 board.
323
324config ELITE
325 bool "Motorola M5206eLITE board support"
326 depends on M5206e
327 help
328 Support for the Motorola M5206eLITE board.
329
4e51f674
GU
330config M5208EVB
331 bool "Freescale M5208EVB board support"
332 depends on M520x
333 help
334 Support for the Freescale Coldfire M5208EVB.
335
5c4dbba9
GU
336config M5235EVB
337 bool "Freescale M5235EVB support"
338 depends on M523x
339 help
340 Support for the Freescale M5235EVB board.
341
1da177e4
LT
342config M5249C3
343 bool "Motorola M5249C3 board support"
344 depends on M5249
345 help
346 Support for the Motorola M5249C3 board.
347
348config M5271EVB
349 bool "Freescale (Motorola) M5271EVB board support"
5c4dbba9 350 depends on M5271
1da177e4
LT
351 help
352 Support for the Freescale (Motorola) M5271EVB board.
353
354config M5275EVB
355 bool "Freescale (Motorola) M5275EVB board support"
5c4dbba9 356 depends on M5275
1da177e4
LT
357 help
358 Support for the Freescale (Motorola) M5275EVB board.
359
360config M5272C3
361 bool "Motorola M5272C3 board support"
362 depends on M5272
363 help
364 Support for the Motorola M5272C3 board.
365
366config COBRA5272
367 bool "senTec COBRA5272 board support"
368 depends on M5272
369 help
370 Support for the senTec COBRA5272 board.
371
04860bd2
GU
372config AVNET5282
373 bool "Avnet 5282 board support"
374 depends on M528x
375 help
376 Support for the Avnet 5282 board.
377
1da177e4
LT
378config M5282EVB
379 bool "Motorola M5282EVB board support"
380 depends on M528x
381 help
382 Support for the Motorola M5282EVB board.
383
384config COBRA5282
385 bool "senTec COBRA5282 board support"
386 depends on M528x
387 help
388 Support for the senTec COBRA5282 board.
5c4dbba9
GU
389
390config SOM5282EM
391 bool "EMAC.Inc SOM5282EM board support"
392 depends on M528x
393 help
394 Support for the EMAC.Inc SOM5282EM module.
906a2621
GU
395
396config WILDFIRE
397 bool "Intec Automation Inc. WildFire board support"
398 depends on M528x
399 help
400 Support for the Intec Automation Inc. WildFire.
401
402config WILDFIREMOD
403 bool "Intec Automation Inc. WildFire module support"
404 depends on M528x
405 help
406 Support for the Intec Automation Inc. WildFire module.
1da177e4
LT
407
408config ARN5307
409 bool "Arnewsh 5307 board support"
410 depends on M5307
411 help
412 Support for the Arnewsh 5307 board.
413
414config M5307C3
415 bool "Motorola M5307C3 board support"
416 depends on M5307
417 help
418 Support for the Motorola M5307C3 board.
419
1da177e4
LT
420config SECUREEDGEMP3
421 bool "SnapGear SecureEdge/MP3 platform support"
422 depends on M5307
423 help
424 Support for the SnapGear SecureEdge/MP3 platform.
425
5d36f8eb
GU
426config M5329EVB
427 bool "Freescale (Motorola) M5329EVB board support"
428 depends on M532x
429 help
430 Support for the Freescale (Motorola) M5329EVB board.
431
432config COBRA5329
433 bool "senTec COBRA5329 board support"
434 depends on M532x
435 help
436 Support for the senTec COBRA5329 board.
437
1da177e4
LT
438config M5407C3
439 bool "Motorola M5407C3 board support"
440 depends on M5407
441 help
442 Support for the Motorola M5407C3 board.
443
444config CLEOPATRA
445 bool "Feith CLEOPATRA board support"
446 depends on (M5307 || M5407)
447 help
448 Support for the Feith Cleopatra boards.
449
450config CANCam
451 bool "Feith CANCam board support"
452 depends on M5272
453 help
454 Support for the Feith CANCam board.
455
456config SCALES
457 bool "Feith SCALES board support"
458 depends on M5272
459 help
460 Support for the Feith SCALES board.
461
462config 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
468config SNAPGEAR
469 bool "SnapGear router board support"
470 depends on NETtel
471 help
472 Special additional support for SnapGear router boards.
473
474config CPU16B
475 bool "Sneha Technologies S.L. Sarasvati board support"
476 depends on M5272
477 help
478 Support for the SNEHA CPU16B board.
479
5c4dbba9
GU
480config MOD5272
481 bool "Netburner MOD-5272 board support"
482 depends on M5272
483 help
484 Support for the Netburner MOD-5272 board.
485
c1057c65
WC
486config SAVANTrosie1
487 bool "Savant Rosie1 board support"
488 depends on M523x
489 help
490 Support for the Savant Rosie1 board.
491
1da177e4 492config ROMFS_FROM_ROM
6869e940 493 bool "ROMFS image not RAM resident"
1da177e4
LT
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
499config PILOT
500 bool
501 default y
502 depends on (PILOT3 || PILOT5)
503
504config ARNEWSH
505 bool
506 default y
507 depends on (ARN5206 || ARN5307)
508
4e51f674 509config FREESCALE
1da177e4
LT
510 bool
511 default y
5d36f8eb 512 depends on (M5206eC3 || M5208EVB || M5235EVB || M5249C3 || M5271EVB || M5272C3 || M5275EVB || M5282EVB || M5307C3 || M5329EVB || M5407C3)
1da177e4
LT
513
514config HW_FEITH
515 bool
516 default y
517 depends on (CLEOPATRA || CANCam || SCALES)
518
519config senTec
520 bool
521 default y
522 depends on (COBRA5272 || COBRA5282)
5c4dbba9
GU
523
524config EMAC_INC
525 bool
526 default y
527 depends on (SOM5282EM)
1da177e4
LT
528
529config SNEHA
530 bool
531 default y
532 depends on CPU16B
c1057c65
WC
533
534config SAVANT
535 bool
536 default y
537 depends on SAVANTrosie1
538
04860bd2
GU
539config AVNET
540 bool
541 default y
542 depends on (AVNET5282)
1da177e4 543
588baeac
LS
544config 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
5c4dbba9
GU
551config 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
bdc80787
PA
560config HZ
561 int
562 default 1000 if CLEOPATRA
563 default 100
564
63e413d1
GU
565comment "RAM configuration"
566
567config 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
576config RAMSIZE
73a9983e 577 hex "Size of RAM (in bytes), or 0 for automatic"
63e413d1
GU
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
584config VECTORBASE
585 hex "Address of the base of system vectors"
586 default "0"
587 help
4b3f686d 588 Define the address of the system vectors. Commonly this is
63e413d1
GU
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
593config 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.
1da177e4
LT
605
606choice
607 prompt "RAM bus width"
608 default RAMAUTOBIT
609
610config RAMAUTOBIT
611 bool "AUTO"
63e413d1 612 help
1da177e4
LT
613 Select the physical RAM data bus size. Not needed on most platforms,
614 so you can generally choose AUTO.
615
616config RAM8BIT
617 bool "8bit"
618 help
619 Configure RAM bus to be 8 bits wide.
620
621config RAM16BIT
622 bool "16bit"
623 help
624 Configure RAM bus to be 16 bits wide.
625
626config RAM32BIT
627 bool "32bit"
628 help
629 Configure RAM bus to be 32 bits wide.
630
631endchoice
632
c750a012
GU
633comment "ROM configuration"
634
635config 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
643config 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
652config 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
3cb2fccc 658 68000 type variants the vectors are at the base of the boot device
c750a012
GU
659 on system startup.
660
661config 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
3cb2fccc 667 variants this would be 0x400 bytes in size. Set to 0 if you do
c750a012
GU
668 not want a vector region at the start of the ROM.
669
670config 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
678config 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
1da177e4
LT
686choice
687 prompt "Kernel executes from"
688 ---help---
689 Choose the memory type that the kernel will be running in.
690
691config RAMKERNEL
692 bool "RAM"
693 help
694 The kernel will be resident in RAM when running.
695
696config ROMKERNEL
697 bool "ROM"
698 help
63e413d1
GU
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.
1da177e4
LT
702
703endchoice
704
78f508ab
SS
705if COLDFIRE
706source "kernel/Kconfig.preempt"
707endif
2b9a6986
SS
708
709source "kernel/time/Kconfig"
710
3f22ab27
DH
711source "mm/Kconfig"
712
1da177e4
LT
713endmenu
714
5cae841b
AV
715config ISA_DMA_API
716 bool
717 depends on !M5272
718 default y
719
1da177e4
LT
720source "drivers/pcmcia/Kconfig"
721
1da177e4
LT
722menu "Executable file formats"
723
724source "fs/Kconfig.binfmt"
725
726endmenu
727
728menu "Power management options"
729
730config PM
731 bool "Power Management support"
732 help
733 Support processor power management modes
734
735endmenu
736
d5950b43
SR
737source "net/Kconfig"
738
1da177e4
LT
739source "drivers/Kconfig"
740
741source "fs/Kconfig"
742
743source "arch/m68knommu/Kconfig.debug"
744
745source "security/Kconfig"
746
747source "crypto/Kconfig"
748
749source "lib/Kconfig"