blob: 62313902d75d9e80a8f5c69959b12993b878e9a0 [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
Greentime Hue71ea3b2017-10-25 15:03:49 +080051 help
52 Andes(nds32) Linux support.
53
54config GENERIC_CALIBRATE_DELAY
55 def_bool y
56
57config GENERIC_CSUM
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010058 def_bool y
Greentime Hue71ea3b2017-10-25 15:03:49 +080059
60config GENERIC_HWEIGHT
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010061 def_bool y
Greentime Hue71ea3b2017-10-25 15:03:49 +080062
63config GENERIC_LOCKBREAK
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010064 def_bool y
Thomas Gleixner10c15372019-10-15 21:18:00 +020065 depends on PREEMPTION
Greentime Hue71ea3b2017-10-25 15:03:49 +080066
Greentime Hue71ea3b2017-10-25 15:03:49 +080067config TRACE_IRQFLAGS_SUPPORT
68 def_bool y
69
70config STACKTRACE_SUPPORT
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010071 def_bool y
Greentime Hue71ea3b2017-10-25 15:03:49 +080072
73config FIX_EARLYCON_MEM
74 def_bool y
75
76config PGTABLE_LEVELS
77 default 2
78
Greentime Hue71ea3b2017-10-25 15:03:49 +080079menu "System Type"
80source "arch/nds32/Kconfig.cpu"
81config NR_CPUS
82 int
83 default 1
84
85config MMU
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010086 def_bool y
Greentime Hue71ea3b2017-10-25 15:03:49 +080087
88config NDS32_BUILTIN_DTB
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010089 string "Builtin DTB"
90 default ""
Greentime Hue71ea3b2017-10-25 15:03:49 +080091 help
92 User can use it to specify the dts of the SoC
93endmenu
94
95menu "Kernel Features"
Greentime Hue71ea3b2017-10-25 15:03:49 +080096source "kernel/Kconfig.hz"
97endmenu
Nick Hu7938e632018-10-24 18:14:32 +080098
99menu "Power management options"
100config SYS_SUPPORTS_APM_EMULATION
101 bool
102
103config ARCH_SUSPEND_POSSIBLE
104 def_bool y
105
106source "kernel/power/Kconfig"
107endmenu