1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 config M68K 2 config M68K 3 bool 3 bool 4 default y 4 default y 5 select ARCH_32BIT_OFF_T 5 select ARCH_32BIT_OFF_T 6 select ARCH_HAS_BINFMT_FLAT !! 6 select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA 7 select ARCH_HAS_CPU_CACHE_ALIASING << 8 select ARCH_HAS_CPU_FINALIZE_INIT if M << 9 select ARCH_HAS_CURRENT_STACK_POINTER << 10 select ARCH_HAS_DMA_PREP_COHERENT if M << 11 select ARCH_HAS_SYNC_DMA_FOR_DEVICE if << 12 select ARCH_HAVE_NMI_SAFE_CMPXCHG if R << 13 select ARCH_MIGHT_HAVE_PC_PARPORT if I 7 select ARCH_MIGHT_HAVE_PC_PARPORT if ISA >> 8 select ARCH_NO_COHERENT_DMA_MMAP if !MMU 14 select ARCH_NO_PREEMPT if !COLDFIRE 9 select ARCH_NO_PREEMPT if !COLDFIRE 15 select ARCH_USE_MEMTEST if MMU_MOTOROL !! 10 select HAVE_IDE 16 select ARCH_WANT_IPC_PARSE_VERSION !! 11 select HAVE_AOUT if MMU 17 select BINFMT_FLAT_ARGVP_ENVP_ON_STACK !! 12 select HAVE_DEBUG_BUGVERBOSE 18 select DMA_DIRECT_REMAP if M68K_NONCOH !! 13 select GENERIC_IRQ_SHOW 19 select GENERIC_ATOMIC64 14 select GENERIC_ATOMIC64 >> 15 select HAVE_UID16 >> 16 select VIRT_TO_BUS >> 17 select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS 20 select GENERIC_CPU_DEVICES 18 select GENERIC_CPU_DEVICES 21 select GENERIC_IOMAP if HAS_IOPORT !! 19 select GENERIC_IOMAP 22 select GENERIC_IRQ_SHOW !! 20 select GENERIC_STRNCPY_FROM_USER if MMU 23 select GENERIC_LIB_ASHLDI3 !! 21 select GENERIC_STRNLEN_USER if MMU 24 select GENERIC_LIB_ASHRDI3 !! 22 select ARCH_WANT_IPC_PARSE_VERSION 25 select GENERIC_LIB_LSHRDI3 !! 23 select ARCH_USES_GETTIMEOFFSET if MMU && !COLDFIRE 26 select HAS_IOPORT if PCI || ISA || ATA !! 24 select HAVE_FUTEX_CMPXCHG if MMU && FUTEX 27 select HAVE_ARCH_SECCOMP << 28 select HAVE_ARCH_SECCOMP_FILTER << 29 select HAVE_ASM_MODVERSIONS << 30 select HAVE_DEBUG_BUGVERBOSE << 31 select HAVE_EFFICIENT_UNALIGNED_ACCESS << 32 select HAVE_MOD_ARCH_SPECIFIC 25 select HAVE_MOD_ARCH_SPECIFIC 33 select HAVE_UID16 << 34 select MMU_GATHER_NO_RANGE if MMU << 35 select MODULES_USE_ELF_REL 26 select MODULES_USE_ELF_REL 36 select MODULES_USE_ELF_RELA 27 select MODULES_USE_ELF_RELA 37 select NO_DMA if !MMU && !COLDFIRE << 38 select OLD_SIGACTION << 39 select OLD_SIGSUSPEND3 28 select OLD_SIGSUSPEND3 40 select UACCESS_MEMCPY if !MMU !! 29 select OLD_SIGACTION 41 select ZONE_DMA !! 30 select ARCH_DISCARD_MEMBLOCK 42 31 43 config CPU_BIG_ENDIAN 32 config CPU_BIG_ENDIAN 44 def_bool y 33 def_bool y 45 34 >> 35 config RWSEM_GENERIC_SPINLOCK >> 36 bool >> 37 default y >> 38 >> 39 config RWSEM_XCHGADD_ALGORITHM >> 40 bool >> 41 46 config ARCH_HAS_ILOG2_U32 42 config ARCH_HAS_ILOG2_U32 47 bool 43 bool 48 44 49 config ARCH_HAS_ILOG2_U64 45 config ARCH_HAS_ILOG2_U64 50 bool 46 bool 51 47 52 config GENERIC_HWEIGHT 48 config GENERIC_HWEIGHT 53 bool 49 bool 54 default y 50 default y 55 51 56 config GENERIC_CALIBRATE_DELAY 52 config GENERIC_CALIBRATE_DELAY 57 bool 53 bool 58 default y 54 default y 59 55 60 config GENERIC_CSUM 56 config GENERIC_CSUM 61 bool 57 bool 62 58 63 config TIME_LOW_RES 59 config TIME_LOW_RES 64 bool 60 bool 65 default y 61 default y 66 62 67 config NO_IOPORT_MAP 63 config NO_IOPORT_MAP 68 def_bool y 64 def_bool y 69 65 >> 66 config NO_DMA >> 67 def_bool (MMU && SUN3) || (!MMU && !COLDFIRE) >> 68 >> 69 config ZONE_DMA >> 70 bool >> 71 default y >> 72 70 config HZ 73 config HZ 71 int 74 int 72 default 1000 if CLEOPATRA 75 default 1000 if CLEOPATRA 73 default 100 76 default 100 74 77 75 config PGTABLE_LEVELS 78 config PGTABLE_LEVELS 76 default 2 if SUN3 || COLDFIRE 79 default 2 if SUN3 || COLDFIRE 77 default 3 80 default 3 78 81 79 config MMU 82 config MMU 80 bool "MMU-based Paged Memory Managemen 83 bool "MMU-based Paged Memory Management Support" 81 default y 84 default y 82 help 85 help 83 Select if you want MMU-based virtual 86 Select if you want MMU-based virtualised addressing space 84 support by paged memory management. 87 support by paged memory management. If unsure, say 'Y'. 85 88 86 config MMU_MOTOROLA 89 config MMU_MOTOROLA 87 bool 90 bool 88 select HAVE_PAGE_SIZE_4KB << 89 91 90 config MMU_COLDFIRE 92 config MMU_COLDFIRE 91 select HAVE_PAGE_SIZE_8KB << 92 bool 93 bool 93 94 94 config MMU_SUN3 95 config MMU_SUN3 95 bool 96 bool 96 select HAVE_PAGE_SIZE_8KB << 97 depends on MMU && !MMU_MOTOROLA && !MM 97 depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE 98 98 99 config ARCH_SUPPORTS_KEXEC !! 99 config KEXEC 100 def_bool M68KCLASSIC && MMU !! 100 bool "kexec system call" >> 101 depends on M68KCLASSIC >> 102 select KEXEC_CORE >> 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. 101 116 102 config BOOTINFO_PROC 117 config BOOTINFO_PROC 103 bool "Export bootinfo in procfs" 118 bool "Export bootinfo in procfs" 104 depends on KEXEC && M68KCLASSIC 119 depends on KEXEC && M68KCLASSIC 105 help 120 help 106 Say Y to export the bootinfo used to 121 Say Y to export the bootinfo used to boot the kernel in a 107 "bootinfo" file in procfs. This is 122 "bootinfo" file in procfs. This is useful with kexec. 108 123 109 menu "Platform setup" 124 menu "Platform setup" 110 125 111 source "arch/m68k/Kconfig.cpu" 126 source "arch/m68k/Kconfig.cpu" 112 127 113 source "arch/m68k/Kconfig.machine" 128 source "arch/m68k/Kconfig.machine" 114 129 115 source "arch/m68k/Kconfig.bus" 130 source "arch/m68k/Kconfig.bus" 116 131 117 endmenu 132 endmenu 118 133 119 menu "Kernel Features" 134 menu "Kernel Features" 120 135 121 endmenu 136 endmenu 122 137 123 if !MMU 138 if !MMU 124 menu "Power management options" 139 menu "Power management options" 125 140 126 config PM 141 config PM 127 bool "Power Management support" 142 bool "Power Management support" 128 help 143 help 129 Support processor power management m 144 Support processor power management modes 130 145 131 endmenu 146 endmenu 132 endif 147 endif 133 148 134 source "arch/m68k/Kconfig.devices" 149 source "arch/m68k/Kconfig.devices"
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.