Kconfig 5.1 KB

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