GNU Linux-libre 6.1.24-gnu
[releases.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_CURRENT_STACK_POINTER
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_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
11         select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
12         select ARCH_NO_PREEMPT if !COLDFIRE
13         select ARCH_USE_MEMTEST if MMU_MOTOROLA
14         select ARCH_WANT_IPC_PARSE_VERSION
15         select BINFMT_FLAT_ARGVP_ENVP_ON_STACK
16         select DMA_DIRECT_REMAP if HAS_DMA && MMU && !COLDFIRE
17         select GENERIC_ATOMIC64
18         select GENERIC_CPU_DEVICES
19         select GENERIC_IOMAP
20         select GENERIC_IRQ_SHOW
21         select HAVE_ASM_MODVERSIONS
22         select HAVE_DEBUG_BUGVERBOSE
23         select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED
24         select HAVE_MOD_ARCH_SPECIFIC
25         select HAVE_UID16
26         select MMU_GATHER_NO_RANGE if MMU
27         select MODULES_USE_ELF_REL
28         select MODULES_USE_ELF_RELA
29         select NO_DMA if !MMU && !COLDFIRE
30         select OLD_SIGACTION
31         select OLD_SIGSUSPEND3
32         select UACCESS_MEMCPY if !MMU
33         select ZONE_DMA
34
35 config CPU_BIG_ENDIAN
36         def_bool y
37
38 config ARCH_HAS_ILOG2_U32
39         bool
40
41 config ARCH_HAS_ILOG2_U64
42         bool
43
44 config GENERIC_HWEIGHT
45         bool
46         default y
47
48 config GENERIC_CALIBRATE_DELAY
49         bool
50         default y
51
52 config GENERIC_CSUM
53         bool
54
55 config TIME_LOW_RES
56         bool
57         default y
58
59 config NO_IOPORT_MAP
60         def_bool y
61
62 config HZ
63         int
64         default 1000 if CLEOPATRA
65         default 100
66
67 config PGTABLE_LEVELS
68         default 2 if SUN3 || COLDFIRE
69         default 3
70
71 config MMU
72         bool "MMU-based Paged Memory Management Support"
73         default y
74         help
75           Select if you want MMU-based virtualised addressing space
76           support by paged memory management. If unsure, say 'Y'.
77
78 config MMU_MOTOROLA
79         bool
80
81 config MMU_COLDFIRE
82         bool
83
84 config MMU_SUN3
85         bool
86         depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
87
88 config KEXEC
89         bool "kexec system call"
90         depends on M68KCLASSIC && MMU
91         select KEXEC_CORE
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
106 config 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
113 menu "Platform setup"
114
115 source "arch/m68k/Kconfig.cpu"
116
117 source "arch/m68k/Kconfig.machine"
118
119 source "arch/m68k/Kconfig.bus"
120
121 endmenu
122
123 menu "Kernel Features"
124
125 endmenu
126
127 if !MMU
128 menu "Power management options"
129
130 config PM
131         bool "Power Management support"
132         help
133           Support processor power management modes
134
135 endmenu
136 endif
137
138 source "arch/m68k/Kconfig.devices"