18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# For a description of the syntax of this configuration file,
48c2ecf20Sopenharmony_ci# see Documentation/kbuild/kconfig-language.rst.
58c2ecf20Sopenharmony_ci#
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciconfig NDS32
88c2ecf20Sopenharmony_ci	def_bool y
98c2ecf20Sopenharmony_ci	select ARCH_32BIT_OFF_T
108c2ecf20Sopenharmony_ci	select ARCH_HAS_DMA_PREP_COHERENT
118c2ecf20Sopenharmony_ci	select ARCH_HAS_SYNC_DMA_FOR_CPU
128c2ecf20Sopenharmony_ci	select ARCH_HAS_SYNC_DMA_FOR_DEVICE
138c2ecf20Sopenharmony_ci	select ARCH_WANT_FRAME_POINTERS if FTRACE
148c2ecf20Sopenharmony_ci	select CLKSRC_MMIO
158c2ecf20Sopenharmony_ci	select CLONE_BACKWARDS
168c2ecf20Sopenharmony_ci	select COMMON_CLK
178c2ecf20Sopenharmony_ci	select DMA_DIRECT_REMAP
188c2ecf20Sopenharmony_ci	select GENERIC_ATOMIC64
198c2ecf20Sopenharmony_ci	select GENERIC_CPU_DEVICES
208c2ecf20Sopenharmony_ci	select GENERIC_CLOCKEVENTS
218c2ecf20Sopenharmony_ci	select GENERIC_IRQ_CHIP
228c2ecf20Sopenharmony_ci	select GENERIC_IRQ_SHOW
238c2ecf20Sopenharmony_ci	select GENERIC_IOREMAP
248c2ecf20Sopenharmony_ci	select GENERIC_LIB_ASHLDI3
258c2ecf20Sopenharmony_ci	select GENERIC_LIB_ASHRDI3
268c2ecf20Sopenharmony_ci	select GENERIC_LIB_CMPDI2
278c2ecf20Sopenharmony_ci	select GENERIC_LIB_LSHRDI3
288c2ecf20Sopenharmony_ci	select GENERIC_LIB_MULDI3
298c2ecf20Sopenharmony_ci	select GENERIC_LIB_UCMPDI2
308c2ecf20Sopenharmony_ci	select GENERIC_STRNCPY_FROM_USER
318c2ecf20Sopenharmony_ci	select GENERIC_STRNLEN_USER
328c2ecf20Sopenharmony_ci	select GENERIC_TIME_VSYSCALL
338c2ecf20Sopenharmony_ci	select HANDLE_DOMAIN_IRQ
348c2ecf20Sopenharmony_ci	select HAVE_ARCH_TRACEHOOK
358c2ecf20Sopenharmony_ci	select HAVE_DEBUG_KMEMLEAK
368c2ecf20Sopenharmony_ci	select HAVE_EXIT_THREAD
378c2ecf20Sopenharmony_ci	select HAVE_REGS_AND_STACK_ACCESS_API
388c2ecf20Sopenharmony_ci	select HAVE_PERF_EVENTS
398c2ecf20Sopenharmony_ci	select IRQ_DOMAIN
408c2ecf20Sopenharmony_ci	select LOCKDEP_SUPPORT
418c2ecf20Sopenharmony_ci	select MODULES_USE_ELF_RELA
428c2ecf20Sopenharmony_ci	select OF
438c2ecf20Sopenharmony_ci	select OF_EARLY_FLATTREE
448c2ecf20Sopenharmony_ci	select NO_IOPORT_MAP
458c2ecf20Sopenharmony_ci	select RTC_LIB
468c2ecf20Sopenharmony_ci	select THREAD_INFO_IN_TASK
478c2ecf20Sopenharmony_ci	select HAVE_FUNCTION_TRACER
488c2ecf20Sopenharmony_ci	select HAVE_FUNCTION_GRAPH_TRACER
498c2ecf20Sopenharmony_ci	select HAVE_FTRACE_MCOUNT_RECORD
508c2ecf20Sopenharmony_ci	select HAVE_DYNAMIC_FTRACE
518c2ecf20Sopenharmony_ci	select SET_FS
528c2ecf20Sopenharmony_ci	help
538c2ecf20Sopenharmony_ci	  Andes(nds32) Linux support.
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ciconfig GENERIC_CALIBRATE_DELAY
568c2ecf20Sopenharmony_ci	def_bool y
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ciconfig GENERIC_CSUM
598c2ecf20Sopenharmony_ci	def_bool y
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ciconfig GENERIC_HWEIGHT
628c2ecf20Sopenharmony_ci	def_bool y
638c2ecf20Sopenharmony_ci
648c2ecf20Sopenharmony_ciconfig GENERIC_LOCKBREAK
658c2ecf20Sopenharmony_ci	def_bool y
668c2ecf20Sopenharmony_ci	depends on PREEMPTION
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ciconfig TRACE_IRQFLAGS_SUPPORT
698c2ecf20Sopenharmony_ci	def_bool y
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_ciconfig STACKTRACE_SUPPORT
728c2ecf20Sopenharmony_ci	def_bool y
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ciconfig FIX_EARLYCON_MEM
758c2ecf20Sopenharmony_ci	def_bool y
768c2ecf20Sopenharmony_ci
778c2ecf20Sopenharmony_ciconfig PGTABLE_LEVELS
788c2ecf20Sopenharmony_ci	default 2
798c2ecf20Sopenharmony_ci
808c2ecf20Sopenharmony_cimenu "System Type"
818c2ecf20Sopenharmony_cisource "arch/nds32/Kconfig.cpu"
828c2ecf20Sopenharmony_ciconfig NR_CPUS
838c2ecf20Sopenharmony_ci	int
848c2ecf20Sopenharmony_ci	default 1
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ciconfig MMU
878c2ecf20Sopenharmony_ci	def_bool y
888c2ecf20Sopenharmony_ci
898c2ecf20Sopenharmony_ciconfig NDS32_BUILTIN_DTB
908c2ecf20Sopenharmony_ci	string "Builtin DTB"
918c2ecf20Sopenharmony_ci	default ""
928c2ecf20Sopenharmony_ci	help
938c2ecf20Sopenharmony_ci	  User can use it to specify the dts of the SoC
948c2ecf20Sopenharmony_ciendmenu
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_cimenu "Kernel Features"
978c2ecf20Sopenharmony_cisource "kernel/Kconfig.hz"
988c2ecf20Sopenharmony_ciendmenu
998c2ecf20Sopenharmony_ci
1008c2ecf20Sopenharmony_cimenu "Power management options"
1018c2ecf20Sopenharmony_ciconfig SYS_SUPPORTS_APM_EMULATION
1028c2ecf20Sopenharmony_ci	bool
1038c2ecf20Sopenharmony_ci
1048c2ecf20Sopenharmony_ciconfig ARCH_SUSPEND_POSSIBLE
1058c2ecf20Sopenharmony_ci	def_bool y
1068c2ecf20Sopenharmony_ci
1078c2ecf20Sopenharmony_cisource "kernel/power/Kconfig"
1088c2ecf20Sopenharmony_ciendmenu
109