Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0
config CONFIG_M68K
	bool
	default y
	select CONFIG_ARCH_32BIT_OFF_T
	select CONFIG_ARCH_HAS_BINFMT_FLAT
	select CONFIG_ARCH_HAS_DMA_PREP_COHERENT if CONFIG_HAS_DMA && CONFIG_MMU && !CONFIG_COLDFIRE
	select CONFIG_ARCH_HAS_SYNC_DMA_FOR_DEVICE if CONFIG_HAS_DMA
	select CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT if CONFIG_ISA
	select CONFIG_ARCH_NO_PREEMPT if !CONFIG_COLDFIRE
	select CONFIG_BINFMT_FLAT_ARGVP_ENVP_ON_STACK
	select CONFIG_DMA_DIRECT_REMAP if CONFIG_HAS_DMA && CONFIG_MMU && !CONFIG_COLDFIRE
	select CONFIG_HAVE_IDE
	select CONFIG_HAVE_AOUT if CONFIG_MMU
	select CONFIG_HAVE_ASM_MODVERSIONS
	select CONFIG_HAVE_DEBUG_BUGVERBOSE
	select CONFIG_GENERIC_IRQ_SHOW
	select CONFIG_GENERIC_ATOMIC64
	select CONFIG_HAVE_UID16
	select CONFIG_VIRT_TO_BUS
	select CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG if CONFIG_RMW_INSNS
	select CONFIG_GENERIC_CPU_DEVICES
	select CONFIG_GENERIC_IOMAP
	select CONFIG_GENERIC_STRNCPY_FROM_USER if CONFIG_MMU
	select CONFIG_GENERIC_STRNLEN_USER if CONFIG_MMU
	select CONFIG_ARCH_WANT_IPC_PARSE_VERSION
	select CONFIG_HAVE_FUTEX_CMPXCHG if CONFIG_MMU && CONFIG_FUTEX
	select CONFIG_HAVE_MOD_ARCH_SPECIFIC
	select CONFIG_MODULES_USE_ELF_REL
	select CONFIG_MODULES_USE_ELF_RELA
	select CONFIG_OLD_SIGSUSPEND3
	select CONFIG_OLD_SIGACTION
	select MMU_GATHER_NO_RANGE if CONFIG_MMU

config CONFIG_CPU_BIG_ENDIAN
	def_bool y

config CONFIG_ARCH_HAS_ILOG2_U32
	bool

config CONFIG_ARCH_HAS_ILOG2_U64
	bool

config CONFIG_GENERIC_HWEIGHT
	bool
	default y

config CONFIG_GENERIC_CALIBRATE_DELAY
	bool
	default y

config CONFIG_GENERIC_CSUM
	bool

config CONFIG_TIME_LOW_RES
	bool
	default y

config CONFIG_NO_IOPORT_MAP
	def_bool y

config CONFIG_NO_DMA
	def_bool (CONFIG_MMU && CONFIG_SUN3) || (!CONFIG_MMU && !CONFIG_COLDFIRE)

config CONFIG_ZONE_DMA
	bool
	default y

config CONFIG_HZ
	int
	default 1000 if CONFIG_CLEOPATRA
	default 100

config CONFIG_PGTABLE_LEVELS
	default 2 if CONFIG_SUN3 || CONFIG_COLDFIRE
	default 3

config CONFIG_MMU
	bool "MMU-based Paged Memory Management Support"
	default y
	help
	  Select if you want CONFIG_MMU-based virtualised addressing space
	  support by paged memory management. If unsure, say 'Y'.

config CONFIG_MMU_MOTOROLA
	bool

config CONFIG_MMU_COLDFIRE
	bool

config CONFIG_MMU_SUN3
	bool
	depends on CONFIG_MMU && !CONFIG_MMU_MOTOROLA && !CONFIG_MMU_COLDFIRE

config CONFIG_KEXEC
	bool "kexec system call"
	depends on CONFIG_M68KCLASSIC
	select CONFIG_KEXEC_CORE
	help
	  kexec is a system call that implements the ability to shutdown your
	  current kernel, and to start another kernel.  It is like a reboot
	  but it is independent of the system firmware.   And like a reboot
	  you can start any kernel with it, not just Linux.

	  The name comes from the similarity to the exec system call.

	  It is an ongoing process to be certain the hardware in a machine
	  is properly shutdown, so do not be surprised if this code does not
	  initially work for you.  As of this writing the exact hardware
	  interface is strongly in flux, so no good recommendation can be
	  made.

config CONFIG_BOOTINFO_PROC
	bool "Export bootinfo in procfs"
	depends on CONFIG_KEXEC && CONFIG_M68KCLASSIC
	help
	  Say Y to export the bootinfo used to boot the kernel in a
	  "bootinfo" file in procfs.  This is useful with kexec.

menu "Platform setup"

source "arch/m68k/Kconfig.cpu"

source "arch/m68k/Kconfig.machine"

source "arch/m68k/Kconfig.bus"

endmenu

menu "Kernel Features"

endmenu

if !CONFIG_MMU
menu "Power management options"

config CONFIG_PM
	bool "Power Management support"
	help
	  Support processor power management modes

endmenu
endif

source "arch/m68k/Kconfig.devices"