]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - arch/m68knommu/Kconfig
m68knommu: fix workqueues in 68328 serial driver
[mirror_ubuntu-jammy-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
219config UCSIMM
220 bool "uCsimm module support"
221 depends on M68EZ328
222 help
223 Support for the Arcturus Networks uCsimm module.
224
225config UCDIMM
226 bool "uDsimm module support"
227 depends on M68VZ328
228 help
229 Support for the Arcturus Networks uDsimm module.
230
231config DRAGEN2
232 bool "DragenEngine II board support"
233 depends on M68VZ328
234 help
235 Support for the DragenEngine II board.
236
237config DIRECT_IO_ACCESS
6869e940 238 bool "Allow user to access IO directly"
1da177e4
LT
239 depends on (UCSIMM || UCDIMM || DRAGEN2)
240 help
241 Disable the CPU internal registers protection in user mode,
242 to allow a user application to read/write them.
243
244config INIT_LCD
6869e940 245 bool "Initialize LCD"
1da177e4
LT
246 depends on (UCSIMM || UCDIMM || DRAGEN2)
247 help
248 Initialize the LCD controller of the 68x328 processor.
249
250config MEMORY_RESERVE
6869e940 251 int "Memory reservation (MiB)"
1da177e4
LT
252 depends on (UCSIMM || UCDIMM)
253 help
254 Reserve certain memory regions on 68x328 based boards.
255
256config UCQUICC
257 bool "Lineo uCquicc board support"
258 depends on M68360
259 help
260 Support for the Lineo uCquicc board.
261
262config ARN5206
263 bool "Arnewsh 5206 board support"
264 depends on M5206
265 help
266 Support for the Arnewsh 5206 board.
267
268config M5206eC3
269 bool "Motorola M5206eC3 board support"
270 depends on M5206e
271 help
272 Support for the Motorola M5206eC3 board.
273
274config ELITE
275 bool "Motorola M5206eLITE board support"
276 depends on M5206e
277 help
278 Support for the Motorola M5206eLITE board.
279
4e51f674
GU
280config M5208EVB
281 bool "Freescale M5208EVB board support"
282 depends on M520x
283 help
284 Support for the Freescale Coldfire M5208EVB.
285
5c4dbba9
GU
286config M5235EVB
287 bool "Freescale M5235EVB support"
288 depends on M523x
289 help
290 Support for the Freescale M5235EVB board.
291
1da177e4
LT
292config M5249C3
293 bool "Motorola M5249C3 board support"
294 depends on M5249
295 help
296 Support for the Motorola M5249C3 board.
297
298config M5271EVB
299 bool "Freescale (Motorola) M5271EVB board support"
5c4dbba9 300 depends on M5271
1da177e4
LT
301 help
302 Support for the Freescale (Motorola) M5271EVB board.
303
304config M5275EVB
305 bool "Freescale (Motorola) M5275EVB board support"
5c4dbba9 306 depends on M5275
1da177e4
LT
307 help
308 Support for the Freescale (Motorola) M5275EVB board.
309
310config M5272C3
311 bool "Motorola M5272C3 board support"
312 depends on M5272
313 help
314 Support for the Motorola M5272C3 board.
315
316config COBRA5272
317 bool "senTec COBRA5272 board support"
318 depends on M5272
319 help
320 Support for the senTec COBRA5272 board.
321
04860bd2
GU
322config AVNET5282
323 bool "Avnet 5282 board support"
324 depends on M528x
325 help
326 Support for the Avnet 5282 board.
327
1da177e4
LT
328config M5282EVB
329 bool "Motorola M5282EVB board support"
330 depends on M528x
331 help
332 Support for the Motorola M5282EVB board.
333
334config COBRA5282
335 bool "senTec COBRA5282 board support"
336 depends on M528x
337 help
338 Support for the senTec COBRA5282 board.
5c4dbba9
GU
339
340config SOM5282EM
341 bool "EMAC.Inc SOM5282EM board support"
342 depends on M528x
343 help
344 Support for the EMAC.Inc SOM5282EM module.
1da177e4
LT
345
346config ARN5307
347 bool "Arnewsh 5307 board support"
348 depends on M5307
349 help
350 Support for the Arnewsh 5307 board.
351
352config M5307C3
353 bool "Motorola M5307C3 board support"
354 depends on M5307
355 help
356 Support for the Motorola M5307C3 board.
357
358config eLIA
359 bool "Moreton Bay eLIA board support"
360 depends on M5307
361 help
362 Support for the Moreton Bay eLIA board.
363
364config SECUREEDGEMP3
365 bool "SnapGear SecureEdge/MP3 platform support"
366 depends on M5307
367 help
368 Support for the SnapGear SecureEdge/MP3 platform.
369
5d36f8eb
GU
370config M5329EVB
371 bool "Freescale (Motorola) M5329EVB board support"
372 depends on M532x
373 help
374 Support for the Freescale (Motorola) M5329EVB board.
375
376config COBRA5329
377 bool "senTec COBRA5329 board support"
378 depends on M532x
379 help
380 Support for the senTec COBRA5329 board.
381
1da177e4
LT
382config M5407C3
383 bool "Motorola M5407C3 board support"
384 depends on M5407
385 help
386 Support for the Motorola M5407C3 board.
387
388config CLEOPATRA
389 bool "Feith CLEOPATRA board support"
390 depends on (M5307 || M5407)
391 help
392 Support for the Feith Cleopatra boards.
393
394config CANCam
395 bool "Feith CANCam board support"
396 depends on M5272
397 help
398 Support for the Feith CANCam board.
399
400config SCALES
401 bool "Feith SCALES board support"
402 depends on M5272
403 help
404 Support for the Feith SCALES board.
405
406config NETtel
407 bool "SecureEdge/NETtel board support"
408 depends on (M5206e || M5272 || M5307)
409 help
410 Support for the SnapGear NETtel/SecureEdge/SnapGear boards.
411
412config SNAPGEAR
413 bool "SnapGear router board support"
414 depends on NETtel
415 help
416 Special additional support for SnapGear router boards.
417
418config CPU16B
419 bool "Sneha Technologies S.L. Sarasvati board support"
420 depends on M5272
421 help
422 Support for the SNEHA CPU16B board.
423
5c4dbba9
GU
424config MOD5272
425 bool "Netburner MOD-5272 board support"
426 depends on M5272
427 help
428 Support for the Netburner MOD-5272 board.
429
1da177e4 430config ROMFS_FROM_ROM
6869e940 431 bool "ROMFS image not RAM resident"
1da177e4
LT
432 depends on (NETtel || SNAPGEAR)
433 help
434 The ROMfs filesystem will stay resident in the FLASH/ROM, not be
435 moved into RAM.
436
437config PILOT
438 bool
439 default y
440 depends on (PILOT3 || PILOT5)
441
442config ARNEWSH
443 bool
444 default y
445 depends on (ARN5206 || ARN5307)
446
4e51f674 447config FREESCALE
1da177e4
LT
448 bool
449 default y
5d36f8eb 450 depends on (M5206eC3 || M5208EVB || M5235EVB || M5249C3 || M5271EVB || M5272C3 || M5275EVB || M5282EVB || M5307C3 || M5329EVB || M5407C3)
1da177e4
LT
451
452config HW_FEITH
453 bool
454 default y
455 depends on (CLEOPATRA || CANCam || SCALES)
456
457config senTec
458 bool
459 default y
460 depends on (COBRA5272 || COBRA5282)
5c4dbba9
GU
461
462config EMAC_INC
463 bool
464 default y
465 depends on (SOM5282EM)
1da177e4
LT
466
467config SNEHA
468 bool
469 default y
470 depends on CPU16B
04860bd2
GU
471
472config AVNET
473 bool
474 default y
475 depends on (AVNET5282)
1da177e4 476
5c4dbba9
GU
477config 4KSTACKS
478 bool "Use 4Kb for kernel stacks instead of 8Kb"
479 default y
480 help
481 If you say Y here the kernel will use a 4Kb stacksize for the
482 kernel stack attached to each process/thread. This facilitates
483 running more threads on a system and also reduces the pressure
484 on the VM subsystem for higher order allocations.
485
63e413d1
GU
486comment "RAM configuration"
487
488config RAMBASE
489 hex "Address of the base of RAM"
490 default "0"
491 help
492 Define the address that RAM starts at. On many platforms this is
493 0, the base of the address space. And this is the default. Some
494 platforms choose to setup their RAM at other addresses within the
495 processor address space.
496
497config RAMSIZE
498 hex "Size of RAM (in bytes)"
499 default "0x400000"
500 help
501 Define the size of the system RAM. If you select 0 then the
502 kernel will try to probe the RAM size at runtime. This is not
503 supported on all CPU types.
504
505config VECTORBASE
506 hex "Address of the base of system vectors"
507 default "0"
508 help
4b3f686d 509 Define the address of the system vectors. Commonly this is
63e413d1
GU
510 put at the start of RAM, but it doesn't have to be. On ColdFire
511 platforms this address is programmed into the VBR register, thus
512 actually setting the address to use.
513
514config KERNELBASE
515 hex "Address of the base of kernel code"
516 default "0x400"
517 help
518 Typically on m68k systems the kernel will not start at the base
519 of RAM, but usually some small offset from it. Define the start
520 address of the kernel here. The most common setup will have the
521 processor vectors at the base of RAM and then the start of the
522 kernel. On some platforms some RAM is reserved for boot loaders
523 and the kernel starts after that. The 0x400 default was based on
524 a system with the RAM based at address 0, and leaving enough room
525 for the theoretical maximum number of 256 vectors.
1da177e4
LT
526
527choice
528 prompt "RAM bus width"
529 default RAMAUTOBIT
530
531config RAMAUTOBIT
532 bool "AUTO"
63e413d1 533 help
1da177e4
LT
534 Select the physical RAM data bus size. Not needed on most platforms,
535 so you can generally choose AUTO.
536
537config RAM8BIT
538 bool "8bit"
539 help
540 Configure RAM bus to be 8 bits wide.
541
542config RAM16BIT
543 bool "16bit"
544 help
545 Configure RAM bus to be 16 bits wide.
546
547config RAM32BIT
548 bool "32bit"
549 help
550 Configure RAM bus to be 32 bits wide.
551
552endchoice
553
c750a012
GU
554comment "ROM configuration"
555
556config ROM
557 bool "Specify ROM linker regions"
558 default n
559 help
560 Define a ROM region for the linker script. This creates a kernel
561 that can be stored in flash, with possibly the text, and data
562 regions being copied out to RAM at startup.
563
564config ROMBASE
565 hex "Address of the base of ROM device"
566 default "0"
567 depends on ROM
568 help
569 Define the address that the ROM region starts at. Some platforms
570 use this to set their chip select region accordingly for the boot
571 device.
572
573config ROMVEC
574 hex "Address of the base of the ROM vectors"
575 default "0"
576 depends on ROM
577 help
578 This is almost always the same as the base of the ROM. Since on all
3cb2fccc 579 68000 type variants the vectors are at the base of the boot device
c750a012
GU
580 on system startup.
581
582config ROMVECSIZE
583 hex "Size of ROM vector region (in bytes)"
584 default "0x400"
585 depends on ROM
586 help
587 Define the size of the vector region in ROM. For most 68000
3cb2fccc 588 variants this would be 0x400 bytes in size. Set to 0 if you do
c750a012
GU
589 not want a vector region at the start of the ROM.
590
591config ROMSTART
592 hex "Address of the base of system image in ROM"
593 default "0x400"
594 depends on ROM
595 help
596 Define the start address of the system image in ROM. Commonly this
597 is strait after the ROM vectors.
598
599config ROMSIZE
600 hex "Size of the ROM device"
601 default "0x100000"
602 depends on ROM
603 help
604 Size of the ROM device. On some platforms this is used to setup
605 the chip select that controls the boot ROM device.
606
1da177e4
LT
607choice
608 prompt "Kernel executes from"
609 ---help---
610 Choose the memory type that the kernel will be running in.
611
612config RAMKERNEL
613 bool "RAM"
614 help
615 The kernel will be resident in RAM when running.
616
617config ROMKERNEL
618 bool "ROM"
619 help
63e413d1
GU
620 The kernel will be resident in FLASH/ROM when running. This is
621 often referred to as Execute-in-Place (XIP), since the kernel
622 code executes from the position it is stored in the FLASH/ROM.
1da177e4
LT
623
624endchoice
625
3f22ab27
DH
626source "mm/Kconfig"
627
1da177e4
LT
628endmenu
629
5cae841b
AV
630config ISA_DMA_API
631 bool
632 depends on !M5272
633 default y
634
1da177e4
LT
635menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
636
637config PCI
638 bool "PCI support"
639 help
640 Support for PCI bus.
641
642config COMEMPCI
643 bool "CO-MEM lite PCI controller support"
644 depends on (M5307 || M5407)
645
646source "drivers/pci/Kconfig"
647
648source "drivers/pcmcia/Kconfig"
649
650source "drivers/pci/hotplug/Kconfig"
651
652endmenu
653
654menu "Executable file formats"
655
656source "fs/Kconfig.binfmt"
657
658endmenu
659
660menu "Power management options"
661
662config PM
663 bool "Power Management support"
664 help
665 Support processor power management modes
666
667endmenu
668
d5950b43
SR
669source "net/Kconfig"
670
1da177e4
LT
671source "drivers/Kconfig"
672
673source "fs/Kconfig"
674
675source "arch/m68knommu/Kconfig.debug"
676
677source "security/Kconfig"
678
679source "crypto/Kconfig"
680
681source "lib/Kconfig"