Kconfig 3.6 KB

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