Merge tag 'pci-v5.2-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
[linux-block.git] / arch / m68k / Kconfig
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
1da177e4
LT
2config M68K
3 bool
4 default y
942fa985 5 select ARCH_32BIT_OFF_T
9eb8be60 6 select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA
1a7f6be5 7 select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
07c75d7a 8 select ARCH_NO_COHERENT_DMA_MMAP if !MMU
87a4c375 9 select ARCH_NO_PREEMPT if !COLDFIRE
ec7748b5 10 select HAVE_IDE
66d857b0 11 select HAVE_AOUT if MMU
9b2a60c4 12 select HAVE_DEBUG_BUGVERBOSE
d890d739 13 select GENERIC_IRQ_SHOW
42b1b946 14 select GENERIC_ATOMIC64
af1839eb 15 select HAVE_UID16
4febd95a 16 select VIRT_TO_BUS
df013ffb 17 select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
9f13a1fd 18 select GENERIC_CPU_DEVICES
f79b8592 19 select GENERIC_IOMAP
d8ce7263
GU
20 select GENERIC_STRNCPY_FROM_USER if MMU
21 select GENERIC_STRNLEN_USER if MMU
c1d7e01d 22 select ARCH_WANT_IPC_PARSE_VERSION
e571c58f 23 select HAVE_FUTEX_CMPXCHG if MMU && FUTEX
786d35d4
DH
24 select HAVE_MOD_ARCH_SPECIFIC
25 select MODULES_USE_ELF_REL
26 select MODULES_USE_ELF_RELA
1ba3e7ef 27 select OLD_SIGSUSPEND3
8be433ab 28 select OLD_SIGACTION
6137fed0 29 select MMU_GATHER_NO_RANGE if MMU
1da177e4 30
4c97a0c8
BM
31config CPU_BIG_ENDIAN
32 def_bool y
33
f0d1b0b3
DH
34config ARCH_HAS_ILOG2_U32
35 bool
f0d1b0b3
DH
36
37config ARCH_HAS_ILOG2_U64
38 bool
f0d1b0b3 39
ba1a5b32
AM
40config GENERIC_HWEIGHT
41 bool
42 default y
43
1da177e4
LT
44config GENERIC_CALIBRATE_DELAY
45 bool
46 default y
47
7f73bafc
GU
48config GENERIC_CSUM
49 bool
50
06027bdd
IM
51config TIME_LOW_RES
52 bool
53 default y
54
ce816fa8 55config NO_IOPORT_MAP
5ea81769
AV
56 def_bool y
57
dfedfaf5 58config NO_DMA
66d857b0 59 def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
dfedfaf5 60
66d857b0
GU
61config ZONE_DMA
62 bool
63 default y
171d809d 64
bdc80787
PA
65config HZ
66 int
66d857b0 67 default 1000 if CLEOPATRA
bdc80787
PA
68 default 100
69
980d5b73
KS
70config PGTABLE_LEVELS
71 default 2 if SUN3 || COLDFIRE
72 default 3
73
66d857b0
GU
74config MMU
75 bool "MMU-based Paged Memory Management Support"
1da177e4
LT
76 default y
77 help
66d857b0
GU
78 Select if you want MMU-based virtualised addressing space
79 support by paged memory management. If unsure, say 'Y'.
1da177e4 80
0e152d80
GU
81config MMU_MOTOROLA
82 bool
83
0e6782c8
GU
84config MMU_COLDFIRE
85 bool
86
0e152d80
GU
87config MMU_SUN3
88 bool
0e6782c8 89 depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
0e152d80 90
7d5f5fa2
GU
91config KEXEC
92 bool "kexec system call"
93 depends on M68KCLASSIC
2965faa5 94 select KEXEC_CORE
7d5f5fa2
GU
95 help
96 kexec is a system call that implements the ability to shutdown your
97 current kernel, and to start another kernel. It is like a reboot
98 but it is independent of the system firmware. And like a reboot
99 you can start any kernel with it, not just Linux.
100
101 The name comes from the similarity to the exec system call.
102
103 It is an ongoing process to be certain the hardware in a machine
104 is properly shutdown, so do not be surprised if this code does not
105 initially work for you. As of this writing the exact hardware
106 interface is strongly in flux, so no good recommendation can be
107 made.
108
7bc1e4d8
GU
109config BOOTINFO_PROC
110 bool "Export bootinfo in procfs"
111 depends on KEXEC && M68KCLASSIC
112 help
113 Say Y to export the bootinfo used to boot the kernel in a
114 "bootinfo" file in procfs. This is useful with kexec.
115
0e152d80
GU
116menu "Platform setup"
117
8636a1f9 118source "arch/m68k/Kconfig.cpu"
0e152d80 119
8636a1f9 120source "arch/m68k/Kconfig.machine"
0e152d80 121
8636a1f9 122source "arch/m68k/Kconfig.bus"
0e152d80
GU
123
124endmenu
125
126menu "Kernel Features"
1da177e4 127
66d857b0 128endmenu
5ac6da66 129
66d857b0
GU
130if !MMU
131menu "Power management options"
1da177e4 132
66d857b0 133config PM
0e152d80
GU
134 bool "Power Management support"
135 help
136 Support processor power management modes
1da177e4
LT
137
138endmenu
66d857b0 139endif
1da177e4 140
0e152d80 141source "arch/m68k/Kconfig.devices"