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