Kconfig 4.1 KB

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