162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ciconfig M68K
362306a36Sopenharmony_ci	bool
462306a36Sopenharmony_ci	default y
562306a36Sopenharmony_ci	select ARCH_32BIT_OFF_T
662306a36Sopenharmony_ci	select ARCH_HAS_BINFMT_FLAT
762306a36Sopenharmony_ci	select ARCH_HAS_CPU_FINALIZE_INIT if MMU
862306a36Sopenharmony_ci	select ARCH_HAS_CURRENT_STACK_POINTER
962306a36Sopenharmony_ci	select ARCH_HAS_DMA_PREP_COHERENT if HAS_DMA && MMU && !COLDFIRE
1062306a36Sopenharmony_ci	select ARCH_HAS_SYNC_DMA_FOR_DEVICE if HAS_DMA
1162306a36Sopenharmony_ci	select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
1262306a36Sopenharmony_ci	select ARCH_MIGHT_HAVE_PC_PARPORT if ISA
1362306a36Sopenharmony_ci	select ARCH_NO_PREEMPT if !COLDFIRE
1462306a36Sopenharmony_ci	select ARCH_USE_MEMTEST if MMU_MOTOROLA
1562306a36Sopenharmony_ci	select ARCH_WANT_IPC_PARSE_VERSION
1662306a36Sopenharmony_ci	select BINFMT_FLAT_ARGVP_ENVP_ON_STACK
1762306a36Sopenharmony_ci	select DMA_DIRECT_REMAP if HAS_DMA && MMU && !COLDFIRE
1862306a36Sopenharmony_ci	select GENERIC_ATOMIC64
1962306a36Sopenharmony_ci	select GENERIC_CPU_DEVICES
2062306a36Sopenharmony_ci	select GENERIC_IOMAP
2162306a36Sopenharmony_ci	select GENERIC_IRQ_SHOW
2262306a36Sopenharmony_ci	select HAS_IOPORT if PCI || ISA || ATARI_ROM_ISA
2362306a36Sopenharmony_ci	select HAVE_ARCH_SECCOMP
2462306a36Sopenharmony_ci	select HAVE_ARCH_SECCOMP_FILTER
2562306a36Sopenharmony_ci	select HAVE_ASM_MODVERSIONS
2662306a36Sopenharmony_ci	select HAVE_DEBUG_BUGVERBOSE
2762306a36Sopenharmony_ci	select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_HAS_NO_UNALIGNED
2862306a36Sopenharmony_ci	select HAVE_MOD_ARCH_SPECIFIC
2962306a36Sopenharmony_ci	select HAVE_UID16
3062306a36Sopenharmony_ci	select MMU_GATHER_NO_RANGE if MMU
3162306a36Sopenharmony_ci	select MODULES_USE_ELF_REL
3262306a36Sopenharmony_ci	select MODULES_USE_ELF_RELA
3362306a36Sopenharmony_ci	select NO_DMA if !MMU && !COLDFIRE
3462306a36Sopenharmony_ci	select OLD_SIGACTION
3562306a36Sopenharmony_ci	select OLD_SIGSUSPEND3
3662306a36Sopenharmony_ci	select UACCESS_MEMCPY if !MMU
3762306a36Sopenharmony_ci	select ZONE_DMA
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciconfig CPU_BIG_ENDIAN
4062306a36Sopenharmony_ci	def_bool y
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ciconfig ARCH_HAS_ILOG2_U32
4362306a36Sopenharmony_ci	bool
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciconfig ARCH_HAS_ILOG2_U64
4662306a36Sopenharmony_ci	bool
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ciconfig GENERIC_HWEIGHT
4962306a36Sopenharmony_ci	bool
5062306a36Sopenharmony_ci	default y
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ciconfig GENERIC_CALIBRATE_DELAY
5362306a36Sopenharmony_ci	bool
5462306a36Sopenharmony_ci	default y
5562306a36Sopenharmony_ci
5662306a36Sopenharmony_ciconfig GENERIC_CSUM
5762306a36Sopenharmony_ci	bool
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ciconfig TIME_LOW_RES
6062306a36Sopenharmony_ci	bool
6162306a36Sopenharmony_ci	default y
6262306a36Sopenharmony_ci
6362306a36Sopenharmony_ciconfig NO_IOPORT_MAP
6462306a36Sopenharmony_ci	def_bool y
6562306a36Sopenharmony_ci
6662306a36Sopenharmony_ciconfig HZ
6762306a36Sopenharmony_ci	int
6862306a36Sopenharmony_ci	default 1000 if CLEOPATRA
6962306a36Sopenharmony_ci	default 100
7062306a36Sopenharmony_ci
7162306a36Sopenharmony_ciconfig PGTABLE_LEVELS
7262306a36Sopenharmony_ci	default 2 if SUN3 || COLDFIRE
7362306a36Sopenharmony_ci	default 3
7462306a36Sopenharmony_ci
7562306a36Sopenharmony_ciconfig MMU
7662306a36Sopenharmony_ci	bool "MMU-based Paged Memory Management Support"
7762306a36Sopenharmony_ci	default y
7862306a36Sopenharmony_ci	help
7962306a36Sopenharmony_ci	  Select if you want MMU-based virtualised addressing space
8062306a36Sopenharmony_ci	  support by paged memory management. If unsure, say 'Y'.
8162306a36Sopenharmony_ci
8262306a36Sopenharmony_ciconfig MMU_MOTOROLA
8362306a36Sopenharmony_ci	bool
8462306a36Sopenharmony_ci
8562306a36Sopenharmony_ciconfig MMU_COLDFIRE
8662306a36Sopenharmony_ci	bool
8762306a36Sopenharmony_ci
8862306a36Sopenharmony_ciconfig MMU_SUN3
8962306a36Sopenharmony_ci	bool
9062306a36Sopenharmony_ci	depends on MMU && !MMU_MOTOROLA && !MMU_COLDFIRE
9162306a36Sopenharmony_ci
9262306a36Sopenharmony_ciconfig ARCH_SUPPORTS_KEXEC
9362306a36Sopenharmony_ci	def_bool M68KCLASSIC && MMU
9462306a36Sopenharmony_ci
9562306a36Sopenharmony_ciconfig BOOTINFO_PROC
9662306a36Sopenharmony_ci	bool "Export bootinfo in procfs"
9762306a36Sopenharmony_ci	depends on KEXEC && M68KCLASSIC
9862306a36Sopenharmony_ci	help
9962306a36Sopenharmony_ci	  Say Y to export the bootinfo used to boot the kernel in a
10062306a36Sopenharmony_ci	  "bootinfo" file in procfs.  This is useful with kexec.
10162306a36Sopenharmony_ci
10262306a36Sopenharmony_cimenu "Platform setup"
10362306a36Sopenharmony_ci
10462306a36Sopenharmony_cisource "arch/m68k/Kconfig.cpu"
10562306a36Sopenharmony_ci
10662306a36Sopenharmony_cisource "arch/m68k/Kconfig.machine"
10762306a36Sopenharmony_ci
10862306a36Sopenharmony_cisource "arch/m68k/Kconfig.bus"
10962306a36Sopenharmony_ci
11062306a36Sopenharmony_ciendmenu
11162306a36Sopenharmony_ci
11262306a36Sopenharmony_cimenu "Kernel Features"
11362306a36Sopenharmony_ci
11462306a36Sopenharmony_ciendmenu
11562306a36Sopenharmony_ci
11662306a36Sopenharmony_ciif !MMU
11762306a36Sopenharmony_cimenu "Power management options"
11862306a36Sopenharmony_ci
11962306a36Sopenharmony_ciconfig PM
12062306a36Sopenharmony_ci	bool "Power Management support"
12162306a36Sopenharmony_ci	help
12262306a36Sopenharmony_ci	  Support processor power management modes
12362306a36Sopenharmony_ci
12462306a36Sopenharmony_ciendmenu
12562306a36Sopenharmony_ciendif
12662306a36Sopenharmony_ci
12762306a36Sopenharmony_cisource "arch/m68k/Kconfig.devices"
128