Merge drm/drm-fixes into drm-misc-fixes
[platform/kernel/linux-rpi.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_CLOCKEVENTS
21         select GENERIC_IRQ_CHIP
22         select GENERIC_IRQ_SHOW
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_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
35         select HAVE_EXIT_THREAD
36         select HAVE_REGS_AND_STACK_ACCESS_API
37         select HAVE_PERF_EVENTS
38         select IRQ_DOMAIN
39         select LOCKDEP_SUPPORT
40         select MODULES_USE_ELF_RELA
41         select OF
42         select OF_EARLY_FLATTREE
43         select NO_IOPORT_MAP
44         select RTC_LIB
45         select THREAD_INFO_IN_TASK
46         select HAVE_FUNCTION_TRACER
47         select HAVE_FUNCTION_GRAPH_TRACER
48         select HAVE_FTRACE_MCOUNT_RECORD
49         select HAVE_DYNAMIC_FTRACE
50         help
51           Andes(nds32) Linux support.
52
53 config GENERIC_CALIBRATE_DELAY
54         def_bool y
55
56 config GENERIC_CSUM
57         def_bool y
58
59 config GENERIC_HWEIGHT
60         def_bool y
61
62 config GENERIC_LOCKBREAK
63         def_bool y
64         depends on PREEMPT
65
66 config TRACE_IRQFLAGS_SUPPORT
67         def_bool y
68
69 config STACKTRACE_SUPPORT
70         def_bool y
71
72 config FIX_EARLYCON_MEM
73         def_bool y
74
75 config PGTABLE_LEVELS
76         default 2
77
78 menu "System Type"
79 source "arch/nds32/Kconfig.cpu"
80 config NR_CPUS
81         int
82         default 1
83
84 config MMU
85         def_bool y
86
87 config NDS32_BUILTIN_DTB
88         string "Builtin DTB"
89         default ""
90         help
91           User can use it to specify the dts of the SoC
92 endmenu
93
94 menu "Kernel Features"
95 source "kernel/Kconfig.hz"
96 endmenu
97
98 menu "Power management options"
99 config SYS_SUPPORTS_APM_EMULATION
100         bool
101
102 config ARCH_SUSPEND_POSSIBLE
103         def_bool y
104
105 source "kernel/power/Kconfig"
106 endmenu