Kconfig 3.9 KB

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