Merge branch 'core-objtool-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-block.git] / arch / m68k / Kconfig
1 # SPDX-License-Identifier: GPL-2.0
2 config 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         select MMU_GATHER_NO_RANGE if MMU
32
33 config CPU_BIG_ENDIAN
34         def_bool y
35
36 config RWSEM_GENERIC_SPINLOCK
37         bool
38         default y
39
40 config RWSEM_XCHGADD_ALGORITHM
41         bool
42
43 config ARCH_HAS_ILOG2_U32
44         bool
45
46 config ARCH_HAS_ILOG2_U64
47         bool
48
49 config GENERIC_HWEIGHT
50         bool
51         default y
52
53 config GENERIC_CALIBRATE_DELAY
54         bool
55         default y
56
57 config GENERIC_CSUM
58         bool
59
60 config TIME_LOW_RES
61         bool
62         default y
63
64 config NO_IOPORT_MAP
65         def_bool y
66
67 config NO_DMA
68         def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
69
70 config ZONE_DMA
71         bool
72         default y
73
74 config HZ
75         int
76         default 1000 if CLEOPATRA
77         default 100
78
79 config PGTABLE_LEVELS
80         default 2 if SUN3 || COLDFIRE
81         default 3
82
83 config MMU
84         bool "MMU-based Paged Memory Management Support"
85         default y
86         help
87           Select if you want MMU-based virtualised addressing space
88           support by paged memory management. If unsure, say 'Y'.
89
90 config MMU_MOTOROLA
91         bool
92
93 config MMU_COLDFIRE
94         bool
95
96 config MMU_SUN3
97         bool
98         depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
99
100 config KEXEC
101         bool "kexec system call"
102         depends on M68KCLASSIC
103         select KEXEC_CORE
104         help
105           kexec is a system call that implements the ability to shutdown your
106           current kernel, and to start another kernel.  It is like a reboot
107           but it is independent of the system firmware.   And like a reboot
108           you can start any kernel with it, not just Linux.
109
110           The name comes from the similarity to the exec system call.
111
112           It is an ongoing process to be certain the hardware in a machine
113           is properly shutdown, so do not be surprised if this code does not
114           initially work for you.  As of this writing the exact hardware
115           interface is strongly in flux, so no good recommendation can be
116           made.
117
118 config BOOTINFO_PROC
119         bool "Export bootinfo in procfs"
120         depends on KEXEC && M68KCLASSIC
121         help
122           Say Y to export the bootinfo used to boot the kernel in a
123           "bootinfo" file in procfs.  This is useful with kexec.
124
125 menu "Platform setup"
126
127 source "arch/m68k/Kconfig.cpu"
128
129 source "arch/m68k/Kconfig.machine"
130
131 source "arch/m68k/Kconfig.bus"
132
133 endmenu
134
135 menu "Kernel Features"
136
137 endmenu
138
139 if !MMU
140 menu "Power management options"
141
142 config PM
143         bool "Power Management support"
144         help
145           Support processor power management modes
146
147 endmenu
148 endif
149
150 source "arch/m68k/Kconfig.devices"