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