xref: /kernel/linux/linux-5.10/arch/m68k/Kconfig (revision 8c2ecf20)
18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ciconfig M68K
38c2ecf20Sopenharmony_ci	bool
48c2ecf20Sopenharmony_ci	default y
58c2ecf20Sopenharmony_ci	select ARCH_32BIT_OFF_T
68c2ecf20Sopenharmony_ci	select ARCH_HAS_BINFMT_FLAT
78c2ecf20Sopenharmony_ci	select ARCH_HAS_CPU_FINALIZE_INIT if MMU
88c2ecf20Sopenharmony_ci	select ARCH_HAS_DMA_PREP_COHERENT if HAS_DMA && MMU && !COLDFIRE
98c2ecf20Sopenharmony_ci	select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA
108c2ecf20Sopenharmony_ci	select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
118c2ecf20Sopenharmony_ci	select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
128c2ecf20Sopenharmony_ci	select ARCH_NO_PREEMPT if !COLDFIRE
138c2ecf20Sopenharmony_ci	select ARCH_WANT_IPC_PARSE_VERSION
148c2ecf20Sopenharmony_ci	select BINFMT_FLAT_ARGVP_ENVP_ON_STACK
158c2ecf20Sopenharmony_ci	select DMA_DIRECT_REMAP if HAS_DMA && MMU && !COLDFIRE
168c2ecf20Sopenharmony_ci	select GENERIC_ATOMIC64
178c2ecf20Sopenharmony_ci	select GENERIC_CPU_DEVICES
188c2ecf20Sopenharmony_ci	select GENERIC_IOMAP
198c2ecf20Sopenharmony_ci	select GENERIC_IRQ_SHOW
208c2ecf20Sopenharmony_ci	select GENERIC_STRNCPY_FROM_USER if MMU
218c2ecf20Sopenharmony_ci	select GENERIC_STRNLEN_USER if MMU
228c2ecf20Sopenharmony_ci	select HAVE_AOUT if MMU
238c2ecf20Sopenharmony_ci	select HAVE_ASM_MODVERSIONS
248c2ecf20Sopenharmony_ci	select HAVE_DEBUG_BUGVERBOSE
258c2ecf20Sopenharmony_ci	select HAVE_FUTEX_CMPXCHG if MMU && FUTEX
268c2ecf20Sopenharmony_ci	select HAVE_IDE
278c2ecf20Sopenharmony_ci	select HAVE_MOD_ARCH_SPECIFIC
288c2ecf20Sopenharmony_ci	select HAVE_UID16
298c2ecf20Sopenharmony_ci	select MMU_GATHER_NO_RANGE if MMU
308c2ecf20Sopenharmony_ci	select MODULES_USE_ELF_REL
318c2ecf20Sopenharmony_ci	select MODULES_USE_ELF_RELA
328c2ecf20Sopenharmony_ci	select NO_DMA if !MMU && !COLDFIRE
338c2ecf20Sopenharmony_ci	select OLD_SIGACTION
348c2ecf20Sopenharmony_ci	select OLD_SIGSUSPEND3
358c2ecf20Sopenharmony_ci	select SET_FS
368c2ecf20Sopenharmony_ci	select UACCESS_MEMCPY if !MMU
378c2ecf20Sopenharmony_ci	select VIRT_TO_BUS
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ciconfig CPU_BIG_ENDIAN
408c2ecf20Sopenharmony_ci	def_bool y
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ciconfig ARCH_HAS_ILOG2_U32
438c2ecf20Sopenharmony_ci	bool
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ciconfig ARCH_HAS_ILOG2_U64
468c2ecf20Sopenharmony_ci	bool
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ciconfig GENERIC_HWEIGHT
498c2ecf20Sopenharmony_ci	bool
508c2ecf20Sopenharmony_ci	default y
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ciconfig GENERIC_CALIBRATE_DELAY
538c2ecf20Sopenharmony_ci	bool
548c2ecf20Sopenharmony_ci	default y
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ciconfig GENERIC_CSUM
578c2ecf20Sopenharmony_ci	bool
588c2ecf20Sopenharmony_ci
598c2ecf20Sopenharmony_ciconfig TIME_LOW_RES
608c2ecf20Sopenharmony_ci	bool
618c2ecf20Sopenharmony_ci	default y
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ciconfig NO_IOPORT_MAP
648c2ecf20Sopenharmony_ci	def_bool y
658c2ecf20Sopenharmony_ci
668c2ecf20Sopenharmony_ciconfig ZONE_DMA
678c2ecf20Sopenharmony_ci	bool
688c2ecf20Sopenharmony_ci	default y
698c2ecf20Sopenharmony_ci
708c2ecf20Sopenharmony_ciconfig HZ
718c2ecf20Sopenharmony_ci	int
728c2ecf20Sopenharmony_ci	default 1000 if CLEOPATRA
738c2ecf20Sopenharmony_ci	default 100
748c2ecf20Sopenharmony_ci
758c2ecf20Sopenharmony_ciconfig PGTABLE_LEVELS
768c2ecf20Sopenharmony_ci	default 2 if SUN3 || COLDFIRE
778c2ecf20Sopenharmony_ci	default 3
788c2ecf20Sopenharmony_ci
798c2ecf20Sopenharmony_ciconfig MMU
808c2ecf20Sopenharmony_ci	bool "MMU-based Paged Memory Management Support"
818c2ecf20Sopenharmony_ci	default y
828c2ecf20Sopenharmony_ci	help
838c2ecf20Sopenharmony_ci	  Select if you want MMU-based virtualised addressing space
848c2ecf20Sopenharmony_ci	  support by paged memory management. If unsure, say 'Y'.
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ciconfig MMU_MOTOROLA
878c2ecf20Sopenharmony_ci	bool
888c2ecf20Sopenharmony_ci
898c2ecf20Sopenharmony_ciconfig MMU_COLDFIRE
908c2ecf20Sopenharmony_ci	bool
918c2ecf20Sopenharmony_ci
928c2ecf20Sopenharmony_ciconfig MMU_SUN3
938c2ecf20Sopenharmony_ci	bool
948c2ecf20Sopenharmony_ci	depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ciconfig KEXEC
978c2ecf20Sopenharmony_ci	bool "kexec system call"
988c2ecf20Sopenharmony_ci	depends on M68KCLASSIC
998c2ecf20Sopenharmony_ci	select KEXEC_CORE
1008c2ecf20Sopenharmony_ci	help
1018c2ecf20Sopenharmony_ci	  kexec is a system call that implements the ability to shutdown your
1028c2ecf20Sopenharmony_ci	  current kernel, and to start another kernel.  It is like a reboot
1038c2ecf20Sopenharmony_ci	  but it is independent of the system firmware.   And like a reboot
1048c2ecf20Sopenharmony_ci	  you can start any kernel with it, not just Linux.
1058c2ecf20Sopenharmony_ci
1068c2ecf20Sopenharmony_ci	  The name comes from the similarity to the exec system call.
1078c2ecf20Sopenharmony_ci
1088c2ecf20Sopenharmony_ci	  It is an ongoing process to be certain the hardware in a machine
1098c2ecf20Sopenharmony_ci	  is properly shutdown, so do not be surprised if this code does not
1108c2ecf20Sopenharmony_ci	  initially work for you.  As of this writing the exact hardware
1118c2ecf20Sopenharmony_ci	  interface is strongly in flux, so no good recommendation can be
1128c2ecf20Sopenharmony_ci	  made.
1138c2ecf20Sopenharmony_ci
1148c2ecf20Sopenharmony_ciconfig BOOTINFO_PROC
1158c2ecf20Sopenharmony_ci	bool "Export bootinfo in procfs"
1168c2ecf20Sopenharmony_ci	depends on KEXEC && M68KCLASSIC
1178c2ecf20Sopenharmony_ci	help
1188c2ecf20Sopenharmony_ci	  Say Y to export the bootinfo used to boot the kernel in a
1198c2ecf20Sopenharmony_ci	  "bootinfo" file in procfs.  This is useful with kexec.
1208c2ecf20Sopenharmony_ci
1218c2ecf20Sopenharmony_cimenu "Platform setup"
1228c2ecf20Sopenharmony_ci
1238c2ecf20Sopenharmony_cisource "arch/m68k/Kconfig.cpu"
1248c2ecf20Sopenharmony_ci
1258c2ecf20Sopenharmony_cisource "arch/m68k/Kconfig.machine"
1268c2ecf20Sopenharmony_ci
1278c2ecf20Sopenharmony_cisource "arch/m68k/Kconfig.bus"
1288c2ecf20Sopenharmony_ci
1298c2ecf20Sopenharmony_ciendmenu
1308c2ecf20Sopenharmony_ci
1318c2ecf20Sopenharmony_cimenu "Kernel Features"
1328c2ecf20Sopenharmony_ci
1338c2ecf20Sopenharmony_ciendmenu
1348c2ecf20Sopenharmony_ci
1358c2ecf20Sopenharmony_ciif !MMU
1368c2ecf20Sopenharmony_cimenu "Power management options"
1378c2ecf20Sopenharmony_ci
1388c2ecf20Sopenharmony_ciconfig PM
1398c2ecf20Sopenharmony_ci	bool "Power Management support"
1408c2ecf20Sopenharmony_ci	help
1418c2ecf20Sopenharmony_ci	  Support processor power management modes
1428c2ecf20Sopenharmony_ci
1438c2ecf20Sopenharmony_ciendmenu
1448c2ecf20Sopenharmony_ciendif
1458c2ecf20Sopenharmony_ci
1468c2ecf20Sopenharmony_cisource "arch/m68k/Kconfig.devices"
147