Kconfig.sh64 4.0 KB

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