Kconfig 4.0 KB

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