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