xref: /openbmc/linux/arch/m68k/Kconfig (revision e3b9f1e8)
1# SPDX-License-Identifier: GPL-2.0
2config M68K
3	bool
4	default y
5	select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
6	select ARCH_NO_COHERENT_DMA_MMAP if !MMU
7	select HAVE_IDE
8	select HAVE_AOUT if MMU
9	select HAVE_DEBUG_BUGVERBOSE
10	select GENERIC_IRQ_SHOW
11	select GENERIC_ATOMIC64
12	select HAVE_UID16
13	select VIRT_TO_BUS
14	select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
15	select GENERIC_CPU_DEVICES
16	select GENERIC_IOMAP
17	select GENERIC_STRNCPY_FROM_USER if MMU
18	select GENERIC_STRNLEN_USER if MMU
19	select ARCH_WANT_IPC_PARSE_VERSION
20	select ARCH_USES_GETTIMEOFFSET if MMU && !COLDFIRE
21	select HAVE_FUTEX_CMPXCHG if MMU && FUTEX
22	select HAVE_MOD_ARCH_SPECIFIC
23	select MODULES_USE_ELF_REL
24	select MODULES_USE_ELF_RELA
25	select OLD_SIGSUSPEND3
26	select OLD_SIGACTION
27
28config CPU_BIG_ENDIAN
29	def_bool y
30
31config RWSEM_GENERIC_SPINLOCK
32	bool
33	default y
34
35config RWSEM_XCHGADD_ALGORITHM
36	bool
37
38config ARCH_HAS_ILOG2_U32
39	bool
40
41config ARCH_HAS_ILOG2_U64
42	bool
43
44config GENERIC_HWEIGHT
45	bool
46	default y
47
48config GENERIC_CALIBRATE_DELAY
49	bool
50	default y
51
52config GENERIC_CSUM
53	bool
54
55config TIME_LOW_RES
56	bool
57	default y
58
59config NO_IOPORT_MAP
60	def_bool y
61
62config NO_DMA
63	def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
64
65config ZONE_DMA
66	bool
67	default y
68
69config HZ
70	int
71	default 1000 if CLEOPATRA
72	default 100
73
74config PGTABLE_LEVELS
75	default 2 if SUN3 || COLDFIRE
76	default 3
77
78source "init/Kconfig"
79
80source "kernel/Kconfig.freezer"
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
136if COLDFIRE
137source "kernel/Kconfig.preempt"
138endif
139
140source "mm/Kconfig"
141
142endmenu
143
144menu "Executable file formats"
145
146source "fs/Kconfig.binfmt"
147
148endmenu
149
150if !MMU
151menu "Power management options"
152
153config PM
154	bool "Power Management support"
155	help
156	  Support processor power management modes
157
158endmenu
159endif
160
161source "net/Kconfig"
162
163source "drivers/Kconfig"
164
165source "arch/m68k/Kconfig.devices"
166
167source "fs/Kconfig"
168
169source "arch/m68k/Kconfig.debug"
170
171source "security/Kconfig"
172
173source "crypto/Kconfig"
174
175source "lib/Kconfig"
176