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_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 7 select ARCH_HAS_CURRENT_STACK_POINTER 10 select ARCH_HAS_DMA_PREP_COHERENT if M !! 8 select ARCH_HAS_DMA_PREP_COHERENT if HAS_DMA && MMU && !COLDFIRE 11 select ARCH_HAS_SYNC_DMA_FOR_DEVICE if !! 9 select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA 12 select ARCH_HAVE_NMI_SAFE_CMPXCHG if R 10 select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS 13 select ARCH_MIGHT_HAVE_PC_PARPORT if I 11 select ARCH_MIGHT_HAVE_PC_PARPORT if ISA 14 select ARCH_NO_PREEMPT if !COLDFIRE 12 select ARCH_NO_PREEMPT if !COLDFIRE 15 select ARCH_USE_MEMTEST if MMU_MOTOROL 13 select ARCH_USE_MEMTEST if MMU_MOTOROLA 16 select ARCH_WANT_IPC_PARSE_VERSION 14 select ARCH_WANT_IPC_PARSE_VERSION 17 select BINFMT_FLAT_ARGVP_ENVP_ON_STACK 15 select BINFMT_FLAT_ARGVP_ENVP_ON_STACK 18 select DMA_DIRECT_REMAP if M68K_NONCOH !! 16 select DMA_DIRECT_REMAP if HAS_DMA && MMU && !COLDFIRE 19 select GENERIC_ATOMIC64 17 select GENERIC_ATOMIC64 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_IRQ_SHOW 23 select GENERIC_LIB_ASHLDI3 << 24 select GENERIC_LIB_ASHRDI3 << 25 select GENERIC_LIB_LSHRDI3 << 26 select HAS_IOPORT if PCI || ISA || ATA << 27 select HAVE_ARCH_SECCOMP << 28 select HAVE_ARCH_SECCOMP_FILTER << 29 select HAVE_ASM_MODVERSIONS 21 select HAVE_ASM_MODVERSIONS 30 select HAVE_DEBUG_BUGVERBOSE 22 select HAVE_DEBUG_BUGVERBOSE 31 select HAVE_EFFICIENT_UNALIGNED_ACCESS 23 select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED 32 select HAVE_MOD_ARCH_SPECIFIC 24 select HAVE_MOD_ARCH_SPECIFIC 33 select HAVE_UID16 25 select HAVE_UID16 34 select MMU_GATHER_NO_RANGE if MMU 26 select MMU_GATHER_NO_RANGE if MMU 35 select MODULES_USE_ELF_REL 27 select MODULES_USE_ELF_REL 36 select MODULES_USE_ELF_RELA 28 select MODULES_USE_ELF_RELA 37 select NO_DMA if !MMU && !COLDFIRE 29 select NO_DMA if !MMU && !COLDFIRE 38 select OLD_SIGACTION 30 select OLD_SIGACTION 39 select OLD_SIGSUSPEND3 31 select OLD_SIGSUSPEND3 40 select UACCESS_MEMCPY if !MMU 32 select UACCESS_MEMCPY if !MMU 41 select ZONE_DMA 33 select ZONE_DMA 42 34 43 config CPU_BIG_ENDIAN 35 config CPU_BIG_ENDIAN 44 def_bool y 36 def_bool y 45 37 46 config ARCH_HAS_ILOG2_U32 38 config ARCH_HAS_ILOG2_U32 47 bool 39 bool 48 40 49 config ARCH_HAS_ILOG2_U64 41 config ARCH_HAS_ILOG2_U64 50 bool 42 bool 51 43 52 config GENERIC_HWEIGHT 44 config GENERIC_HWEIGHT 53 bool 45 bool 54 default y 46 default y 55 47 56 config GENERIC_CALIBRATE_DELAY 48 config GENERIC_CALIBRATE_DELAY 57 bool 49 bool 58 default y 50 default y 59 51 60 config GENERIC_CSUM 52 config GENERIC_CSUM 61 bool 53 bool 62 54 63 config TIME_LOW_RES 55 config TIME_LOW_RES 64 bool 56 bool 65 default y 57 default y 66 58 67 config NO_IOPORT_MAP 59 config NO_IOPORT_MAP 68 def_bool y 60 def_bool y 69 61 70 config HZ 62 config HZ 71 int 63 int 72 default 1000 if CLEOPATRA 64 default 1000 if CLEOPATRA 73 default 100 65 default 100 74 66 75 config PGTABLE_LEVELS 67 config PGTABLE_LEVELS 76 default 2 if SUN3 || COLDFIRE 68 default 2 if SUN3 || COLDFIRE 77 default 3 69 default 3 78 70 79 config MMU 71 config MMU 80 bool "MMU-based Paged Memory Managemen 72 bool "MMU-based Paged Memory Management Support" 81 default y 73 default y 82 help 74 help 83 Select if you want MMU-based virtual 75 Select if you want MMU-based virtualised addressing space 84 support by paged memory management. 76 support by paged memory management. If unsure, say 'Y'. 85 77 86 config MMU_MOTOROLA 78 config MMU_MOTOROLA 87 bool 79 bool 88 select HAVE_PAGE_SIZE_4KB << 89 80 90 config MMU_COLDFIRE 81 config MMU_COLDFIRE 91 select HAVE_PAGE_SIZE_8KB << 92 bool 82 bool 93 83 94 config MMU_SUN3 84 config MMU_SUN3 95 bool 85 bool 96 select HAVE_PAGE_SIZE_8KB << 97 depends on MMU && !MMU_MOTOROLA && !MM 86 depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE 98 87 99 config ARCH_SUPPORTS_KEXEC !! 88 config KEXEC 100 def_bool M68KCLASSIC && MMU !! 89 bool "kexec system call" >> 90 depends on M68KCLASSIC && MMU >> 91 select KEXEC_CORE >> 92 help >> 93 kexec is a system call that implements the ability to shutdown your >> 94 current kernel, and to start another kernel. It is like a reboot >> 95 but it is independent of the system firmware. And like a reboot >> 96 you can start any kernel with it, not just Linux. >> 97 >> 98 The name comes from the similarity to the exec system call. >> 99 >> 100 It is an ongoing process to be certain the hardware in a machine >> 101 is properly shutdown, so do not be surprised if this code does not >> 102 initially work for you. As of this writing the exact hardware >> 103 interface is strongly in flux, so no good recommendation can be >> 104 made. 101 105 102 config BOOTINFO_PROC 106 config BOOTINFO_PROC 103 bool "Export bootinfo in procfs" 107 bool "Export bootinfo in procfs" 104 depends on KEXEC && M68KCLASSIC 108 depends on KEXEC && M68KCLASSIC 105 help 109 help 106 Say Y to export the bootinfo used to 110 Say Y to export the bootinfo used to boot the kernel in a 107 "bootinfo" file in procfs. This is 111 "bootinfo" file in procfs. This is useful with kexec. 108 112 109 menu "Platform setup" 113 menu "Platform setup" 110 114 111 source "arch/m68k/Kconfig.cpu" 115 source "arch/m68k/Kconfig.cpu" 112 116 113 source "arch/m68k/Kconfig.machine" 117 source "arch/m68k/Kconfig.machine" 114 118 115 source "arch/m68k/Kconfig.bus" 119 source "arch/m68k/Kconfig.bus" 116 120 117 endmenu 121 endmenu 118 122 119 menu "Kernel Features" 123 menu "Kernel Features" 120 124 121 endmenu 125 endmenu 122 126 123 if !MMU 127 if !MMU 124 menu "Power management options" 128 menu "Power management options" 125 129 126 config PM 130 config PM 127 bool "Power Management support" 131 bool "Power Management support" 128 help 132 help 129 Support processor power management m 133 Support processor power management modes 130 134 131 endmenu 135 endmenu 132 endif 136 endif 133 137 134 source "arch/m68k/Kconfig.devices" 138 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.