Kconfig 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config SSB_POSSIBLE
  3. bool
  4. depends on HAS_IOMEM && HAS_DMA
  5. default y
  6. menuconfig SSB
  7. tristate "Sonics Silicon Backplane support"
  8. depends on SSB_POSSIBLE
  9. help
  10. Support for the Sonics Silicon Backplane bus.
  11. You only need to enable this option, if you are
  12. configuring a kernel for an embedded system with
  13. this bus.
  14. It will be auto-selected if needed in other
  15. environments.
  16. The module will be called ssb.
  17. If unsure, say N.
  18. if SSB
  19. # Common SPROM support routines
  20. config SSB_SPROM
  21. bool
  22. # Support for Block-I/O. SELECT this from the driver that needs it.
  23. config SSB_BLOCKIO
  24. bool
  25. depends on SSB
  26. config SSB_PCIHOST_POSSIBLE
  27. bool
  28. depends on SSB && (PCI = y || PCI = SSB) && (PCI_DRIVERS_LEGACY || !MIPS)
  29. default y
  30. config SSB_PCIHOST
  31. bool "Support for SSB on PCI-bus host"
  32. depends on SSB_PCIHOST_POSSIBLE
  33. select SSB_SPROM
  34. default y
  35. help
  36. Support for a Sonics Silicon Backplane on top
  37. of a PCI device.
  38. If unsure, say Y
  39. config SSB_B43_PCI_BRIDGE
  40. bool
  41. depends on SSB_PCIHOST
  42. default n
  43. config SSB_PCMCIAHOST_POSSIBLE
  44. bool
  45. depends on SSB && (PCMCIA = y || PCMCIA = SSB)
  46. default y
  47. config SSB_PCMCIAHOST
  48. bool "Support for SSB on PCMCIA-bus host"
  49. depends on SSB_PCMCIAHOST_POSSIBLE
  50. select SSB_SPROM
  51. help
  52. Support for a Sonics Silicon Backplane on top
  53. of a PCMCIA device.
  54. If unsure, say N
  55. config SSB_SDIOHOST_POSSIBLE
  56. bool
  57. depends on SSB && (MMC = y || MMC = SSB)
  58. default y
  59. config SSB_SDIOHOST
  60. bool "Support for SSB on SDIO-bus host"
  61. depends on SSB_SDIOHOST_POSSIBLE
  62. help
  63. Support for a Sonics Silicon Backplane on top
  64. of a SDIO device.
  65. If unsure, say N
  66. config SSB_HOST_SOC
  67. bool "Support for SSB bus on SoC"
  68. depends on SSB && BCM47XX_NVRAM
  69. select SSB_SPROM
  70. help
  71. Host interface for a SSB directly mapped into memory. This is
  72. for some Broadcom SoCs from the BCM47xx and BCM53xx lines.
  73. If unsure, say N
  74. config SSB_SERIAL
  75. bool
  76. depends on SSB
  77. # ChipCommon and ExtIf serial support routines.
  78. config SSB_DRIVER_PCICORE_POSSIBLE
  79. bool
  80. depends on SSB_PCIHOST
  81. default y
  82. config SSB_DRIVER_PCICORE
  83. bool "SSB PCI core driver"
  84. depends on SSB_DRIVER_PCICORE_POSSIBLE
  85. help
  86. Driver for the Sonics Silicon Backplane attached
  87. Broadcom PCI core.
  88. If unsure, say Y
  89. config SSB_PCICORE_HOSTMODE
  90. bool "Hostmode support for SSB PCI core"
  91. depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS && SSB = y
  92. help
  93. PCIcore hostmode operation (external PCI bus).
  94. config SSB_DRIVER_MIPS
  95. bool "SSB Broadcom MIPS core driver"
  96. depends on SSB && MIPS
  97. select SSB_SERIAL
  98. select SSB_SFLASH
  99. help
  100. Driver for the Sonics Silicon Backplane attached
  101. Broadcom MIPS core.
  102. If unsure, say N
  103. config SSB_SFLASH
  104. bool "SSB serial flash support"
  105. depends on SSB_DRIVER_MIPS
  106. default y
  107. # Assumption: We are on embedded, if we compile the MIPS core.
  108. config SSB_EMBEDDED
  109. bool
  110. depends on SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE
  111. default y
  112. config SSB_DRIVER_EXTIF
  113. bool "SSB Broadcom EXTIF core driver"
  114. depends on SSB_DRIVER_MIPS
  115. help
  116. Driver for the Sonics Silicon Backplane attached
  117. Broadcom EXTIF core.
  118. If unsure, say N
  119. config SSB_DRIVER_GIGE
  120. bool "SSB Broadcom Gigabit Ethernet driver"
  121. depends on SSB_PCIHOST_POSSIBLE && SSB_EMBEDDED && MIPS
  122. help
  123. Driver for the Sonics Silicon Backplane attached
  124. Broadcom Gigabit Ethernet.
  125. If unsure, say N
  126. config SSB_DRIVER_GPIO
  127. bool "SSB GPIO driver"
  128. depends on SSB && GPIOLIB
  129. select IRQ_DOMAIN if SSB_EMBEDDED
  130. help
  131. Driver to provide access to the GPIO pins on the bus.
  132. If unsure, say N
  133. endif # SSB