libnvdimm/dax: Pick the right alignment default when creating dax devices
[linux-2.6-block.git] / arch / nds32 / Kconfig
CommitLineData
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
7config 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
a78945c3
GR
23 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
e71ea3ba
GH
29 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
e46bf83c 35 select HAVE_EXIT_THREAD
e71ea3ba 36 select HAVE_REGS_AND_STACK_ACCESS_API
ebd09753 37 select HAVE_PERF_EVENTS
e71ea3ba
GH
38 select IRQ_DOMAIN
39 select LOCKDEP_SUPPORT
40 select MODULES_USE_ELF_RELA
41 select OF
42 select OF_EARLY_FLATTREE
e71ea3ba
GH
43 select NO_IOPORT_MAP
44 select RTC_LIB
45 select THREAD_INFO_IN_TASK
a1808257 46 select HAVE_FUNCTION_TRACER
1e9b14c0 47 select HAVE_FUNCTION_GRAPH_TRACER
fbf58a52 48 select HAVE_FTRACE_MCOUNT_RECORD
6b1d6d2f 49 select HAVE_DYNAMIC_FTRACE
e71ea3ba
GH
50 help
51 Andes(nds32) Linux support.
52
53config GENERIC_CALIBRATE_DELAY
54 def_bool y
55
56config GENERIC_CSUM
32ee500f 57 def_bool y
e71ea3ba
GH
58
59config GENERIC_HWEIGHT
32ee500f 60 def_bool y
e71ea3ba
GH
61
62config GENERIC_LOCKBREAK
32ee500f 63 def_bool y
e71ea3ba
GH
64 depends on PREEMPT
65
e71ea3ba
GH
66config TRACE_IRQFLAGS_SUPPORT
67 def_bool y
68
69config STACKTRACE_SUPPORT
32ee500f 70 def_bool y
e71ea3ba
GH
71
72config FIX_EARLYCON_MEM
73 def_bool y
74
75config PGTABLE_LEVELS
76 default 2
77
e71ea3ba
GH
78menu "System Type"
79source "arch/nds32/Kconfig.cpu"
80config NR_CPUS
81 int
82 default 1
83
84config MMU
32ee500f 85 def_bool y
e71ea3ba
GH
86
87config NDS32_BUILTIN_DTB
32ee500f
EWI
88 string "Builtin DTB"
89 default ""
e71ea3ba
GH
90 help
91 User can use it to specify the dts of the SoC
92endmenu
93
94menu "Kernel Features"
e71ea3ba
GH
95source "kernel/Kconfig.hz"
96endmenu
7938e631
NH
97
98menu "Power management options"
99config SYS_SUPPORTS_APM_EMULATION
100 bool
101
102config ARCH_SUSPEND_POSSIBLE
103 def_bool y
104
105source "kernel/power/Kconfig"
106endmenu