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-only
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.rst.
#

config CONFIG_NDS32
	def_bool y
	select CONFIG_ARCH_32BIT_OFF_T
	select CONFIG_ARCH_HAS_DMA_PREP_COHERENT
	select CONFIG_ARCH_HAS_SYNC_DMA_FOR_CPU
	select CONFIG_ARCH_HAS_SYNC_DMA_FOR_DEVICE
	select CONFIG_ARCH_WANT_FRAME_POINTERS if CONFIG_FTRACE
	select CONFIG_CLKSRC_MMIO
	select CONFIG_CLONE_BACKWARDS
	select CONFIG_COMMON_CLK
	select CONFIG_DMA_DIRECT_REMAP
	select CONFIG_GENERIC_ATOMIC64
	select CONFIG_GENERIC_CPU_DEVICES
	select CONFIG_GENERIC_CLOCKEVENTS
	select CONFIG_GENERIC_IRQ_CHIP
	select CONFIG_GENERIC_IRQ_SHOW
	select CONFIG_GENERIC_LIB_ASHLDI3
	select CONFIG_GENERIC_LIB_ASHRDI3
	select CONFIG_GENERIC_LIB_CMPDI2
	select CONFIG_GENERIC_LIB_LSHRDI3
	select CONFIG_GENERIC_LIB_MULDI3
	select CONFIG_GENERIC_LIB_UCMPDI2
	select CONFIG_GENERIC_STRNCPY_FROM_USER
	select CONFIG_GENERIC_STRNLEN_USER
	select CONFIG_GENERIC_TIME_VSYSCALL
	select CONFIG_HANDLE_DOMAIN_IRQ
	select CONFIG_HAVE_ARCH_TRACEHOOK
	select CONFIG_HAVE_DEBUG_KMEMLEAK
	select CONFIG_HAVE_EXIT_THREAD
	select CONFIG_HAVE_REGS_AND_STACK_ACCESS_API
	select CONFIG_HAVE_PERF_EVENTS
	select CONFIG_IRQ_DOMAIN
	select CONFIG_LOCKDEP_SUPPORT
	select CONFIG_MODULES_USE_ELF_RELA
	select CONFIG_OF
	select CONFIG_OF_EARLY_FLATTREE
	select CONFIG_NO_IOPORT_MAP
	select CONFIG_RTC_LIB
	select CONFIG_THREAD_INFO_IN_TASK
	select CONFIG_HAVE_FUNCTION_TRACER
	select CONFIG_HAVE_FUNCTION_GRAPH_TRACER
	select CONFIG_HAVE_FTRACE_MCOUNT_RECORD
	select CONFIG_HAVE_DYNAMIC_FTRACE
	help
	  Andes(nds32) Linux support.

config CONFIG_GENERIC_CALIBRATE_DELAY
	def_bool y

config CONFIG_GENERIC_CSUM
	def_bool y

config CONFIG_GENERIC_HWEIGHT
	def_bool y

config CONFIG_GENERIC_LOCKBREAK
	def_bool y
	depends on CONFIG_PREEMPT

config CONFIG_TRACE_IRQFLAGS_SUPPORT
	def_bool y

config CONFIG_STACKTRACE_SUPPORT
	def_bool y

config CONFIG_FIX_EARLYCON_MEM
	def_bool y

config CONFIG_PGTABLE_LEVELS
	default 2

menu "System Type"
source "arch/nds32/Kconfig.cpu"
config CONFIG_NR_CPUS
	int
	default 1

config CONFIG_MMU
	def_bool y

config CONFIG_NDS32_BUILTIN_DTB
	string "Builtin DTB"
	default ""
	help
	  User can use it to specify the dts of the SoC
endmenu

menu "Kernel Features"
source "kernel/Kconfig.hz"
endmenu

menu "Power management options"
config CONFIG_SYS_SUPPORTS_APM_EMULATION
	bool

config CONFIG_ARCH_SUSPEND_POSSIBLE
	def_bool y

source "kernel/power/Kconfig"
endmenu