blob: dd50123335d81ae3898ab27b5c32333354e0978a [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Greentime Hue71ea3b2017-10-25 15:03:49 +08002#
3# For a description of the syntax of this configuration file,
Mauro Carvalho Chehabcd238ef2019-06-12 14:52:48 -03004# see Documentation/kbuild/kconfig-language.rst.
Greentime Hue71ea3b2017-10-25 15:03:49 +08005#
6
7config NDS32
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +01008 def_bool y
Yury Norov942fa982018-05-16 11:18:49 +03009 select ARCH_32BIT_OFF_T
Christoph Hellwig63095132019-04-28 14:28:38 -050010 select ARCH_HAS_DMA_PREP_COHERENT
Christoph Hellwig267d2e12018-05-28 09:55:35 +020011 select ARCH_HAS_SYNC_DMA_FOR_CPU
12 select ARCH_HAS_SYNC_DMA_FOR_DEVICE
Greentime Hue71ea3b2017-10-25 15:03:49 +080013 select ARCH_WANT_FRAME_POINTERS if FTRACE
14 select CLKSRC_MMIO
15 select CLONE_BACKWARDS
16 select COMMON_CLK
Christoph Hellwig63095132019-04-28 14:28:38 -050017 select DMA_DIRECT_REMAP
Greentime Hue71ea3b2017-10-25 15:03:49 +080018 select GENERIC_ATOMIC64
19 select GENERIC_CPU_DEVICES
Greentime Hue71ea3b2017-10-25 15:03:49 +080020 select GENERIC_IRQ_CHIP
21 select GENERIC_IRQ_SHOW
Christoph Hellwigeafee592019-08-13 11:52:20 +020022 select GENERIC_IOREMAP
Guenter Roecka78945c2018-06-14 15:28:52 +010023 select GENERIC_LIB_ASHLDI3
24 select GENERIC_LIB_ASHRDI3
25 select GENERIC_LIB_CMPDI2
26 select GENERIC_LIB_LSHRDI3
27 select GENERIC_LIB_MULDI3
28 select GENERIC_LIB_UCMPDI2
Greentime Hue71ea3b2017-10-25 15:03:49 +080029 select GENERIC_STRNCPY_FROM_USER
30 select GENERIC_STRNLEN_USER
31 select GENERIC_TIME_VSYSCALL
32 select HANDLE_DOMAIN_IRQ
33 select HAVE_ARCH_TRACEHOOK
34 select HAVE_DEBUG_KMEMLEAK
Vincent Chene46bf832018-11-22 11:14:34 +080035 select HAVE_EXIT_THREAD
Greentime Hue71ea3b2017-10-25 15:03:49 +080036 select HAVE_REGS_AND_STACK_ACCESS_API
Nickhuebd09752018-10-25 10:24:15 +080037 select HAVE_PERF_EVENTS
Greentime Hue71ea3b2017-10-25 15:03:49 +080038 select IRQ_DOMAIN
39 select LOCKDEP_SUPPORT
40 select MODULES_USE_ELF_RELA
41 select OF
42 select OF_EARLY_FLATTREE
Greentime Hue71ea3b2017-10-25 15:03:49 +080043 select NO_IOPORT_MAP
44 select RTC_LIB
45 select THREAD_INFO_IN_TASK
Zong Lia1808252018-08-15 10:45:59 +080046 select HAVE_FUNCTION_TRACER
Zong Li1e9b14c2018-08-15 10:53:04 +080047 select HAVE_FUNCTION_GRAPH_TRACER
Zong Lifbf58a52018-08-15 10:57:16 +080048 select HAVE_FTRACE_MCOUNT_RECORD
Zong Li6b1d6d22018-08-15 11:00:08 +080049 select HAVE_DYNAMIC_FTRACE
Christoph Hellwig5e6e9852020-09-03 16:22:35 +020050 select SET_FS
Masahiro Yamada4aae6832021-07-31 14:22:32 +090051 select TRACE_IRQFLAGS_SUPPORT
Greentime Hue71ea3b2017-10-25 15:03:49 +080052 help
53 Andes(nds32) Linux support.
54
55config GENERIC_CALIBRATE_DELAY
56 def_bool y
57
58config GENERIC_CSUM
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010059 def_bool y
Greentime Hue71ea3b2017-10-25 15:03:49 +080060
61config GENERIC_HWEIGHT
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010062 def_bool y
Greentime Hue71ea3b2017-10-25 15:03:49 +080063
64config GENERIC_LOCKBREAK
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010065 def_bool y
Thomas Gleixner10c15372019-10-15 21:18:00 +020066 depends on PREEMPTION
Greentime Hue71ea3b2017-10-25 15:03:49 +080067
Greentime Hue71ea3b2017-10-25 15:03:49 +080068config STACKTRACE_SUPPORT
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010069 def_bool y
Greentime Hue71ea3b2017-10-25 15:03:49 +080070
71config FIX_EARLYCON_MEM
72 def_bool y
73
74config PGTABLE_LEVELS
75 default 2
76
Greentime Hue71ea3b2017-10-25 15:03:49 +080077menu "System Type"
78source "arch/nds32/Kconfig.cpu"
79config NR_CPUS
80 int
81 default 1
82
83config MMU
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010084 def_bool y
Greentime Hue71ea3b2017-10-25 15:03:49 +080085
86config NDS32_BUILTIN_DTB
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010087 string "Builtin DTB"
88 default ""
Greentime Hue71ea3b2017-10-25 15:03:49 +080089 help
90 User can use it to specify the dts of the SoC
91endmenu
92
93menu "Kernel Features"
Greentime Hue71ea3b2017-10-25 15:03:49 +080094source "kernel/Kconfig.hz"
95endmenu
Nick Hu7938e632018-10-24 18:14:32 +080096
97menu "Power management options"
98config SYS_SUPPORTS_APM_EMULATION
99 bool
100
101config ARCH_SUSPEND_POSSIBLE
102 def_bool y
103
104source "kernel/power/Kconfig"
105endmenu