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 |
Christoph Hellwig | 9eb8be6 | 2018-06-20 10:19:45 +0200 | [diff] [blame] | 5 | select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA |
Mark Salter | 1a7f6be | 2013-10-07 22:10:21 -0400 | [diff] [blame] | 6 | select ARCH_MIGHT_HAVE_PC_PARPORT if ISA |
Vladimir Murzin | 07c75d7 | 2017-06-28 10:16:57 +0100 | [diff] [blame] | 7 | select ARCH_NO_COHERENT_DMA_MMAP if !MMU |
Christoph Hellwig | 87a4c37 | 2018-07-31 13:39:32 +0200 | [diff] [blame] | 8 | select ARCH_NO_PREEMPT if !COLDFIRE |
Sam Ravnborg | ec7748b | 2008-02-09 10:46:40 +0100 | [diff] [blame] | 9 | select HAVE_IDE |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 10 | select HAVE_AOUT if MMU |
Catalin Marinas | 9b2a60c | 2012-10-08 16:28:13 -0700 | [diff] [blame] | 11 | select HAVE_DEBUG_BUGVERBOSE |
Geert Uytterhoeven | d890d73 | 2011-09-11 11:28:04 +0200 | [diff] [blame] | 12 | select GENERIC_IRQ_SHOW |
Greg Ungerer | 42b1b94 | 2012-08-14 14:31:33 +1000 | [diff] [blame] | 13 | select GENERIC_ATOMIC64 |
Catalin Marinas | af1839e | 2012-10-08 16:28:08 -0700 | [diff] [blame] | 14 | select HAVE_UID16 |
Stephen Rothwell | 4febd95 | 2013-03-07 15:48:16 +1100 | [diff] [blame] | 15 | select VIRT_TO_BUS |
Huang Ying | df013ff | 2011-07-13 13:14:22 +0800 | [diff] [blame] | 16 | select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS |
Ben Hutchings | 9f13a1f | 2012-01-10 03:04:32 +0000 | [diff] [blame] | 17 | select GENERIC_CPU_DEVICES |
Greg Ungerer | f79b859 | 2013-08-02 17:24:38 +1000 | [diff] [blame] | 18 | select GENERIC_IOMAP |
Geert Uytterhoeven | d8ce726 | 2012-05-29 23:30:08 +0200 | [diff] [blame] | 19 | select GENERIC_STRNCPY_FROM_USER if MMU |
| 20 | select GENERIC_STRNLEN_USER if MMU |
Will Deacon | c1d7e01 | 2012-07-30 14:42:46 -0700 | [diff] [blame] | 21 | select ARCH_WANT_IPC_PARSE_VERSION |
Anna-Maria Gleixner | 60a5e4c | 2012-05-18 16:45:49 +0000 | [diff] [blame] | 22 | select ARCH_USES_GETTIMEOFFSET if MMU && !COLDFIRE |
Finn Thain | e571c58 | 2014-03-06 10:29:27 +1100 | [diff] [blame] | 23 | select HAVE_FUTEX_CMPXCHG if MMU && FUTEX |
David Howells | 786d35d | 2012-09-28 14:31:03 +0930 | [diff] [blame] | 24 | select HAVE_MOD_ARCH_SPECIFIC |
| 25 | select MODULES_USE_ELF_REL |
| 26 | select MODULES_USE_ELF_RELA |
Al Viro | 1ba3e7e | 2012-12-25 16:26:28 -0500 | [diff] [blame] | 27 | select OLD_SIGSUSPEND3 |
Al Viro | 8be433a | 2012-12-25 19:29:01 -0500 | [diff] [blame] | 28 | select OLD_SIGACTION |
Christoph Hellwig | 9eb8be6 | 2018-06-20 10:19:45 +0200 | [diff] [blame] | 29 | select DMA_NONCOHERENT_OPS if HAS_DMA |
Mike Rapoport | 1008a11 | 2018-07-04 09:28:16 +0300 | [diff] [blame] | 30 | select HAVE_MEMBLOCK |
| 31 | select ARCH_DISCARD_MEMBLOCK |
| 32 | select NO_BOOTMEM |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | |
Babu Moger | 4c97a0c | 2017-09-08 16:14:22 -0700 | [diff] [blame] | 34 | config CPU_BIG_ENDIAN |
| 35 | def_bool y |
| 36 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | config RWSEM_GENERIC_SPINLOCK |
| 38 | bool |
| 39 | default y |
| 40 | |
| 41 | config RWSEM_XCHGADD_ALGORITHM |
| 42 | bool |
| 43 | |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 44 | config ARCH_HAS_ILOG2_U32 |
| 45 | bool |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 46 | |
| 47 | config ARCH_HAS_ILOG2_U64 |
| 48 | bool |
David Howells | f0d1b0b | 2006-12-08 02:37:49 -0800 | [diff] [blame] | 49 | |
Akinobu Mita | ba1a5b3 | 2006-03-26 01:39:27 -0800 | [diff] [blame] | 50 | config GENERIC_HWEIGHT |
| 51 | bool |
| 52 | default y |
| 53 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 54 | config GENERIC_CALIBRATE_DELAY |
| 55 | bool |
| 56 | default y |
| 57 | |
Greg Ungerer | 7f73baf | 2011-10-18 15:49:19 +1000 | [diff] [blame] | 58 | config GENERIC_CSUM |
| 59 | bool |
| 60 | |
Ingo Molnar | 06027bd | 2006-02-14 13:53:15 -0800 | [diff] [blame] | 61 | config TIME_LOW_RES |
| 62 | bool |
| 63 | default y |
| 64 | |
Uwe Kleine-König | ce816fa | 2014-04-07 15:39:19 -0700 | [diff] [blame] | 65 | config NO_IOPORT_MAP |
Al Viro | 5ea8176 | 2007-02-11 15:41:31 +0000 | [diff] [blame] | 66 | def_bool y |
| 67 | |
Al Viro | dfedfaf | 2007-07-20 04:33:58 +0100 | [diff] [blame] | 68 | config NO_DMA |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 69 | def_bool (MMU && SUN3) || (!MMU && !COLDFIRE) |
Al Viro | dfedfaf | 2007-07-20 04:33:58 +0100 | [diff] [blame] | 70 | |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 71 | config ZONE_DMA |
| 72 | bool |
| 73 | default y |
Greg Ungerer | 171d809 | 2011-05-17 16:45:00 +1000 | [diff] [blame] | 74 | |
H. Peter Anvin | bdc8078 | 2008-02-08 04:21:26 -0800 | [diff] [blame] | 75 | config HZ |
| 76 | int |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 77 | default 1000 if CLEOPATRA |
H. Peter Anvin | bdc8078 | 2008-02-08 04:21:26 -0800 | [diff] [blame] | 78 | default 100 |
| 79 | |
Kirill A. Shutemov | 980d5b7 | 2015-04-14 15:45:48 -0700 | [diff] [blame] | 80 | config PGTABLE_LEVELS |
| 81 | default 2 if SUN3 || COLDFIRE |
| 82 | default 3 |
| 83 | |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 84 | config MMU |
| 85 | bool "MMU-based Paged Memory Management Support" |
| 86 | default y |
| 87 | help |
| 88 | Select if you want MMU-based virtualised addressing space |
| 89 | support by paged memory management. If unsure, say 'Y'. |
| 90 | |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 91 | config MMU_MOTOROLA |
| 92 | bool |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 93 | |
Greg Ungerer | 0e6782c | 2011-10-18 16:26:11 +1000 | [diff] [blame] | 94 | config MMU_COLDFIRE |
| 95 | bool |
| 96 | |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 97 | config MMU_SUN3 |
| 98 | bool |
Greg Ungerer | 0e6782c | 2011-10-18 16:26:11 +1000 | [diff] [blame] | 99 | depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 100 | |
Geert Uytterhoeven | 7d5f5fa | 2013-08-20 22:51:47 +0200 | [diff] [blame] | 101 | config KEXEC |
| 102 | bool "kexec system call" |
| 103 | depends on M68KCLASSIC |
Dave Young | 2965faa | 2015-09-09 15:38:55 -0700 | [diff] [blame] | 104 | select KEXEC_CORE |
Geert Uytterhoeven | 7d5f5fa | 2013-08-20 22:51:47 +0200 | [diff] [blame] | 105 | help |
| 106 | kexec is a system call that implements the ability to shutdown your |
| 107 | current kernel, and to start another kernel. It is like a reboot |
| 108 | but it is independent of the system firmware. And like a reboot |
| 109 | you can start any kernel with it, not just Linux. |
| 110 | |
| 111 | The name comes from the similarity to the exec system call. |
| 112 | |
| 113 | It is an ongoing process to be certain the hardware in a machine |
| 114 | is properly shutdown, so do not be surprised if this code does not |
| 115 | initially work for you. As of this writing the exact hardware |
| 116 | interface is strongly in flux, so no good recommendation can be |
| 117 | made. |
| 118 | |
Geert Uytterhoeven | 7bc1e4d | 2013-08-21 22:36:32 +0200 | [diff] [blame] | 119 | config BOOTINFO_PROC |
| 120 | bool "Export bootinfo in procfs" |
| 121 | depends on KEXEC && M68KCLASSIC |
| 122 | help |
| 123 | Say Y to export the bootinfo used to boot the kernel in a |
| 124 | "bootinfo" file in procfs. This is useful with kexec. |
| 125 | |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 126 | menu "Platform setup" |
| 127 | |
| 128 | source arch/m68k/Kconfig.cpu |
| 129 | |
| 130 | source arch/m68k/Kconfig.machine |
| 131 | |
| 132 | source arch/m68k/Kconfig.bus |
| 133 | |
| 134 | endmenu |
| 135 | |
| 136 | menu "Kernel Features" |
| 137 | |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 138 | endmenu |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 139 | |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 140 | if !MMU |
| 141 | menu "Power management options" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 142 | |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 143 | config PM |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 144 | bool "Power Management support" |
| 145 | help |
| 146 | Support processor power management modes |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 147 | |
| 148 | endmenu |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 149 | endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 150 | |
Greg Ungerer | 0e152d8 | 2011-06-20 15:49:09 +1000 | [diff] [blame] | 151 | source "arch/m68k/Kconfig.devices" |