Kconfig 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. config NDS32
  7. def_bool y
  8. select ARCH_32BIT_OFF_T
  9. select ARCH_HAS_DMA_PREP_COHERENT
  10. select ARCH_HAS_SYNC_DMA_FOR_CPU
  11. select ARCH_HAS_SYNC_DMA_FOR_DEVICE
  12. select ARCH_WANT_FRAME_POINTERS if FTRACE
  13. select CLKSRC_MMIO
  14. select CLONE_BACKWARDS
  15. select COMMON_CLK
  16. select DMA_DIRECT_REMAP
  17. select GENERIC_ATOMIC64
  18. select GENERIC_CPU_DEVICES
  19. select GENERIC_CLOCKEVENTS
  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_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. select SET_FS
  51. help
  52. Andes(nds32) Linux support.
  53. config GENERIC_CALIBRATE_DELAY
  54. def_bool y
  55. config GENERIC_CSUM
  56. def_bool y
  57. config GENERIC_HWEIGHT
  58. def_bool y
  59. config GENERIC_LOCKBREAK
  60. def_bool y
  61. depends on PREEMPTION
  62. config TRACE_IRQFLAGS_SUPPORT
  63. def_bool y
  64. config STACKTRACE_SUPPORT
  65. def_bool y
  66. config FIX_EARLYCON_MEM
  67. def_bool y
  68. config PGTABLE_LEVELS
  69. default 2
  70. menu "System Type"
  71. source "arch/nds32/Kconfig.cpu"
  72. config NR_CPUS
  73. int
  74. default 1
  75. config MMU
  76. def_bool y
  77. config NDS32_BUILTIN_DTB
  78. string "Builtin DTB"
  79. default ""
  80. help
  81. User can use it to specify the dts of the SoC
  82. endmenu
  83. menu "Kernel Features"
  84. source "kernel/Kconfig.hz"
  85. endmenu
  86. menu "Power management options"
  87. config SYS_SUPPORTS_APM_EMULATION
  88. bool
  89. config ARCH_SUSPEND_POSSIBLE
  90. def_bool y
  91. source "kernel/power/Kconfig"
  92. endmenu