]>
Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
e71ea3ba GH |
2 | # |
3 | # For a description of the syntax of this configuration file, | |
cd238eff | 4 | # see Documentation/kbuild/kconfig-language.rst. |
e71ea3ba GH |
5 | # |
6 | ||
7 | config NDS32 | |
32ee500f | 8 | def_bool y |
942fa985 | 9 | select ARCH_32BIT_OFF_T |
6309513c | 10 | select ARCH_HAS_DMA_PREP_COHERENT |
267d2e18 CH |
11 | select ARCH_HAS_SYNC_DMA_FOR_CPU |
12 | select ARCH_HAS_SYNC_DMA_FOR_DEVICE | |
e71ea3ba GH |
13 | select ARCH_WANT_FRAME_POINTERS if FTRACE |
14 | select CLKSRC_MMIO | |
15 | select CLONE_BACKWARDS | |
16 | select COMMON_CLK | |
6309513c | 17 | select DMA_DIRECT_REMAP |
e71ea3ba GH |
18 | select GENERIC_ATOMIC64 |
19 | select GENERIC_CPU_DEVICES | |
20 | select GENERIC_CLOCKEVENTS | |
21 | select GENERIC_IRQ_CHIP | |
22 | select GENERIC_IRQ_SHOW | |
eafee594 | 23 | select GENERIC_IOREMAP |
a78945c3 GR |
24 | select GENERIC_LIB_ASHLDI3 |
25 | select GENERIC_LIB_ASHRDI3 | |
26 | select GENERIC_LIB_CMPDI2 | |
27 | select GENERIC_LIB_LSHRDI3 | |
28 | select GENERIC_LIB_MULDI3 | |
29 | select GENERIC_LIB_UCMPDI2 | |
e71ea3ba GH |
30 | select GENERIC_STRNCPY_FROM_USER |
31 | select GENERIC_STRNLEN_USER | |
32 | select GENERIC_TIME_VSYSCALL | |
33 | select HANDLE_DOMAIN_IRQ | |
34 | select HAVE_ARCH_TRACEHOOK | |
35 | select HAVE_DEBUG_KMEMLEAK | |
e46bf83c | 36 | select HAVE_EXIT_THREAD |
e71ea3ba | 37 | select HAVE_REGS_AND_STACK_ACCESS_API |
ebd09753 | 38 | select HAVE_PERF_EVENTS |
e71ea3ba GH |
39 | select IRQ_DOMAIN |
40 | select LOCKDEP_SUPPORT | |
41 | select MODULES_USE_ELF_RELA | |
42 | select OF | |
43 | select OF_EARLY_FLATTREE | |
e71ea3ba GH |
44 | select NO_IOPORT_MAP |
45 | select RTC_LIB | |
46 | select THREAD_INFO_IN_TASK | |
a1808257 | 47 | select HAVE_FUNCTION_TRACER |
1e9b14c0 | 48 | select HAVE_FUNCTION_GRAPH_TRACER |
fbf58a52 | 49 | select HAVE_FTRACE_MCOUNT_RECORD |
6b1d6d2f | 50 | select HAVE_DYNAMIC_FTRACE |
e71ea3ba GH |
51 | help |
52 | Andes(nds32) Linux support. | |
53 | ||
54 | config GENERIC_CALIBRATE_DELAY | |
55 | def_bool y | |
56 | ||
57 | config GENERIC_CSUM | |
32ee500f | 58 | def_bool y |
e71ea3ba GH |
59 | |
60 | config GENERIC_HWEIGHT | |
32ee500f | 61 | def_bool y |
e71ea3ba GH |
62 | |
63 | config GENERIC_LOCKBREAK | |
32ee500f | 64 | def_bool y |
10c1537b | 65 | depends on PREEMPTION |
e71ea3ba | 66 | |
e71ea3ba GH |
67 | config TRACE_IRQFLAGS_SUPPORT |
68 | def_bool y | |
69 | ||
70 | config STACKTRACE_SUPPORT | |
32ee500f | 71 | def_bool y |
e71ea3ba GH |
72 | |
73 | config FIX_EARLYCON_MEM | |
74 | def_bool y | |
75 | ||
76 | config PGTABLE_LEVELS | |
77 | default 2 | |
78 | ||
e71ea3ba GH |
79 | menu "System Type" |
80 | source "arch/nds32/Kconfig.cpu" | |
81 | config NR_CPUS | |
82 | int | |
83 | default 1 | |
84 | ||
85 | config MMU | |
32ee500f | 86 | def_bool y |
e71ea3ba GH |
87 | |
88 | config NDS32_BUILTIN_DTB | |
32ee500f EWI |
89 | string "Builtin DTB" |
90 | default "" | |
e71ea3ba GH |
91 | help |
92 | User can use it to specify the dts of the SoC | |
93 | endmenu | |
94 | ||
95 | menu "Kernel Features" | |
e71ea3ba GH |
96 | source "kernel/Kconfig.hz" |
97 | endmenu | |
7938e631 NH |
98 | |
99 | menu "Power management options" | |
100 | config SYS_SUPPORTS_APM_EMULATION | |
101 | bool | |
102 | ||
103 | config ARCH_SUSPEND_POSSIBLE | |
104 | def_bool y | |
105 | ||
106 | source "kernel/power/Kconfig" | |
107 | endmenu |