Kconfig 3.6 KB
Newer Older
1 2
config SSB_POSSIBLE
	bool
3
	depends on HAS_IOMEM && HAS_DMA
4 5
	default y

6
menuconfig SSB
7 8 9 10 11 12 13 14 15 16 17 18 19 20
	tristate "Sonics Silicon Backplane support"
	depends on SSB_POSSIBLE
	help
	  Support for the Sonics Silicon Backplane bus.
	  You only need to enable this option, if you are
	  configuring a kernel for an embedded system with
	  this bus.
	  It will be auto-selected if needed in other
	  environments.

	  The module will be called ssb.

	  If unsure, say N.

21 22
if SSB

23 24 25 26
# Common SPROM support routines
config SSB_SPROM
	bool

M
Michael Buesch 已提交
27 28 29 30 31
# Support for Block-I/O. SELECT this from the driver that needs it.
config SSB_BLOCKIO
	bool
	depends on SSB

32 33
config SSB_PCIHOST_POSSIBLE
	bool
34
	depends on SSB && (PCI = y || PCI = SSB) && (PCI_DRIVERS_LEGACY || !MIPS)
35 36 37 38 39
	default y

config SSB_PCIHOST
	bool "Support for SSB on PCI-bus host"
	depends on SSB_PCIHOST_POSSIBLE
40
	select SSB_SPROM
41 42 43 44 45 46 47
	default y
	help
	  Support for a Sonics Silicon Backplane on top
	  of a PCI device.

	  If unsure, say Y

48 49 50 51 52
config SSB_B43_PCI_BRIDGE
	bool
	depends on SSB_PCIHOST
	default n

53 54
config SSB_PCMCIAHOST_POSSIBLE
	bool
55
	depends on SSB && (PCMCIA = y || PCMCIA = SSB)
56 57 58
	default y

config SSB_PCMCIAHOST
59
	bool "Support for SSB on PCMCIA-bus host"
60
	depends on SSB_PCMCIAHOST_POSSIBLE
61
	select SSB_SPROM
62 63 64 65 66 67
	help
	  Support for a Sonics Silicon Backplane on top
	  of a PCMCIA device.

	  If unsure, say N

68 69 70 71 72 73 74 75 76 77 78 79 80 81
config SSB_SDIOHOST_POSSIBLE
	bool
	depends on SSB && (MMC = y || MMC = SSB)
	default y

config SSB_SDIOHOST
	bool "Support for SSB on SDIO-bus host"
	depends on SSB_SDIOHOST_POSSIBLE
	help
	  Support for a Sonics Silicon Backplane on top
	  of a SDIO device.

	  If unsure, say N

82 83
config SSB_HOST_SOC
	bool "Support for SSB bus on SoC"
84
	depends on SSB && BCM47XX_NVRAM
A
Arnd Bergmann 已提交
85
	select SSB_SPROM
86 87 88 89 90 91
	help
	  Host interface for a SSB directly mapped into memory. This is
	  for some Broadcom SoCs from the BCM47xx and BCM53xx lines.

	  If unsure, say N

92 93
config SSB_DEBUG
	bool "SSB debugging"
94
	depends on SSB
95 96 97 98 99 100 101 102 103 104 105 106 107
	help
	  This turns on additional runtime checks and debugging
	  messages. Turn this on for SSB troubleshooting.

	  If unsure, say N

config SSB_SERIAL
	bool
	depends on SSB
	# ChipCommon and ExtIf serial support routines.

config SSB_DRIVER_PCICORE_POSSIBLE
	bool
108
	depends on SSB_PCIHOST
109 110 111 112 113 114 115 116 117 118 119 120
	default y

config SSB_DRIVER_PCICORE
	bool "SSB PCI core driver"
	depends on SSB_DRIVER_PCICORE_POSSIBLE
	help
	  Driver for the Sonics Silicon Backplane attached
	  Broadcom PCI core.

	  If unsure, say Y

config SSB_PCICORE_HOSTMODE
121
	bool "Hostmode support for SSB PCI core"
122
	depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS && SSB = y
123 124 125 126
	help
	  PCIcore hostmode operation (external PCI bus).

config SSB_DRIVER_MIPS
127 128
	bool "SSB Broadcom MIPS core driver"
	depends on SSB && MIPS
129
	select SSB_SERIAL
130
	select SSB_SFLASH
131 132 133 134 135 136
	help
	  Driver for the Sonics Silicon Backplane attached
	  Broadcom MIPS core.

	  If unsure, say N

137 138
config SSB_SFLASH
	bool "SSB serial flash support"
139
	depends on SSB_DRIVER_MIPS
140 141
	default y

142 143 144
# Assumption: We are on embedded, if we compile the MIPS core.
config SSB_EMBEDDED
	bool
145
	depends on SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE
146 147
	default y

148
config SSB_DRIVER_EXTIF
149 150
	bool "SSB Broadcom EXTIF core driver"
	depends on SSB_DRIVER_MIPS
151 152 153 154 155 156
	help
	  Driver for the Sonics Silicon Backplane attached
	  Broadcom EXTIF core.

	  If unsure, say N

157 158 159 160 161 162 163 164 165
config SSB_DRIVER_GIGE
	bool "SSB Broadcom Gigabit Ethernet driver"
	depends on SSB_PCIHOST_POSSIBLE && SSB_EMBEDDED && MIPS
	help
	  Driver for the Sonics Silicon Backplane attached
	  Broadcom Gigabit Ethernet.

	  If unsure, say N

H
Hauke Mehrtens 已提交
166 167
config SSB_DRIVER_GPIO
	bool "SSB GPIO driver"
168
	depends on SSB && GPIOLIB
R
Rafał Miłecki 已提交
169
	select IRQ_DOMAIN if SSB_EMBEDDED
H
Hauke Mehrtens 已提交
170 171 172 173 174
	help
	  Driver to provide access to the GPIO pins on the bus.

	  If unsure, say N

175
endif # SSB