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