Merge tag 'dt-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux-2.6-microblaze.git] / arch / nds32 / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # For a description of the syntax of this configuration file,
4 # see Documentation/kbuild/kconfig-language.rst.
5 #
6
7 config NDS32
8         def_bool y
9         select ARCH_32BIT_OFF_T
10         select ARCH_HAS_DMA_PREP_COHERENT
11         select ARCH_HAS_SYNC_DMA_FOR_CPU
12         select ARCH_HAS_SYNC_DMA_FOR_DEVICE
13         select ARCH_WANT_FRAME_POINTERS if FTRACE
14         select CLKSRC_MMIO
15         select CLONE_BACKWARDS
16         select COMMON_CLK
17         select DMA_DIRECT_REMAP
18         select GENERIC_ATOMIC64
19         select GENERIC_CPU_DEVICES
20         select GENERIC_IRQ_CHIP
21         select GENERIC_IRQ_SHOW
22         select GENERIC_IOREMAP
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
29         select GENERIC_TIME_VSYSCALL
30         select HANDLE_DOMAIN_IRQ
31         select HAVE_ARCH_TRACEHOOK
32         select HAVE_DEBUG_KMEMLEAK
33         select HAVE_EXIT_THREAD
34         select HAVE_REGS_AND_STACK_ACCESS_API
35         select HAVE_PERF_EVENTS
36         select IRQ_DOMAIN
37         select LOCKDEP_SUPPORT
38         select MODULES_USE_ELF_RELA
39         select OF
40         select OF_EARLY_FLATTREE
41         select NO_IOPORT_MAP
42         select RTC_LIB
43         select THREAD_INFO_IN_TASK
44         select HAVE_FUNCTION_TRACER
45         select HAVE_FUNCTION_GRAPH_TRACER
46         select HAVE_FTRACE_MCOUNT_RECORD
47         select HAVE_DYNAMIC_FTRACE
48         select SET_FS
49         help
50           Andes(nds32) Linux support.
51
52 config GENERIC_CALIBRATE_DELAY
53         def_bool y
54
55 config GENERIC_CSUM
56         def_bool y
57
58 config GENERIC_HWEIGHT
59         def_bool y
60
61 config GENERIC_LOCKBREAK
62         def_bool y
63         depends on PREEMPTION
64
65 config TRACE_IRQFLAGS_SUPPORT
66         def_bool y
67
68 config STACKTRACE_SUPPORT
69         def_bool y
70
71 config FIX_EARLYCON_MEM
72         def_bool y
73
74 config PGTABLE_LEVELS
75         default 2
76
77 menu "System Type"
78 source "arch/nds32/Kconfig.cpu"
79 config NR_CPUS
80         int
81         default 1
82
83 config MMU
84         def_bool y
85
86 config NDS32_BUILTIN_DTB
87         string "Builtin DTB"
88         default ""
89         help
90           User can use it to specify the dts of the SoC
91 endmenu
92
93 menu "Kernel Features"
94 source "kernel/Kconfig.hz"
95 endmenu
96
97 menu "Power management options"
98 config SYS_SUPPORTS_APM_EMULATION
99         bool
100
101 config ARCH_SUSPEND_POSSIBLE
102         def_bool y
103
104 source "kernel/power/Kconfig"
105 endmenu