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