Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
61e115a5 MB |
2 | config SSB_POSSIBLE |
3 | bool | |
f225763a | 4 | depends on HAS_IOMEM && HAS_DMA |
61e115a5 MB |
5 | default y |
6 | ||
8c9fdd76 | 7 | menuconfig SSB |
61e115a5 MB |
8 | tristate "Sonics Silicon Backplane support" |
9 | depends on SSB_POSSIBLE | |
10 | help | |
11 | Support for the Sonics Silicon Backplane bus. | |
12 | You only need to enable this option, if you are | |
13 | configuring a kernel for an embedded system with | |
14 | this bus. | |
15 | It will be auto-selected if needed in other | |
16 | environments. | |
17 | ||
18 | The module will be called ssb. | |
19 | ||
20 | If unsure, say N. | |
21 | ||
8c9fdd76 VL |
22 | if SSB |
23 | ||
e7ec2e32 MB |
24 | # Common SPROM support routines |
25 | config SSB_SPROM | |
26 | bool | |
27 | ||
d625a29b MB |
28 | # Support for Block-I/O. SELECT this from the driver that needs it. |
29 | config SSB_BLOCKIO | |
30 | bool | |
31 | depends on SSB | |
32 | ||
61e115a5 MB |
33 | config SSB_PCIHOST_POSSIBLE |
34 | bool | |
a9e6d44d | 35 | depends on SSB && (PCI = y || PCI = SSB) && (PCI_DRIVERS_LEGACY || !MIPS) |
61e115a5 MB |
36 | default y |
37 | ||
38 | config SSB_PCIHOST | |
39 | bool "Support for SSB on PCI-bus host" | |
40 | depends on SSB_PCIHOST_POSSIBLE | |
e7ec2e32 | 41 | select SSB_SPROM |
61e115a5 MB |
42 | default y |
43 | help | |
44 | Support for a Sonics Silicon Backplane on top | |
45 | of a PCI device. | |
46 | ||
47 | If unsure, say Y | |
48 | ||
c7084535 AZ |
49 | config SSB_B43_PCI_BRIDGE |
50 | bool | |
51 | depends on SSB_PCIHOST | |
52 | default n | |
53 | ||
61e115a5 MB |
54 | config SSB_PCMCIAHOST_POSSIBLE |
55 | bool | |
feeb4445 | 56 | depends on SSB && (PCMCIA = y || PCMCIA = SSB) |
61e115a5 MB |
57 | default y |
58 | ||
59 | config SSB_PCMCIAHOST | |
feeb4445 | 60 | bool "Support for SSB on PCMCIA-bus host" |
61e115a5 | 61 | depends on SSB_PCMCIAHOST_POSSIBLE |
e7ec2e32 | 62 | select SSB_SPROM |
61e115a5 MB |
63 | help |
64 | Support for a Sonics Silicon Backplane on top | |
65 | of a PCMCIA device. | |
66 | ||
67 | If unsure, say N | |
68 | ||
24ea602e AH |
69 | config SSB_SDIOHOST_POSSIBLE |
70 | bool | |
71 | depends on SSB && (MMC = y || MMC = SSB) | |
72 | default y | |
73 | ||
74 | config SSB_SDIOHOST | |
75 | bool "Support for SSB on SDIO-bus host" | |
76 | depends on SSB_SDIOHOST_POSSIBLE | |
77 | help | |
78 | Support for a Sonics Silicon Backplane on top | |
79 | of a SDIO device. | |
80 | ||
81 | If unsure, say N | |
82 | ||
845da6e5 RM |
83 | config SSB_HOST_SOC |
84 | bool "Support for SSB bus on SoC" | |
541c9a84 | 85 | depends on SSB && BCM47XX_NVRAM |
10da848f | 86 | select SSB_SPROM |
845da6e5 RM |
87 | help |
88 | Host interface for a SSB directly mapped into memory. This is | |
89 | for some Broadcom SoCs from the BCM47xx and BCM53xx lines. | |
90 | ||
91 | If unsure, say N | |
92 | ||
61e115a5 MB |
93 | config SSB_SERIAL |
94 | bool | |
95 | depends on SSB | |
96 | # ChipCommon and ExtIf serial support routines. | |
97 | ||
98 | config SSB_DRIVER_PCICORE_POSSIBLE | |
99 | bool | |
36910d82 | 100 | depends on SSB_PCIHOST |
61e115a5 MB |
101 | default y |
102 | ||
103 | config SSB_DRIVER_PCICORE | |
104 | bool "SSB PCI core driver" | |
105 | depends on SSB_DRIVER_PCICORE_POSSIBLE | |
106 | help | |
107 | Driver for the Sonics Silicon Backplane attached | |
108 | Broadcom PCI core. | |
109 | ||
110 | If unsure, say Y | |
111 | ||
112 | config SSB_PCICORE_HOSTMODE | |
feeb4445 | 113 | bool "Hostmode support for SSB PCI core" |
ebd27d33 | 114 | depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS && SSB = y |
61e115a5 MB |
115 | help |
116 | PCIcore hostmode operation (external PCI bus). | |
117 | ||
118 | config SSB_DRIVER_MIPS | |
feeb4445 MB |
119 | bool "SSB Broadcom MIPS core driver" |
120 | depends on SSB && MIPS | |
61e115a5 | 121 | select SSB_SERIAL |
179fa46f | 122 | select SSB_SFLASH |
61e115a5 MB |
123 | help |
124 | Driver for the Sonics Silicon Backplane attached | |
125 | Broadcom MIPS core. | |
126 | ||
127 | If unsure, say N | |
128 | ||
72a525cb RM |
129 | config SSB_SFLASH |
130 | bool "SSB serial flash support" | |
092c4649 | 131 | depends on SSB_DRIVER_MIPS |
72a525cb RM |
132 | default y |
133 | ||
42bfad4f MB |
134 | # Assumption: We are on embedded, if we compile the MIPS core. |
135 | config SSB_EMBEDDED | |
136 | bool | |
271792ef | 137 | depends on SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE |
42bfad4f MB |
138 | default y |
139 | ||
61e115a5 | 140 | config SSB_DRIVER_EXTIF |
feeb4445 MB |
141 | bool "SSB Broadcom EXTIF core driver" |
142 | depends on SSB_DRIVER_MIPS | |
61e115a5 MB |
143 | help |
144 | Driver for the Sonics Silicon Backplane attached | |
145 | Broadcom EXTIF core. | |
146 | ||
147 | If unsure, say N | |
148 | ||
aab547ce MB |
149 | config SSB_DRIVER_GIGE |
150 | bool "SSB Broadcom Gigabit Ethernet driver" | |
151 | depends on SSB_PCIHOST_POSSIBLE && SSB_EMBEDDED && MIPS | |
152 | help | |
153 | Driver for the Sonics Silicon Backplane attached | |
154 | Broadcom Gigabit Ethernet. | |
155 | ||
156 | If unsure, say N | |
157 | ||
ec43b08b HM |
158 | config SSB_DRIVER_GPIO |
159 | bool "SSB GPIO driver" | |
3194f2f0 | 160 | depends on SSB && GPIOLIB |
7c1bc0da | 161 | select IRQ_DOMAIN if SSB_EMBEDDED |
ec43b08b HM |
162 | help |
163 | Driver to provide access to the GPIO pins on the bus. | |
164 | ||
165 | If unsure, say N | |
166 | ||
8c9fdd76 | 167 | endif # SSB |