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