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