Kconfig 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-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 GENERIC_HARDIRQS
  30. bool
  31. default y
  32. config GENERIC_IRQ_PROBE
  33. bool
  34. default y
  35. config RWSEM_XCHGADD_ALGORITHM
  36. bool
  37. config ARCH_HAS_ILOG2_U32
  38. bool
  39. default n
  40. config ARCH_HAS_ILOG2_U64
  41. bool
  42. default n
  43. config ARCH_NO_VIRT_TO_BUS
  44. def_bool y
  45. source init/Kconfig
  46. menu "System type"
  47. choice
  48. prompt "SuperH system type"
  49. default SH_SIMULATOR
  50. config SH_SIMULATOR
  51. bool "Simulator"
  52. config SH_CAYMAN
  53. bool "Cayman"
  54. config SH_HARP
  55. bool "ST50-Harp"
  56. endchoice
  57. choice
  58. prompt "Processor family"
  59. default CPU_SH5
  60. config CPU_SH5
  61. bool "SH-5"
  62. endchoice
  63. choice
  64. prompt "Processor type"
  65. config CPU_SUBTYPE_SH5_101
  66. bool "SH5-101"
  67. depends on CPU_SH5
  68. config CPU_SUBTYPE_SH5_103
  69. bool "SH5-103"
  70. depends on CPU_SH5
  71. endchoice
  72. choice
  73. prompt "Endianness"
  74. default LITTLE_ENDIAN
  75. config LITTLE_ENDIAN
  76. bool "Little-Endian"
  77. config BIG_ENDIAN
  78. bool "Big-Endian"
  79. endchoice
  80. config SH_FPU
  81. bool "FPU support"
  82. default y
  83. config SH64_FPU_DENORM_FLUSH
  84. depends on SH_FPU
  85. bool "Flush floating point denorms to zero"
  86. choice
  87. prompt "Page table levels"
  88. default SH64_PGTABLE_2_LEVEL
  89. config SH64_PGTABLE_2_LEVEL
  90. bool "2"
  91. config SH64_PGTABLE_3_LEVEL
  92. bool "3"
  93. endchoice
  94. choice
  95. prompt "HugeTLB page size"
  96. depends on HUGETLB_PAGE && MMU
  97. default HUGETLB_PAGE_SIZE_64K
  98. config HUGETLB_PAGE_SIZE_64K
  99. bool "64K"
  100. config HUGETLB_PAGE_SIZE_1MB
  101. bool "1MB"
  102. config HUGETLB_PAGE_SIZE_512MB
  103. bool "512MB"
  104. endchoice
  105. config SH64_USER_MISALIGNED_FIXUP
  106. bool "Fixup misaligned loads/stores occurring in user mode"
  107. comment "Memory options"
  108. config CACHED_MEMORY_OFFSET
  109. hex "Cached Area Offset"
  110. default "20000000"
  111. config MEMORY_START
  112. hex "Physical memory start address"
  113. default "80000000"
  114. config MEMORY_SIZE_IN_MB
  115. int "Memory size (in MB)"
  116. default "8" if SH_SIMULATOR
  117. default "64"
  118. comment "Cache options"
  119. choice
  120. prompt "DCache mode"
  121. default DCACHE_DISABLED if SH_SIMULATOR
  122. default DCACHE_WRITE_BACK
  123. config DCACHE_WRITE_BACK
  124. bool "Write-back"
  125. depends on !SH_SIMULATOR
  126. config DCACHE_WRITE_THROUGH
  127. bool "Write-through"
  128. depends on !SH_SIMULATOR
  129. config DCACHE_DISABLED
  130. bool "Disabled"
  131. endchoice
  132. config ICACHE_DISABLED
  133. bool "ICache Disabling"
  134. config PCIDEVICE_MEMORY_START
  135. hex
  136. default "C0000000"
  137. config DEVICE_MEMORY_START
  138. hex
  139. default "E0000000"
  140. config FLASH_MEMORY_START
  141. hex "Flash memory/on-chip devices start address"
  142. default "00000000"
  143. config PCI_BLOCK_START
  144. hex "PCI block start address"
  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. depends on SH_CAYMAN
  153. config HDSP253_LED
  154. bool "Support for HDSP-253 LED"
  155. depends on SH_CAYMAN
  156. config SH_DMA
  157. tristate "DMA controller (DMAC) support"
  158. config PREEMPT
  159. bool "Preemptible Kernel (EXPERIMENTAL)"
  160. depends on EXPERIMENTAL
  161. source "mm/Kconfig"
  162. endmenu
  163. menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
  164. config ISA
  165. bool
  166. config SBUS
  167. bool
  168. config PCI
  169. bool "PCI support"
  170. depends on SH_CAYMAN
  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 "kernel/Kconfig.instrumentation"
  202. source "arch/sh64/Kconfig.debug"
  203. source "security/Kconfig"
  204. source "crypto/Kconfig"
  205. source "lib/Kconfig"