Kconfig 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. config OPENRISC
  6. def_bool y
  7. select OF
  8. select OF_EARLY_FLATTREE
  9. select IRQ_DOMAIN
  10. select HAVE_MEMBLOCK
  11. select ARCH_WANT_OPTIONAL_GPIOLIB
  12. select HAVE_ARCH_TRACEHOOK
  13. select HAVE_GENERIC_HARDIRQS
  14. select GENERIC_IRQ_CHIP
  15. select GENERIC_IRQ_PROBE
  16. select GENERIC_IRQ_SHOW
  17. select GENERIC_IOMAP
  18. select GENERIC_CPU_DEVICES
  19. select GENERIC_ATOMIC64
  20. select GENERIC_CLOCKEVENTS
  21. select GENERIC_STRNCPY_FROM_USER
  22. select GENERIC_STRNLEN_USER
  23. select MODULES_USE_ELF_RELA
  24. select GENERIC_SIGALTSTACK
  25. config MMU
  26. def_bool y
  27. config SYMBOL_PREFIX
  28. string
  29. default ""
  30. config HAVE_DMA_ATTRS
  31. def_bool y
  32. config UID16
  33. def_bool y
  34. config RWSEM_GENERIC_SPINLOCK
  35. def_bool y
  36. config RWSEM_XCHGADD_ALGORITHM
  37. def_bool n
  38. config GENERIC_HWEIGHT
  39. def_bool y
  40. config NO_IOPORT
  41. def_bool y
  42. config GENERIC_GPIO
  43. def_bool y
  44. config TRACE_IRQFLAGS_SUPPORT
  45. def_bool y
  46. # For now, use generic checksum functions
  47. #These can be reimplemented in assembly later if so inclined
  48. config GENERIC_CSUM
  49. def_bool y
  50. config GENERIC_FIND_NEXT_BIT
  51. def_bool y
  52. source "init/Kconfig"
  53. menu "Processor type and features"
  54. choice
  55. prompt "Subarchitecture"
  56. default OR1K_1200
  57. config OR1K_1200
  58. bool "OR1200"
  59. help
  60. Generic OpenRISC 1200 architecture
  61. endchoice
  62. config OPENRISC_BUILTIN_DTB
  63. string "Builtin DTB"
  64. default ""
  65. menu "Class II Instructions"
  66. config OPENRISC_HAVE_INST_FF1
  67. bool "Have instruction l.ff1"
  68. default y
  69. help
  70. Select this if your implementation has the Class II instruction l.ff1
  71. config OPENRISC_HAVE_INST_FL1
  72. bool "Have instruction l.fl1"
  73. default y
  74. help
  75. Select this if your implementation has the Class II instruction l.fl1
  76. config OPENRISC_HAVE_INST_MUL
  77. bool "Have instruction l.mul for hardware multiply"
  78. default y
  79. help
  80. Select this if your implementation has a hardware multiply instruction
  81. config OPENRISC_HAVE_INST_DIV
  82. bool "Have instruction l.div for hardware divide"
  83. default y
  84. help
  85. Select this if your implementation has a hardware divide instruction
  86. endmenu
  87. source kernel/Kconfig.hz
  88. source kernel/Kconfig.preempt
  89. source "mm/Kconfig"
  90. config OPENRISC_NO_SPR_SR_DSX
  91. bool "use SPR_SR_DSX software emulation" if OR1K_1200
  92. default y
  93. help
  94. SPR_SR_DSX bit is status register bit indicating whether
  95. the last exception has happened in delay slot.
  96. OpenRISC architecture makes it optional to have it implemented
  97. in hardware and the OR1200 does not have it.
  98. Say N here if you know that your OpenRISC processor has
  99. SPR_SR_DSX bit implemented. Say Y if you are unsure.
  100. config CMDLINE
  101. string "Default kernel command string"
  102. default ""
  103. help
  104. On some architectures there is currently no way for the boot loader
  105. to pass arguments to the kernel. For these architectures, you should
  106. supply some command-line options at build time by entering them
  107. here.
  108. menu "Debugging options"
  109. config DEBUG_STACKOVERFLOW
  110. bool "Check for kernel stack overflow"
  111. default y
  112. help
  113. Make extra checks for space available on stack in some
  114. critical functions. This will cause kernel to run a bit slower,
  115. but will catch most of kernel stack overruns and exit gracefully.
  116. Say Y if you are unsure.
  117. config JUMP_UPON_UNHANDLED_EXCEPTION
  118. bool "Try to die gracefully"
  119. default y
  120. help
  121. Now this puts kernel into infinite loop after first oops. Till
  122. your kernel crashes this doesn't have any influence.
  123. Say Y if you are unsure.
  124. config OPENRISC_ESR_EXCEPTION_BUG_CHECK
  125. bool "Check for possible ESR exception bug"
  126. default n
  127. help
  128. This option enables some checks that might expose some problems
  129. in kernel.
  130. Say N if you are unsure.
  131. endmenu
  132. endmenu
  133. menu "Executable file formats"
  134. source "fs/Kconfig.binfmt"
  135. endmenu
  136. source "net/Kconfig"
  137. source "drivers/Kconfig"
  138. source "fs/Kconfig"
  139. source "security/Kconfig"
  140. source "crypto/Kconfig"
  141. source "lib/Kconfig"
  142. menu "Kernel hacking"
  143. source "lib/Kconfig.debug"
  144. endmenu