xref: /linux/arch/m68k/Kconfig (revision 3213486f2e442831e324cc6201a2f9e924ecc235)
1# SPDX-License-Identifier: GPL-2.0
2config M68K
3	bool
4	default y
5	select ARCH_32BIT_OFF_T
6	select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA
7	select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
8	select ARCH_NO_COHERENT_DMA_MMAP if !MMU
9	select ARCH_NO_PREEMPT if !COLDFIRE
10	select HAVE_IDE
11	select HAVE_AOUT if MMU
12	select HAVE_DEBUG_BUGVERBOSE
13	select GENERIC_IRQ_SHOW
14	select GENERIC_ATOMIC64
15	select HAVE_UID16
16	select VIRT_TO_BUS
17	select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
18	select GENERIC_CPU_DEVICES
19	select GENERIC_IOMAP
20	select GENERIC_STRNCPY_FROM_USER if MMU
21	select GENERIC_STRNLEN_USER if MMU
22	select ARCH_WANT_IPC_PARSE_VERSION
23	select ARCH_USES_GETTIMEOFFSET if MMU && !COLDFIRE
24	select HAVE_FUTEX_CMPXCHG if MMU && FUTEX
25	select HAVE_MOD_ARCH_SPECIFIC
26	select MODULES_USE_ELF_REL
27	select MODULES_USE_ELF_RELA
28	select OLD_SIGSUSPEND3
29	select OLD_SIGACTION
30	select ARCH_DISCARD_MEMBLOCK
31
32config CPU_BIG_ENDIAN
33	def_bool y
34
35config RWSEM_GENERIC_SPINLOCK
36	bool
37	default y
38
39config RWSEM_XCHGADD_ALGORITHM
40	bool
41
42config ARCH_HAS_ILOG2_U32
43	bool
44
45config ARCH_HAS_ILOG2_U64
46	bool
47
48config GENERIC_HWEIGHT
49	bool
50	default y
51
52config GENERIC_CALIBRATE_DELAY
53	bool
54	default y
55
56config GENERIC_CSUM
57	bool
58
59config TIME_LOW_RES
60	bool
61	default y
62
63config NO_IOPORT_MAP
64	def_bool y
65
66config NO_DMA
67	def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
68
69config ZONE_DMA
70	bool
71	default y
72
73config HZ
74	int
75	default 1000 if CLEOPATRA
76	default 100
77
78config PGTABLE_LEVELS
79	default 2 if SUN3 || COLDFIRE
80	default 3
81
82config MMU
83	bool "MMU-based Paged Memory Management Support"
84	default y
85	help
86	  Select if you want MMU-based virtualised addressing space
87	  support by paged memory management. If unsure, say 'Y'.
88
89config MMU_MOTOROLA
90	bool
91
92config MMU_COLDFIRE
93	bool
94
95config MMU_SUN3
96	bool
97	depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
98
99config KEXEC
100	bool "kexec system call"
101	depends on M68KCLASSIC
102	select KEXEC_CORE
103	help
104	  kexec is a system call that implements the ability to shutdown your
105	  current kernel, and to start another kernel.  It is like a reboot
106	  but it is independent of the system firmware.   And like a reboot
107	  you can start any kernel with it, not just Linux.
108
109	  The name comes from the similarity to the exec system call.
110
111	  It is an ongoing process to be certain the hardware in a machine
112	  is properly shutdown, so do not be surprised if this code does not
113	  initially work for you.  As of this writing the exact hardware
114	  interface is strongly in flux, so no good recommendation can be
115	  made.
116
117config BOOTINFO_PROC
118	bool "Export bootinfo in procfs"
119	depends on KEXEC && M68KCLASSIC
120	help
121	  Say Y to export the bootinfo used to boot the kernel in a
122	  "bootinfo" file in procfs.  This is useful with kexec.
123
124menu "Platform setup"
125
126source "arch/m68k/Kconfig.cpu"
127
128source "arch/m68k/Kconfig.machine"
129
130source "arch/m68k/Kconfig.bus"
131
132endmenu
133
134menu "Kernel Features"
135
136endmenu
137
138if !MMU
139menu "Power management options"
140
141config PM
142	bool "Power Management support"
143	help
144	  Support processor power management modes
145
146endmenu
147endif
148
149source "arch/m68k/Kconfig.devices"
150