Kconfig 5.2 KB

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