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