Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
1da177e4 LT |
2 | config M68K |
3 | bool | |
4 | default y | |
942fa985 | 5 | select ARCH_32BIT_OFF_T |
aef0f78e | 6 | select ARCH_HAS_BINFMT_FLAT |
f28a1f16 | 7 | select ARCH_HAS_DMA_PREP_COHERENT if HAS_DMA && MMU && !COLDFIRE |
9eb8be60 | 8 | select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA |
1a7f6be5 | 9 | select ARCH_MIGHT_HAVE_PC_PARPORT if ISA |
87a4c375 | 10 | select ARCH_NO_PREEMPT if !COLDFIRE |
bdd15a28 | 11 | select BINFMT_FLAT_ARGVP_ENVP_ON_STACK |
34dc63a5 | 12 | select DMA_DIRECT_REMAP if HAS_DMA && MMU && !COLDFIRE |
ec7748b5 | 13 | select HAVE_IDE |
66d857b0 | 14 | select HAVE_AOUT if MMU |
2ff2b7ec | 15 | select HAVE_ASM_MODVERSIONS |
9b2a60c4 | 16 | select HAVE_DEBUG_BUGVERBOSE |
d890d739 | 17 | select GENERIC_IRQ_SHOW |
42b1b946 | 18 | select GENERIC_ATOMIC64 |
af1839eb | 19 | select HAVE_UID16 |
4febd95a | 20 | select VIRT_TO_BUS |
df013ffb | 21 | select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS |
9f13a1fd | 22 | select GENERIC_CPU_DEVICES |
f79b8592 | 23 | select GENERIC_IOMAP |
d8ce7263 GU |
24 | select GENERIC_STRNCPY_FROM_USER if MMU |
25 | select GENERIC_STRNLEN_USER if MMU | |
c1d7e01d | 26 | select ARCH_WANT_IPC_PARSE_VERSION |
e571c58f | 27 | select HAVE_FUTEX_CMPXCHG if MMU && FUTEX |
786d35d4 DH |
28 | select HAVE_MOD_ARCH_SPECIFIC |
29 | select MODULES_USE_ELF_REL | |
30 | select MODULES_USE_ELF_RELA | |
1ba3e7ef | 31 | select OLD_SIGSUSPEND3 |
8be433ab | 32 | select OLD_SIGACTION |
6137fed0 | 33 | select MMU_GATHER_NO_RANGE if MMU |
1da177e4 | 34 | |
4c97a0c8 BM |
35 | config CPU_BIG_ENDIAN |
36 | def_bool y | |
37 | ||
f0d1b0b3 DH |
38 | config ARCH_HAS_ILOG2_U32 |
39 | bool | |
f0d1b0b3 DH |
40 | |
41 | config ARCH_HAS_ILOG2_U64 | |
42 | bool | |
f0d1b0b3 | 43 | |
ba1a5b32 AM |
44 | config GENERIC_HWEIGHT |
45 | bool | |
46 | default y | |
47 | ||
1da177e4 LT |
48 | config GENERIC_CALIBRATE_DELAY |
49 | bool | |
50 | default y | |
51 | ||
7f73bafc GU |
52 | config GENERIC_CSUM |
53 | bool | |
54 | ||
06027bdd IM |
55 | config TIME_LOW_RES |
56 | bool | |
57 | default y | |
58 | ||
ce816fa8 | 59 | config NO_IOPORT_MAP |
5ea81769 AV |
60 | def_bool y |
61 | ||
dfedfaf5 | 62 | config NO_DMA |
66d857b0 | 63 | def_bool (MMU && SUN3) || (!MMU && !COLDFIRE) |
dfedfaf5 | 64 | |
66d857b0 GU |
65 | config ZONE_DMA |
66 | bool | |
67 | default y | |
171d809d | 68 | |
bdc80787 PA |
69 | config HZ |
70 | int | |
66d857b0 | 71 | default 1000 if CLEOPATRA |
bdc80787 PA |
72 | default 100 |
73 | ||
980d5b73 KS |
74 | config PGTABLE_LEVELS |
75 | default 2 if SUN3 || COLDFIRE | |
76 | default 3 | |
77 | ||
66d857b0 GU |
78 | config MMU |
79 | bool "MMU-based Paged Memory Management Support" | |
1da177e4 LT |
80 | default y |
81 | help | |
66d857b0 GU |
82 | Select if you want MMU-based virtualised addressing space |
83 | support by paged memory management. If unsure, say 'Y'. | |
1da177e4 | 84 | |
0e152d80 GU |
85 | config MMU_MOTOROLA |
86 | bool | |
87 | ||
0e6782c8 GU |
88 | config MMU_COLDFIRE |
89 | bool | |
90 | ||
0e152d80 GU |
91 | config MMU_SUN3 |
92 | bool | |
0e6782c8 | 93 | depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE |
0e152d80 | 94 | |
7d5f5fa2 GU |
95 | config KEXEC |
96 | bool "kexec system call" | |
97 | depends on M68KCLASSIC | |
2965faa5 | 98 | select KEXEC_CORE |
7d5f5fa2 GU |
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 | ||
7bc1e4d8 GU |
113 | config 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 | ||
0e152d80 GU |
120 | menu "Platform setup" |
121 | ||
8636a1f9 | 122 | source "arch/m68k/Kconfig.cpu" |
0e152d80 | 123 | |
8636a1f9 | 124 | source "arch/m68k/Kconfig.machine" |
0e152d80 | 125 | |
8636a1f9 | 126 | source "arch/m68k/Kconfig.bus" |
0e152d80 GU |
127 | |
128 | endmenu | |
129 | ||
130 | menu "Kernel Features" | |
1da177e4 | 131 | |
66d857b0 | 132 | endmenu |
5ac6da66 | 133 | |
66d857b0 GU |
134 | if !MMU |
135 | menu "Power management options" | |
1da177e4 | 136 | |
66d857b0 | 137 | config PM |
0e152d80 GU |
138 | bool "Power Management support" |
139 | help | |
140 | Support processor power management modes | |
1da177e4 LT |
141 | |
142 | endmenu | |
66d857b0 | 143 | endif |
1da177e4 | 144 | |
0e152d80 | 145 | source "arch/m68k/Kconfig.devices" |