blob: 5a11772a514d6924e47ab327c497930a26346e5e [file] [log] [blame]
Greentime Hue71ea3b2017-10-25 15:03:49 +08001#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5
6config NDS32
7 def_bool y
Christoph Hellwig267d2e12018-05-28 09:55:35 +02008 select ARCH_HAS_SYNC_DMA_FOR_CPU
9 select ARCH_HAS_SYNC_DMA_FOR_DEVICE
Greentime Hue71ea3b2017-10-25 15:03:49 +080010 select ARCH_WANT_FRAME_POINTERS if FTRACE
11 select CLKSRC_MMIO
12 select CLONE_BACKWARDS
13 select COMMON_CLK
Christoph Hellwigbc3ec752018-09-08 11:22:43 +020014 select DMA_DIRECT_OPS
Greentime Hue71ea3b2017-10-25 15:03:49 +080015 select GENERIC_ATOMIC64
16 select GENERIC_CPU_DEVICES
17 select GENERIC_CLOCKEVENTS
18 select GENERIC_IRQ_CHIP
19 select GENERIC_IRQ_SHOW
Guenter Roecka78945c2018-06-14 15:28:52 +010020 select GENERIC_LIB_ASHLDI3
21 select GENERIC_LIB_ASHRDI3
22 select GENERIC_LIB_CMPDI2
23 select GENERIC_LIB_LSHRDI3
24 select GENERIC_LIB_MULDI3
25 select GENERIC_LIB_UCMPDI2
Greentime Hue71ea3b2017-10-25 15:03:49 +080026 select GENERIC_STRNCPY_FROM_USER
27 select GENERIC_STRNLEN_USER
28 select GENERIC_TIME_VSYSCALL
29 select HANDLE_DOMAIN_IRQ
30 select HAVE_ARCH_TRACEHOOK
31 select HAVE_DEBUG_KMEMLEAK
Greentime Hue71ea3b2017-10-25 15:03:49 +080032 select HAVE_REGS_AND_STACK_ACCESS_API
Nickhuebd09752018-10-25 10:24:15 +080033 select HAVE_PERF_EVENTS
Greentime Hue71ea3b2017-10-25 15:03:49 +080034 select IRQ_DOMAIN
35 select LOCKDEP_SUPPORT
36 select MODULES_USE_ELF_RELA
37 select OF
38 select OF_EARLY_FLATTREE
Greentime Hue71ea3b2017-10-25 15:03:49 +080039 select NO_IOPORT_MAP
40 select RTC_LIB
41 select THREAD_INFO_IN_TASK
Zong Lia1808252018-08-15 10:45:59 +080042 select HAVE_FUNCTION_TRACER
Zong Li1e9b14c2018-08-15 10:53:04 +080043 select HAVE_FUNCTION_GRAPH_TRACER
Zong Lifbf58a52018-08-15 10:57:16 +080044 select HAVE_FTRACE_MCOUNT_RECORD
Zong Li6b1d6d22018-08-15 11:00:08 +080045 select HAVE_DYNAMIC_FTRACE
Greentime Hue71ea3b2017-10-25 15:03:49 +080046 help
47 Andes(nds32) Linux support.
48
49config GENERIC_CALIBRATE_DELAY
50 def_bool y
51
52config GENERIC_CSUM
53 def_bool y
54
55config GENERIC_HWEIGHT
56 def_bool y
57
58config GENERIC_LOCKBREAK
59 def_bool y
60 depends on PREEMPT
61
62config RWSEM_GENERIC_SPINLOCK
63 def_bool y
64
65config TRACE_IRQFLAGS_SUPPORT
66 def_bool y
67
68config STACKTRACE_SUPPORT
69 def_bool y
70
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
84 def_bool y
85
86config NDS32_BUILTIN_DTB
87 string "Builtin DTB"
88 default ""
89 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