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 |
Yury Norov | 942fa98 | 2018-05-16 11:18:49 +0300 | [diff] [blame] | 5 | select ARCH_32BIT_OFF_T |
Christoph Hellwig | aef0f78 | 2019-06-13 09:08:57 +0200 | [diff] [blame] | 6 | select ARCH_HAS_BINFMT_FLAT |
Christoph Hellwig | f28a1f1 | 2019-07-08 10:51:01 -0700 | [diff] [blame] | 7 | select ARCH_HAS_DMA_PREP_COHERENT if HAS_DMA && MMU && !COLDFIRE |
Christoph Hellwig | 9eb8be6 | 2018-06-20 10:19:45 +0200 | [diff] [blame] | 8 | select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA |
Geert Uytterhoeven | dc07201 | 2020-08-26 14:52:59 +0200 | [diff] [blame] | 9 | select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS |
Mark Salter | 1a7f6be | 2013-10-07 22:10:21 -0400 | [diff] [blame] | 10 | select ARCH_MIGHT_HAVE_PC_PARPORT if ISA |
Christoph Hellwig | 87a4c37 | 2018-07-31 13:39:32 +0200 | [diff] [blame] | 11 | select ARCH_NO_PREEMPT if !COLDFIRE |
Geert Uytterhoeven | dc07201 | 2020-08-26 14:52:59 +0200 | [diff] [blame] | 12 | select ARCH_WANT_IPC_PARSE_VERSION |
Christoph Hellwig | bdd15a2 | 2019-06-13 09:08:51 +0200 | [diff] [blame] | 13 | select BINFMT_FLAT_ARGVP_ENVP_ON_STACK |
Christoph Hellwig | 34dc63a | 2019-06-25 11:01:34 +0200 | [diff] [blame] | 14 | select DMA_DIRECT_REMAP if HAS_DMA && MMU && !COLDFIRE |
Geert Uytterhoeven | dc07201 | 2020-08-26 14:52:59 +0200 | [diff] [blame] | 15 | select GENERIC_ATOMIC64 |
| 16 | select GENERIC_CPU_DEVICES |
| 17 | select GENERIC_IOMAP |
| 18 | select GENERIC_IRQ_SHOW |
| 19 | select GENERIC_STRNCPY_FROM_USER if MMU |
| 20 | select GENERIC_STRNLEN_USER if MMU |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 21 | select HAVE_AOUT if MMU |
Masahiro Yamada | 2ff2b7e | 2019-08-19 14:54:20 +0900 | [diff] [blame] | 22 | select HAVE_ASM_MODVERSIONS |
Catalin Marinas | 9b2a60c | 2012-10-08 16:28:13 -0700 | [diff] [blame] | 23 | select HAVE_DEBUG_BUGVERBOSE |
Finn Thain | e571c58 | 2014-03-06 10:29:27 +1100 | [diff] [blame] | 24 | select HAVE_FUTEX_CMPXCHG if MMU && FUTEX |
Geert Uytterhoeven | dc07201 | 2020-08-26 14:52:59 +0200 | [diff] [blame] | 25 | select HAVE_IDE |
David Howells | 786d35d | 2012-09-28 14:31:03 +0930 | [diff] [blame] | 26 | select HAVE_MOD_ARCH_SPECIFIC |
Geert Uytterhoeven | dc07201 | 2020-08-26 14:52:59 +0200 | [diff] [blame] | 27 | select HAVE_UID16 |
| 28 | select MMU_GATHER_NO_RANGE if MMU |
David Howells | 786d35d | 2012-09-28 14:31:03 +0930 | [diff] [blame] | 29 | select MODULES_USE_ELF_REL |
| 30 | select MODULES_USE_ELF_RELA |
Geert Uytterhoeven | dc07201 | 2020-08-26 14:52:59 +0200 | [diff] [blame] | 31 | select NO_DMA if !MMU && !COLDFIRE |
Al Viro | 8be433a | 2012-12-25 19:29:01 -0500 | [diff] [blame] | 32 | select OLD_SIGACTION |
Geert Uytterhoeven | dc07201 | 2020-08-26 14:52:59 +0200 | [diff] [blame] | 33 | select OLD_SIGSUSPEND3 |
Christoph Hellwig | 5e6e985 | 2020-09-03 16:22:35 +0200 | [diff] [blame] | 34 | select SET_FS |
Linus Torvalds | d3876ff | 2020-10-19 18:12:44 -0700 | [diff] [blame] | 35 | select UACCESS_MEMCPY if !MMU |
Geert Uytterhoeven | dc07201 | 2020-08-26 14:52:59 +0200 | [diff] [blame] | 36 | select VIRT_TO_BUS |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | |
Babu Moger | 4c97a0c | 2017-09-08 16:14:22 -0700 | [diff] [blame] | 38 | config CPU_BIG_ENDIAN |
| 39 | def_bool y |
| 40 | |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 41 | config ARCH_HAS_ILOG2_U32 |
| 42 | bool |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 43 | |
| 44 | config ARCH_HAS_ILOG2_U64 |
| 45 | bool |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 46 | |
Akinobu Mita | ba1a5b3 | 2006-03-26 01:39:27 -0800 | [diff] [blame] | 47 | config GENERIC_HWEIGHT |
| 48 | bool |
| 49 | default y |
| 50 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | config GENERIC_CALIBRATE_DELAY |
| 52 | bool |
| 53 | default y |
| 54 | |
Greg Ungerer | 7f73baf | 2011-10-18 15:49:19 +1000 | [diff] [blame] | 55 | config GENERIC_CSUM |
| 56 | bool |
| 57 | |
Ingo Molnar | 06027bd | 2006-02-14 13:53:15 -0800 | [diff] [blame] | 58 | config TIME_LOW_RES |
| 59 | bool |
| 60 | default y |
| 61 | |
Uwe Kleine-König | ce816fa | 2014-04-07 15:39:19 -0700 | [diff] [blame] | 62 | config NO_IOPORT_MAP |
Al Viro | 5ea8176 | 2007-02-11 15:41:31 +0000 | [diff] [blame] | 63 | def_bool y |
| 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 | |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 78 | config MMU |
| 79 | bool "MMU-based Paged Memory Management Support" |
| 80 | default y |
| 81 | help |
| 82 | Select if you want MMU-based virtualised addressing space |
| 83 | support by paged memory management. If unsure, say 'Y'. |
| 84 | |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 85 | config MMU_MOTOROLA |
| 86 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 87 | |
Greg Ungerer | 0e6782c | 2011-10-18 16:26:11 +1000 | [diff] [blame] | 88 | config MMU_COLDFIRE |
| 89 | bool |
| 90 | |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 91 | config MMU_SUN3 |
| 92 | bool |
Greg Ungerer | 0e6782c | 2011-10-18 16:26:11 +1000 | [diff] [blame] | 93 | depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 94 | |
Geert Uytterhoeven | 7d5f5fa | 2013-08-20 22:51:47 +0200 | [diff] [blame] | 95 | config KEXEC |
| 96 | bool "kexec system call" |
| 97 | depends on M68KCLASSIC |
Dave Young | 2965faa | 2015-09-09 15:38:55 -0700 | [diff] [blame] | 98 | select KEXEC_CORE |
Geert Uytterhoeven | 7d5f5fa | 2013-08-20 22:51:47 +0200 | [diff] [blame] | 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 | |
Geert Uytterhoeven | 7bc1e4d | 2013-08-21 22:36:32 +0200 | [diff] [blame] | 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 | |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 120 | menu "Platform setup" |
| 121 | |
Masahiro Yamada | 8636a1f | 2018-12-11 20:01:04 +0900 | [diff] [blame] | 122 | source "arch/m68k/Kconfig.cpu" |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 123 | |
Masahiro Yamada | 8636a1f | 2018-12-11 20:01:04 +0900 | [diff] [blame] | 124 | source "arch/m68k/Kconfig.machine" |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 125 | |
Masahiro Yamada | 8636a1f | 2018-12-11 20:01:04 +0900 | [diff] [blame] | 126 | source "arch/m68k/Kconfig.bus" |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 127 | |
| 128 | endmenu |
| 129 | |
| 130 | menu "Kernel Features" |
| 131 | |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 132 | endmenu |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 133 | |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 134 | if !MMU |
| 135 | menu "Power management options" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 136 | |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 137 | config PM |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 138 | bool "Power Management support" |
| 139 | help |
| 140 | Support processor power management modes |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 141 | |
| 142 | endmenu |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 143 | endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 144 | |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 145 | source "arch/m68k/Kconfig.devices" |