Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see Documentation/kbuild/kconfig-language.txt. |
| 4 | # |
| 5 | |
| 6 | config NDS32 |
| 7 | def_bool y |
Christoph Hellwig | 267d2e1 | 2018-05-28 09:55:35 +0200 | [diff] [blame] | 8 | select ARCH_HAS_SYNC_DMA_FOR_CPU |
| 9 | select ARCH_HAS_SYNC_DMA_FOR_DEVICE |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 10 | select ARCH_WANT_FRAME_POINTERS if FTRACE |
| 11 | select CLKSRC_MMIO |
| 12 | select CLONE_BACKWARDS |
| 13 | select COMMON_CLK |
Christoph Hellwig | 267d2e1 | 2018-05-28 09:55:35 +0200 | [diff] [blame] | 14 | select DMA_NONCOHERENT_OPS |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 15 | select GENERIC_ATOMIC64 |
| 16 | select GENERIC_CPU_DEVICES |
| 17 | select GENERIC_CLOCKEVENTS |
| 18 | select GENERIC_IRQ_CHIP |
| 19 | select GENERIC_IRQ_SHOW |
Guenter Roeck | a78945c | 2018-06-14 15:28:52 +0100 | [diff] [blame] | 20 | select GENERIC_LIB_ASHLDI3 |
| 21 | select GENERIC_LIB_ASHRDI3 |
| 22 | select GENERIC_LIB_CMPDI2 |
| 23 | select GENERIC_LIB_LSHRDI3 |
| 24 | select GENERIC_LIB_MULDI3 |
| 25 | select GENERIC_LIB_UCMPDI2 |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 26 | select GENERIC_STRNCPY_FROM_USER |
| 27 | select GENERIC_STRNLEN_USER |
| 28 | select GENERIC_TIME_VSYSCALL |
| 29 | select HANDLE_DOMAIN_IRQ |
| 30 | select HAVE_ARCH_TRACEHOOK |
| 31 | select HAVE_DEBUG_KMEMLEAK |
| 32 | select HAVE_MEMBLOCK |
| 33 | select HAVE_REGS_AND_STACK_ACCESS_API |
| 34 | select IRQ_DOMAIN |
| 35 | select LOCKDEP_SUPPORT |
| 36 | select MODULES_USE_ELF_RELA |
| 37 | select OF |
| 38 | select OF_EARLY_FLATTREE |
| 39 | select NO_BOOTMEM |
| 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 |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 44 | help |
| 45 | Andes(nds32) Linux support. |
| 46 | |
| 47 | config GENERIC_CALIBRATE_DELAY |
| 48 | def_bool y |
| 49 | |
| 50 | config GENERIC_CSUM |
| 51 | def_bool y |
| 52 | |
| 53 | config GENERIC_HWEIGHT |
| 54 | def_bool y |
| 55 | |
| 56 | config GENERIC_LOCKBREAK |
| 57 | def_bool y |
| 58 | depends on PREEMPT |
| 59 | |
| 60 | config RWSEM_GENERIC_SPINLOCK |
| 61 | def_bool y |
| 62 | |
| 63 | config TRACE_IRQFLAGS_SUPPORT |
| 64 | def_bool y |
| 65 | |
| 66 | config STACKTRACE_SUPPORT |
| 67 | def_bool y |
| 68 | |
| 69 | config FIX_EARLYCON_MEM |
| 70 | def_bool y |
| 71 | |
| 72 | config PGTABLE_LEVELS |
| 73 | default 2 |
| 74 | |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 75 | menu "System Type" |
| 76 | source "arch/nds32/Kconfig.cpu" |
| 77 | config NR_CPUS |
| 78 | int |
| 79 | default 1 |
| 80 | |
| 81 | config MMU |
| 82 | def_bool y |
| 83 | |
| 84 | config NDS32_BUILTIN_DTB |
| 85 | string "Builtin DTB" |
| 86 | default "" |
| 87 | help |
| 88 | User can use it to specify the dts of the SoC |
| 89 | endmenu |
| 90 | |
| 91 | menu "Kernel Features" |
Greentime Hu | e71ea3b | 2017-10-25 15:03:49 +0800 | [diff] [blame] | 92 | source "kernel/Kconfig.hz" |
| 93 | endmenu |