Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 2 | # |
| 3 | # For a description of the syntax of this configuration file, |
Mauro Carvalho Chehab | cd238ef | 2019-06-12 14:52:48 -0300 | [diff] [blame] | 4 | # see Documentation/kbuild/kconfig-language.rst. |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 5 | # |
| 6 | |
| 7 | config NDS32 |
Enrico Weigelt, metux IT consult | 32ee500 | 2019-03-11 14:18:46 +0100 | [diff] [blame] | 8 | def_bool y |
Yury Norov | 942fa98 | 2018-05-16 11:18:49 +0300 | [diff] [blame] | 9 | select ARCH_32BIT_OFF_T |
Christoph Hellwig | 6309513 | 2019-04-28 14:28:38 -0500 | [diff] [blame] | 10 | select ARCH_HAS_DMA_PREP_COHERENT |
Christoph Hellwig | 267d2e1 | 2018-05-28 09:55:35 +0200 | [diff] [blame] | 11 | select ARCH_HAS_SYNC_DMA_FOR_CPU |
| 12 | select ARCH_HAS_SYNC_DMA_FOR_DEVICE |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 13 | select ARCH_WANT_FRAME_POINTERS if FTRACE |
| 14 | select CLKSRC_MMIO |
| 15 | select CLONE_BACKWARDS |
| 16 | select COMMON_CLK |
Christoph Hellwig | 6309513 | 2019-04-28 14:28:38 -0500 | [diff] [blame] | 17 | select DMA_DIRECT_REMAP |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 18 | select GENERIC_ATOMIC64 |
| 19 | select GENERIC_CPU_DEVICES |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 20 | select GENERIC_IRQ_CHIP |
| 21 | select GENERIC_IRQ_SHOW |
Christoph Hellwig | eafee59 | 2019-08-13 11:52:20 +0200 | [diff] [blame] | 22 | select GENERIC_IOREMAP |
Guenter Roeck | a78945c | 2018-06-14 15:28:52 +0100 | [diff] [blame] | 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 |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 29 | select GENERIC_TIME_VSYSCALL |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 30 | select HAVE_ARCH_TRACEHOOK |
| 31 | select HAVE_DEBUG_KMEMLEAK |
Vincent Chen | e46bf83 | 2018-11-22 11:14:34 +0800 | [diff] [blame] | 32 | select HAVE_EXIT_THREAD |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 33 | select HAVE_REGS_AND_STACK_ACCESS_API |
Nickhu | ebd0975 | 2018-10-25 10:24:15 +0800 | [diff] [blame] | 34 | select HAVE_PERF_EVENTS |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 35 | select IRQ_DOMAIN |
| 36 | select LOCKDEP_SUPPORT |
| 37 | select MODULES_USE_ELF_RELA |
| 38 | select OF |
| 39 | select OF_EARLY_FLATTREE |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 40 | select NO_IOPORT_MAP |
| 41 | select RTC_LIB |
| 42 | select THREAD_INFO_IN_TASK |
Zong Li | a180825 | 2018-08-15 10:45:59 +0800 | [diff] [blame] | 43 | select HAVE_FUNCTION_TRACER |
Zong Li | 1e9b14c | 2018-08-15 10:53:04 +0800 | [diff] [blame] | 44 | select HAVE_FUNCTION_GRAPH_TRACER |
Zong Li | fbf58a5 | 2018-08-15 10:57:16 +0800 | [diff] [blame] | 45 | select HAVE_FTRACE_MCOUNT_RECORD |
Zong Li | 6b1d6d2 | 2018-08-15 11:00:08 +0800 | [diff] [blame] | 46 | select HAVE_DYNAMIC_FTRACE |
Christoph Hellwig | 5e6e985 | 2020-09-03 16:22:35 +0200 | [diff] [blame] | 47 | select SET_FS |
Masahiro Yamada | 4aae683 | 2021-07-31 14:22:32 +0900 | [diff] [blame] | 48 | select TRACE_IRQFLAGS_SUPPORT |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 49 | help |
| 50 | Andes(nds32) Linux support. |
| 51 | |
| 52 | config GENERIC_CALIBRATE_DELAY |
| 53 | def_bool y |
| 54 | |
| 55 | config GENERIC_CSUM |
Enrico Weigelt, metux IT consult | 32ee500 | 2019-03-11 14:18:46 +0100 | [diff] [blame] | 56 | def_bool y |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 57 | |
| 58 | config GENERIC_HWEIGHT |
Enrico Weigelt, metux IT consult | 32ee500 | 2019-03-11 14:18:46 +0100 | [diff] [blame] | 59 | def_bool y |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 60 | |
| 61 | config GENERIC_LOCKBREAK |
Enrico Weigelt, metux IT consult | 32ee500 | 2019-03-11 14:18:46 +0100 | [diff] [blame] | 62 | def_bool y |
Thomas Gleixner | 10c1537 | 2019-10-15 21:18:00 +0200 | [diff] [blame] | 63 | depends on PREEMPTION |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 64 | |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 65 | config STACKTRACE_SUPPORT |
Enrico Weigelt, metux IT consult | 32ee500 | 2019-03-11 14:18:46 +0100 | [diff] [blame] | 66 | def_bool y |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 67 | |
| 68 | config FIX_EARLYCON_MEM |
| 69 | def_bool y |
| 70 | |
| 71 | config PGTABLE_LEVELS |
| 72 | default 2 |
| 73 | |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 74 | menu "System Type" |
| 75 | source "arch/nds32/Kconfig.cpu" |
| 76 | config NR_CPUS |
| 77 | int |
| 78 | default 1 |
| 79 | |
| 80 | config MMU |
Enrico Weigelt, metux IT consult | 32ee500 | 2019-03-11 14:18:46 +0100 | [diff] [blame] | 81 | def_bool y |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 82 | |
| 83 | config NDS32_BUILTIN_DTB |
Enrico Weigelt, metux IT consult | 32ee500 | 2019-03-11 14:18:46 +0100 | [diff] [blame] | 84 | string "Builtin DTB" |
| 85 | default "" |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 86 | help |
| 87 | User can use it to specify the dts of the SoC |
| 88 | endmenu |
| 89 | |
| 90 | menu "Kernel Features" |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 91 | source "kernel/Kconfig.hz" |
| 92 | endmenu |
Nick Hu | 7938e63 | 2018-10-24 18:14:32 +0800 | [diff] [blame] | 93 | |
| 94 | menu "Power management options" |
| 95 | config SYS_SUPPORTS_APM_EMULATION |
| 96 | bool |
| 97 | |
| 98 | config ARCH_SUSPEND_POSSIBLE |
| 99 | def_bool y |
| 100 | |
| 101 | source "kernel/power/Kconfig" |
| 102 | endmenu |