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