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