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