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