Kconfig 5.2 KB

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