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 7 select ARCH_HAS_CPU_FINALIZE_INIT if MMU 9 select ARCH_HAS_CURRENT_STACK_POINTER 8 select ARCH_HAS_CURRENT_STACK_POINTER 10 select ARCH_HAS_DMA_PREP_COHERENT if M 9 select ARCH_HAS_DMA_PREP_COHERENT if M68K_NONCOHERENT_DMA && !COLDFIRE 11 select ARCH_HAS_SYNC_DMA_FOR_DEVICE if 10 select ARCH_HAS_SYNC_DMA_FOR_DEVICE if M68K_NONCOHERENT_DMA 12 select ARCH_HAVE_NMI_SAFE_CMPXCHG if R 11 select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS 13 select ARCH_MIGHT_HAVE_PC_PARPORT if I 12 select ARCH_MIGHT_HAVE_PC_PARPORT if ISA 14 select ARCH_NO_PREEMPT if !COLDFIRE 13 select ARCH_NO_PREEMPT if !COLDFIRE 15 select ARCH_USE_MEMTEST if MMU_MOTOROL 14 select ARCH_USE_MEMTEST if MMU_MOTOROLA 16 select ARCH_WANT_IPC_PARSE_VERSION 15 select ARCH_WANT_IPC_PARSE_VERSION 17 select BINFMT_FLAT_ARGVP_ENVP_ON_STACK 16 select BINFMT_FLAT_ARGVP_ENVP_ON_STACK 18 select DMA_DIRECT_REMAP if M68K_NONCOH 17 select DMA_DIRECT_REMAP if M68K_NONCOHERENT_DMA && !COLDFIRE 19 select GENERIC_ATOMIC64 18 select GENERIC_ATOMIC64 20 select GENERIC_CPU_DEVICES 19 select GENERIC_CPU_DEVICES 21 select GENERIC_IOMAP if HAS_IOPORT !! 20 select GENERIC_IOMAP 22 select GENERIC_IRQ_SHOW 21 select GENERIC_IRQ_SHOW 23 select GENERIC_LIB_ASHLDI3 22 select GENERIC_LIB_ASHLDI3 24 select GENERIC_LIB_ASHRDI3 23 select GENERIC_LIB_ASHRDI3 25 select GENERIC_LIB_LSHRDI3 24 select GENERIC_LIB_LSHRDI3 26 select HAS_IOPORT if PCI || ISA || ATA 25 select HAS_IOPORT if PCI || ISA || ATARI_ROM_ISA 27 select HAVE_ARCH_SECCOMP 26 select HAVE_ARCH_SECCOMP 28 select HAVE_ARCH_SECCOMP_FILTER 27 select HAVE_ARCH_SECCOMP_FILTER 29 select HAVE_ASM_MODVERSIONS 28 select HAVE_ASM_MODVERSIONS 30 select HAVE_DEBUG_BUGVERBOSE 29 select HAVE_DEBUG_BUGVERBOSE 31 select HAVE_EFFICIENT_UNALIGNED_ACCESS 30 select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED 32 select HAVE_MOD_ARCH_SPECIFIC 31 select HAVE_MOD_ARCH_SPECIFIC 33 select HAVE_UID16 32 select HAVE_UID16 34 select MMU_GATHER_NO_RANGE if MMU 33 select MMU_GATHER_NO_RANGE if MMU 35 select MODULES_USE_ELF_REL 34 select MODULES_USE_ELF_REL 36 select MODULES_USE_ELF_RELA 35 select MODULES_USE_ELF_RELA 37 select NO_DMA if !MMU && !COLDFIRE 36 select NO_DMA if !MMU && !COLDFIRE 38 select OLD_SIGACTION 37 select OLD_SIGACTION 39 select OLD_SIGSUSPEND3 38 select OLD_SIGSUSPEND3 40 select UACCESS_MEMCPY if !MMU 39 select UACCESS_MEMCPY if !MMU 41 select ZONE_DMA 40 select ZONE_DMA 42 41 43 config CPU_BIG_ENDIAN 42 config CPU_BIG_ENDIAN 44 def_bool y 43 def_bool y 45 44 46 config ARCH_HAS_ILOG2_U32 45 config ARCH_HAS_ILOG2_U32 47 bool 46 bool 48 47 49 config ARCH_HAS_ILOG2_U64 48 config ARCH_HAS_ILOG2_U64 50 bool 49 bool 51 50 52 config GENERIC_HWEIGHT 51 config GENERIC_HWEIGHT 53 bool 52 bool 54 default y 53 default y 55 54 56 config GENERIC_CALIBRATE_DELAY 55 config GENERIC_CALIBRATE_DELAY 57 bool 56 bool 58 default y 57 default y 59 58 60 config GENERIC_CSUM 59 config GENERIC_CSUM 61 bool 60 bool 62 61 63 config TIME_LOW_RES 62 config TIME_LOW_RES 64 bool 63 bool 65 default y 64 default y 66 65 67 config NO_IOPORT_MAP 66 config NO_IOPORT_MAP 68 def_bool y 67 def_bool y 69 68 70 config HZ 69 config HZ 71 int 70 int 72 default 1000 if CLEOPATRA 71 default 1000 if CLEOPATRA 73 default 100 72 default 100 74 73 75 config PGTABLE_LEVELS 74 config PGTABLE_LEVELS 76 default 2 if SUN3 || COLDFIRE 75 default 2 if SUN3 || COLDFIRE 77 default 3 76 default 3 78 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 ARCH_SUPPORTS_KEXEC 100 def_bool M68KCLASSIC && MMU 96 def_bool M68KCLASSIC && MMU 101 97 102 config BOOTINFO_PROC 98 config BOOTINFO_PROC 103 bool "Export bootinfo in procfs" 99 bool "Export bootinfo in procfs" 104 depends on KEXEC && M68KCLASSIC 100 depends on KEXEC && M68KCLASSIC 105 help 101 help 106 Say Y to export the bootinfo used to 102 Say Y to export the bootinfo used to boot the kernel in a 107 "bootinfo" file in procfs. This is 103 "bootinfo" file in procfs. This is useful with kexec. 108 104 109 menu "Platform setup" 105 menu "Platform setup" 110 106 111 source "arch/m68k/Kconfig.cpu" 107 source "arch/m68k/Kconfig.cpu" 112 108 113 source "arch/m68k/Kconfig.machine" 109 source "arch/m68k/Kconfig.machine" 114 110 115 source "arch/m68k/Kconfig.bus" 111 source "arch/m68k/Kconfig.bus" 116 112 117 endmenu 113 endmenu 118 114 119 menu "Kernel Features" 115 menu "Kernel Features" 120 116 121 endmenu 117 endmenu 122 118 123 if !MMU 119 if !MMU 124 menu "Power management options" 120 menu "Power management options" 125 121 126 config PM 122 config PM 127 bool "Power Management support" 123 bool "Power Management support" 128 help 124 help 129 Support processor power management m 125 Support processor power management modes 130 126 131 endmenu 127 endmenu 132 endif 128 endif 133 129 134 source "arch/m68k/Kconfig.devices" 130 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.