Kconfig.sh64 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  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. source "arch/sh/Kconfig.cpu"
  73. config SH64_FPU_DENORM_FLUSH
  74. depends on SH_FPU
  75. bool "Flush floating point denorms to zero"
  76. choice
  77. prompt "Page table levels"
  78. default SH64_PGTABLE_2_LEVEL
  79. config SH64_PGTABLE_2_LEVEL
  80. bool "2"
  81. config SH64_PGTABLE_3_LEVEL
  82. bool "3"
  83. endchoice
  84. config SH64_USER_MISALIGNED_FIXUP
  85. bool "Fixup misaligned loads/stores occurring in user mode"
  86. comment "Memory options"
  87. config CACHED_MEMORY_OFFSET
  88. hex "Cached Area Offset"
  89. default "20000000"
  90. config MEMORY_START
  91. hex "Physical memory start address"
  92. default "80000000"
  93. config MEMORY_SIZE_IN_MB
  94. int "Memory size (in MB)"
  95. default "8" if SH_SIMULATOR
  96. default "64"
  97. comment "Cache options"
  98. choice
  99. prompt "DCache mode"
  100. default DCACHE_DISABLED if SH_SIMULATOR
  101. default DCACHE_WRITE_BACK
  102. config DCACHE_WRITE_BACK
  103. bool "Write-back"
  104. depends on !SH_SIMULATOR
  105. config DCACHE_WRITE_THROUGH
  106. bool "Write-through"
  107. depends on !SH_SIMULATOR
  108. config DCACHE_DISABLED
  109. bool "Disabled"
  110. endchoice
  111. config ICACHE_DISABLED
  112. bool "ICache Disabling"
  113. config PCIDEVICE_MEMORY_START
  114. hex
  115. default "C0000000"
  116. config DEVICE_MEMORY_START
  117. hex
  118. default "E0000000"
  119. config FLASH_MEMORY_START
  120. hex "Flash memory/on-chip devices start address"
  121. default "00000000"
  122. config PCI_BLOCK_START
  123. hex "PCI block start address"
  124. default "40000000"
  125. comment "CPU Subtype specific options"
  126. config SH64_ID2815_WORKAROUND
  127. bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
  128. comment "Misc options"
  129. config HEARTBEAT
  130. bool "Heartbeat LED"
  131. depends on SH_CAYMAN
  132. config HDSP253_LED
  133. bool "Support for HDSP-253 LED"
  134. depends on SH_CAYMAN
  135. config SH_DMA
  136. tristate "DMA controller (DMAC) support"
  137. config PREEMPT
  138. bool "Preemptible Kernel (EXPERIMENTAL)"
  139. depends on EXPERIMENTAL
  140. config SH_PCLK_FREQ
  141. int "Peripheral clock frequency (in Hz)"
  142. default "50000000"
  143. source "kernel/Kconfig.hz"
  144. source "arch/sh/mm/Kconfig"
  145. endmenu
  146. menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
  147. config ISA
  148. bool
  149. config SBUS
  150. bool
  151. config PCI
  152. bool "PCI support"
  153. depends on SH_CAYMAN
  154. help
  155. Find out whether you have a PCI motherboard. PCI is the name of a
  156. bus system, i.e. the way the CPU talks to the other stuff inside
  157. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  158. VESA. If you have PCI, say Y, otherwise N.
  159. The PCI-HOWTO, available from
  160. <http://www.tldp.org/docs.html#howto>, contains valuable
  161. information about which PCI hardware does work under Linux and which
  162. doesn't.
  163. config SH_PCIDMA_NONCOHERENT
  164. bool "Cache and PCI noncoherent"
  165. depends on PCI
  166. default y
  167. help
  168. Enable this option if your platform does not have a CPU cache which
  169. remains coherent with PCI DMA. It is safest to say 'Y', although you
  170. will see better performance if you can say 'N', because the PCI DMA
  171. code will not have to flush the CPU's caches. If you have a PCI host
  172. bridge integrated with your SH CPU, refer carefully to the chip specs
  173. to see if you can say 'N' here. Otherwise, leave it as 'Y'.
  174. source "drivers/pci/Kconfig"
  175. source "drivers/pcmcia/Kconfig"
  176. source "drivers/pci/hotplug/Kconfig"
  177. endmenu
  178. menu "Executable file formats"
  179. source "fs/Kconfig.binfmt"
  180. endmenu
  181. source "net/Kconfig"
  182. source "drivers/Kconfig"
  183. source "fs/Kconfig"
  184. source "kernel/Kconfig.instrumentation"
  185. source "arch/sh/Kconfig.debug"
  186. source "security/Kconfig"
  187. source "crypto/Kconfig"
  188. source "lib/Kconfig"