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