Kconfig 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/config-language.txt.
  4. #
  5. mainmenu "Linux/SH64 Kernel Configuration"
  6. config SUPERH
  7. bool
  8. default y
  9. config SUPERH64
  10. bool
  11. default y
  12. config MMU
  13. bool
  14. default y
  15. config RWSEM_GENERIC_SPINLOCK
  16. bool
  17. default y
  18. config GENERIC_FIND_NEXT_BIT
  19. bool
  20. default y
  21. config GENERIC_HWEIGHT
  22. bool
  23. default y
  24. config GENERIC_CALIBRATE_DELAY
  25. bool
  26. default y
  27. config RWSEM_XCHGADD_ALGORITHM
  28. bool
  29. config GENERIC_ISA_DMA
  30. bool
  31. source init/Kconfig
  32. menu "System type"
  33. choice
  34. prompt "SuperH system type"
  35. default SH_SIMULATOR
  36. config SH_GENERIC
  37. bool "Generic"
  38. config SH_SIMULATOR
  39. bool "Simulator"
  40. config SH_CAYMAN
  41. bool "Cayman"
  42. config SH_ROMRAM
  43. bool "ROM/RAM"
  44. config SH_HARP
  45. bool "ST50-Harp"
  46. endchoice
  47. choice
  48. prompt "Processor family"
  49. default CPU_SH5
  50. config CPU_SH5
  51. bool "SH-5"
  52. endchoice
  53. choice
  54. prompt "Processor type"
  55. config CPU_SUBTYPE_SH5_101
  56. bool "SH5-101"
  57. depends on CPU_SH5
  58. config CPU_SUBTYPE_SH5_103
  59. bool "SH5-103"
  60. depends on CPU_SH5
  61. endchoice
  62. choice
  63. prompt "Endianness"
  64. default LITTLE_ENDIAN
  65. config LITTLE_ENDIAN
  66. bool "Little-Endian"
  67. config BIG_ENDIAN
  68. bool "Big-Endian"
  69. endchoice
  70. config SH_FPU
  71. bool "FPU support"
  72. default y
  73. config SH64_FPU_DENORM_FLUSH
  74. depends on SH_FPU
  75. bool "Flush floating point denorms to zero"
  76. choice
  77. prompt "Page table levels"
  78. default SH64_PGTABLE_2_LEVEL
  79. config SH64_PGTABLE_2_LEVEL
  80. bool "2"
  81. config SH64_PGTABLE_3_LEVEL
  82. bool "3"
  83. endchoice
  84. choice
  85. prompt "HugeTLB page size"
  86. depends on HUGETLB_PAGE && MMU
  87. default HUGETLB_PAGE_SIZE_64K
  88. config HUGETLB_PAGE_SIZE_64K
  89. bool "64K"
  90. config HUGETLB_PAGE_SIZE_1MB
  91. bool "1MB"
  92. config HUGETLB_PAGE_SIZE_512MB
  93. bool "512MB"
  94. endchoice
  95. config SH64_USER_MISALIGNED_FIXUP
  96. bool "Fixup misaligned loads/stores occurring in user mode"
  97. comment "Memory options"
  98. config CACHED_MEMORY_OFFSET
  99. hex "Cached Area Offset"
  100. depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
  101. default "20000000"
  102. config MEMORY_START
  103. hex "Physical memory start address"
  104. depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
  105. default "80000000"
  106. config MEMORY_SIZE_IN_MB
  107. int "Memory size (in MB)" if SH_HARP || SH_CAYMAN || SH_SIMULATOR
  108. default "64" if SH_HARP || SH_CAYMAN
  109. default "8" if SH_SIMULATOR
  110. comment "Cache options"
  111. config DCACHE_DISABLED
  112. bool "DCache Disabling"
  113. depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
  114. choice
  115. prompt "DCache mode"
  116. depends on !DCACHE_DISABLED && !SH_SIMULATOR
  117. default DCACHE_WRITE_BACK
  118. config DCACHE_WRITE_BACK
  119. bool "Write-back"
  120. config DCACHE_WRITE_THROUGH
  121. bool "Write-through"
  122. endchoice
  123. config ICACHE_DISABLED
  124. bool "ICache Disabling"
  125. depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
  126. config PCIDEVICE_MEMORY_START
  127. hex
  128. depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
  129. default "C0000000"
  130. config DEVICE_MEMORY_START
  131. hex
  132. depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
  133. default "E0000000"
  134. config FLASH_MEMORY_START
  135. hex "Flash memory/on-chip devices start address"
  136. depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
  137. default "00000000"
  138. config PCI_BLOCK_START
  139. hex "PCI block start address"
  140. depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
  141. default "40000000"
  142. comment "CPU Subtype specific options"
  143. config SH64_ID2815_WORKAROUND
  144. bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
  145. comment "Misc options"
  146. config HEARTBEAT
  147. bool "Heartbeat LED"
  148. config HDSP253_LED
  149. bool "Support for HDSP-253 LED"
  150. depends on SH_CAYMAN
  151. config SH_DMA
  152. tristate "DMA controller (DMAC) support"
  153. config PREEMPT
  154. bool "Preemptible Kernel (EXPERIMENTAL)"
  155. depends on EXPERIMENTAL
  156. source "mm/Kconfig"
  157. endmenu
  158. menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
  159. config ISA
  160. bool
  161. config SBUS
  162. bool
  163. config PCI
  164. bool "PCI support"
  165. help
  166. Find out whether you have a PCI motherboard. PCI is the name of a
  167. bus system, i.e. the way the CPU talks to the other stuff inside
  168. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  169. VESA. If you have PCI, say Y, otherwise N.
  170. The PCI-HOWTO, available from
  171. <http://www.tldp.org/docs.html#howto>, contains valuable
  172. information about which PCI hardware does work under Linux and which
  173. doesn't.
  174. config SH_PCIDMA_NONCOHERENT
  175. bool "Cache and PCI noncoherent"
  176. depends on PCI
  177. default y
  178. help
  179. Enable this option if your platform does not have a CPU cache which
  180. remains coherent with PCI DMA. It is safest to say 'Y', although you
  181. will see better performance if you can say 'N', because the PCI DMA
  182. code will not have to flush the CPU's caches. If you have a PCI host
  183. bridge integrated with your SH CPU, refer carefully to the chip specs
  184. to see if you can say 'N' here. Otherwise, leave it as 'Y'.
  185. source "drivers/pci/Kconfig"
  186. source "drivers/pcmcia/Kconfig"
  187. source "drivers/pci/hotplug/Kconfig"
  188. endmenu
  189. menu "Executable file formats"
  190. source "fs/Kconfig.binfmt"
  191. endmenu
  192. source "net/Kconfig"
  193. source "drivers/Kconfig"
  194. source "fs/Kconfig"
  195. source "arch/sh64/oprofile/Kconfig"
  196. source "arch/sh64/Kconfig.debug"
  197. source "security/Kconfig"
  198. source "crypto/Kconfig"
  199. source "lib/Kconfig"
  200. #
  201. # Use the generic interrupt handling code in kernel/irq/:
  202. #
  203. config GENERIC_HARDIRQS
  204. bool
  205. default y
  206. config GENERIC_IRQ_PROBE
  207. bool
  208. default y