blob: 4d1421b1873439b7d9bd9a5f449f92543eb9bb5a [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Greentime Hue71ea3b2017-10-25 15:03:49 +08002#
3# For a description of the syntax of this configuration file,
Mauro Carvalho Chehabcd238ef2019-06-12 14:52:48 -03004# see Documentation/kbuild/kconfig-language.rst.
Greentime Hue71ea3b2017-10-25 15:03:49 +08005#
6
7config NDS32
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +01008 def_bool y
Yury Norov942fa982018-05-16 11:18:49 +03009 select ARCH_32BIT_OFF_T
Christoph Hellwig63095132019-04-28 14:28:38 -050010 select ARCH_HAS_DMA_PREP_COHERENT
Christoph Hellwig267d2e12018-05-28 09:55:35 +020011 select ARCH_HAS_SYNC_DMA_FOR_CPU
12 select ARCH_HAS_SYNC_DMA_FOR_DEVICE
Greentime Hue71ea3b2017-10-25 15:03:49 +080013 select ARCH_WANT_FRAME_POINTERS if FTRACE
14 select CLKSRC_MMIO
15 select CLONE_BACKWARDS
16 select COMMON_CLK
Christoph Hellwig63095132019-04-28 14:28:38 -050017 select DMA_DIRECT_REMAP
Greentime Hue71ea3b2017-10-25 15:03:49 +080018 select GENERIC_ATOMIC64
19 select GENERIC_CPU_DEVICES
Greentime Hue71ea3b2017-10-25 15:03:49 +080020 select GENERIC_IRQ_CHIP
21 select GENERIC_IRQ_SHOW
Christoph Hellwigeafee592019-08-13 11:52:20 +020022 select GENERIC_IOREMAP
Guenter Roecka78945c2018-06-14 15:28:52 +010023 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
Greentime Hue71ea3b2017-10-25 15:03:49 +080029 select GENERIC_TIME_VSYSCALL
Greentime Hue71ea3b2017-10-25 15:03:49 +080030 select HAVE_ARCH_TRACEHOOK
31 select HAVE_DEBUG_KMEMLEAK
Vincent Chene46bf832018-11-22 11:14:34 +080032 select HAVE_EXIT_THREAD
Greentime Hue71ea3b2017-10-25 15:03:49 +080033 select HAVE_REGS_AND_STACK_ACCESS_API
Nickhuebd09752018-10-25 10:24:15 +080034 select HAVE_PERF_EVENTS
Greentime Hue71ea3b2017-10-25 15:03:49 +080035 select IRQ_DOMAIN
36 select LOCKDEP_SUPPORT
37 select MODULES_USE_ELF_RELA
38 select OF
39 select OF_EARLY_FLATTREE
Greentime Hue71ea3b2017-10-25 15:03:49 +080040 select NO_IOPORT_MAP
41 select RTC_LIB
42 select THREAD_INFO_IN_TASK
Zong Lia1808252018-08-15 10:45:59 +080043 select HAVE_FUNCTION_TRACER
Zong Li1e9b14c2018-08-15 10:53:04 +080044 select HAVE_FUNCTION_GRAPH_TRACER
Zong Lifbf58a52018-08-15 10:57:16 +080045 select HAVE_FTRACE_MCOUNT_RECORD
Zong Li6b1d6d22018-08-15 11:00:08 +080046 select HAVE_DYNAMIC_FTRACE
Christoph Hellwig5e6e9852020-09-03 16:22:35 +020047 select SET_FS
Masahiro Yamada4aae6832021-07-31 14:22:32 +090048 select TRACE_IRQFLAGS_SUPPORT
Greentime Hue71ea3b2017-10-25 15:03:49 +080049 help
50 Andes(nds32) Linux support.
51
52config GENERIC_CALIBRATE_DELAY
53 def_bool y
54
55config GENERIC_CSUM
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010056 def_bool y
Greentime Hue71ea3b2017-10-25 15:03:49 +080057
58config GENERIC_HWEIGHT
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010059 def_bool y
Greentime Hue71ea3b2017-10-25 15:03:49 +080060
61config GENERIC_LOCKBREAK
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010062 def_bool y
Thomas Gleixner10c15372019-10-15 21:18:00 +020063 depends on PREEMPTION
Greentime Hue71ea3b2017-10-25 15:03:49 +080064
Greentime Hue71ea3b2017-10-25 15:03:49 +080065config STACKTRACE_SUPPORT
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010066 def_bool y
Greentime Hue71ea3b2017-10-25 15:03:49 +080067
68config FIX_EARLYCON_MEM
69 def_bool y
70
71config PGTABLE_LEVELS
72 default 2
73
Greentime Hue71ea3b2017-10-25 15:03:49 +080074menu "System Type"
75source "arch/nds32/Kconfig.cpu"
76config NR_CPUS
77 int
78 default 1
79
80config MMU
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010081 def_bool y
Greentime Hue71ea3b2017-10-25 15:03:49 +080082
83config NDS32_BUILTIN_DTB
Enrico Weigelt, metux IT consult32ee5002019-03-11 14:18:46 +010084 string "Builtin DTB"
85 default ""
Greentime Hue71ea3b2017-10-25 15:03:49 +080086 help
87 User can use it to specify the dts of the SoC
88endmenu
89
90menu "Kernel Features"
Greentime Hue71ea3b2017-10-25 15:03:49 +080091source "kernel/Kconfig.hz"
92endmenu
Nick Hu7938e632018-10-24 18:14:32 +080093
94menu "Power management options"
95config SYS_SUPPORTS_APM_EMULATION
96 bool
97
98config ARCH_SUSPEND_POSSIBLE
99 def_bool y
100
101source "kernel/power/Kconfig"
102endmenu