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