Kconfig 3.9 KB

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