Kconfig 5.2 KB

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