Kconfig 5.0 KB

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