Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | config M68K |
3 | bool | ||||
4 | default y | ||||
Mark Salter | 1a7f6be | 2013-10-07 22:10:21 -0400 | [diff] [blame] | 5 | select ARCH_MIGHT_HAVE_PC_PARPORT if ISA |
Vladimir Murzin | 07c75d7 | 2017-06-28 10:16:57 +0100 | [diff] [blame] | 6 | select ARCH_NO_COHERENT_DMA_MMAP if !MMU |
Sam Ravnborg | ec7748b | 2008-02-09 10:46:40 +0100 | [diff] [blame] | 7 | select HAVE_IDE |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 8 | select HAVE_AOUT if MMU |
Catalin Marinas | 9b2a60c | 2012-10-08 16:28:13 -0700 | [diff] [blame] | 9 | select HAVE_DEBUG_BUGVERBOSE |
Geert Uytterhoeven | d890d73 | 2011-09-11 11:28:04 +0200 | [diff] [blame] | 10 | select GENERIC_IRQ_SHOW |
Greg Ungerer | 42b1b94 | 2012-08-14 14:31:33 +1000 | [diff] [blame] | 11 | select GENERIC_ATOMIC64 |
Catalin Marinas | af1839e | 2012-10-08 16:28:08 -0700 | [diff] [blame] | 12 | select HAVE_UID16 |
Stephen Rothwell | 4febd95 | 2013-03-07 15:48:16 +1100 | [diff] [blame] | 13 | select VIRT_TO_BUS |
Huang Ying | df013ff | 2011-07-13 13:14:22 +0800 | [diff] [blame] | 14 | select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS |
Ben Hutchings | 9f13a1f | 2012-01-10 03:04:32 +0000 | [diff] [blame] | 15 | select GENERIC_CPU_DEVICES |
Greg Ungerer | f79b859 | 2013-08-02 17:24:38 +1000 | [diff] [blame] | 16 | select GENERIC_IOMAP |
Geert Uytterhoeven | d8ce726 | 2012-05-29 23:30:08 +0200 | [diff] [blame] | 17 | select GENERIC_STRNCPY_FROM_USER if MMU |
18 | select GENERIC_STRNLEN_USER if MMU | ||||
Will Deacon | c1d7e01 | 2012-07-30 14:42:46 -0700 | [diff] [blame] | 19 | select ARCH_WANT_IPC_PARSE_VERSION |
Anna-Maria Gleixner | 60a5e4c | 2012-05-18 16:45:49 +0000 | [diff] [blame] | 20 | select ARCH_USES_GETTIMEOFFSET if MMU && !COLDFIRE |
Finn Thain | e571c58 | 2014-03-06 10:29:27 +1100 | [diff] [blame] | 21 | select HAVE_FUTEX_CMPXCHG if MMU && FUTEX |
David Howells | 786d35d | 2012-09-28 14:31:03 +0930 | [diff] [blame] | 22 | select HAVE_MOD_ARCH_SPECIFIC |
23 | select MODULES_USE_ELF_REL | ||||
24 | select MODULES_USE_ELF_RELA | ||||
Al Viro | 1ba3e7e | 2012-12-25 16:26:28 -0500 | [diff] [blame] | 25 | select OLD_SIGSUSPEND3 |
Al Viro | 8be433a | 2012-12-25 19:29:01 -0500 | [diff] [blame] | 26 | select OLD_SIGACTION |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | |
Babu Moger | 4c97a0c | 2017-09-08 16:14:22 -0700 | [diff] [blame] | 28 | config CPU_BIG_ENDIAN |
29 | def_bool y | ||||
30 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | config RWSEM_GENERIC_SPINLOCK |
32 | bool | ||||
33 | default y | ||||
34 | |||||
35 | config RWSEM_XCHGADD_ALGORITHM | ||||
36 | bool | ||||
37 | |||||
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 38 | config ARCH_HAS_ILOG2_U32 |
39 | bool | ||||
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 40 | |
41 | config ARCH_HAS_ILOG2_U64 | ||||
42 | bool | ||||
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 43 | |
Akinobu Mita | ba1a5b3 | 2006-03-26 01:39:27 -0800 | [diff] [blame] | 44 | config GENERIC_HWEIGHT |
45 | bool | ||||
46 | default y | ||||
47 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | config GENERIC_CALIBRATE_DELAY |
49 | bool | ||||
50 | default y | ||||
51 | |||||
Greg Ungerer | 7f73baf | 2011-10-18 15:49:19 +1000 | [diff] [blame] | 52 | config GENERIC_CSUM |
53 | bool | ||||
54 | |||||
Ingo Molnar | 06027bd | 2006-02-14 13:53:15 -0800 | [diff] [blame] | 55 | config TIME_LOW_RES |
56 | bool | ||||
57 | default y | ||||
58 | |||||
Uwe Kleine-König | ce816fa | 2014-04-07 15:39:19 -0700 | [diff] [blame] | 59 | config NO_IOPORT_MAP |
Al Viro | 5ea8176 | 2007-02-11 15:41:31 +0000 | [diff] [blame] | 60 | def_bool y |
61 | |||||
Al Viro | dfedfaf | 2007-07-20 04:33:58 +0100 | [diff] [blame] | 62 | config NO_DMA |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 63 | def_bool (MMU && SUN3) || (!MMU && !COLDFIRE) |
Al Viro | dfedfaf | 2007-07-20 04:33:58 +0100 | [diff] [blame] | 64 | |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 65 | config ZONE_DMA |
66 | bool | ||||
67 | default y | ||||
Greg Ungerer | 171d809 | 2011-05-17 16:45:00 +1000 | [diff] [blame] | 68 | |
H. Peter Anvin | bdc8078 | 2008-02-08 04:21:26 -0800 | [diff] [blame] | 69 | config HZ |
70 | int | ||||
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 71 | default 1000 if CLEOPATRA |
H. Peter Anvin | bdc8078 | 2008-02-08 04:21:26 -0800 | [diff] [blame] | 72 | default 100 |
73 | |||||
Kirill A. Shutemov | 980d5b7 | 2015-04-14 15:45:48 -0700 | [diff] [blame] | 74 | config PGTABLE_LEVELS |
75 | default 2 if SUN3 || COLDFIRE | ||||
76 | default 3 | ||||
77 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 78 | source "init/Kconfig" |
79 | |||||
Matt Helsley | dc52ddc | 2008-10-18 20:27:21 -0700 | [diff] [blame] | 80 | source "kernel/Kconfig.freezer" |
81 | |||||
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 82 | config MMU |
83 | bool "MMU-based Paged Memory Management Support" | ||||
84 | default y | ||||
85 | help | ||||
86 | Select if you want MMU-based virtualised addressing space | ||||
87 | support by paged memory management. If unsure, say 'Y'. | ||||
88 | |||||
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 89 | config MMU_MOTOROLA |
90 | bool | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 91 | |
Greg Ungerer | 0e6782c | 2011-10-18 16:26:11 +1000 | [diff] [blame] | 92 | config MMU_COLDFIRE |
93 | bool | ||||
94 | |||||
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 95 | config MMU_SUN3 |
96 | bool | ||||
Greg Ungerer | 0e6782c | 2011-10-18 16:26:11 +1000 | [diff] [blame] | 97 | depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 98 | |
Geert Uytterhoeven | 7d5f5fa | 2013-08-20 22:51:47 +0200 | [diff] [blame] | 99 | config KEXEC |
100 | bool "kexec system call" | ||||
101 | depends on M68KCLASSIC | ||||
Dave Young | 2965faa | 2015-09-09 15:38:55 -0700 | [diff] [blame] | 102 | select KEXEC_CORE |
Geert Uytterhoeven | 7d5f5fa | 2013-08-20 22:51:47 +0200 | [diff] [blame] | 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 | |||||
Geert Uytterhoeven | 7bc1e4d | 2013-08-21 22:36:32 +0200 | [diff] [blame] | 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 | |||||
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 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" | ||||
135 | |||||
136 | if COLDFIRE | ||||
137 | source "kernel/Kconfig.preempt" | ||||
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 138 | endif |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 139 | |
Dave Hansen | 3f22ab2 | 2005-06-23 00:07:43 -0700 | [diff] [blame] | 140 | source "mm/Kconfig" |
141 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 142 | endmenu |
143 | |||||
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 144 | menu "Executable file formats" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 145 | |
146 | source "fs/Kconfig.binfmt" | ||||
147 | |||||
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 148 | endmenu |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 149 | |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 150 | if !MMU |
151 | menu "Power management options" | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 152 | |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 153 | config PM |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 154 | bool "Power Management support" |
155 | help | ||||
156 | Support processor power management modes | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 157 | |
158 | endmenu | ||||
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 159 | endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 160 | |
Sam Ravnborg | d5950b4 | 2005-07-11 21:03:49 -0700 | [diff] [blame] | 161 | source "net/Kconfig" |
162 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 163 | source "drivers/Kconfig" |
164 | |||||
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 165 | source "arch/m68k/Kconfig.devices" |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 166 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 167 | source "fs/Kconfig" |
168 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 169 | source "arch/m68k/Kconfig.debug" |
170 | |||||
171 | source "security/Kconfig" | ||||
172 | |||||
173 | source "crypto/Kconfig" | ||||
174 | |||||
175 | source "lib/Kconfig" |