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