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