Kconfig 3.6 KB

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