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