xref: /linux/drivers/ssb/Kconfig (revision e5c86679d5e864947a52fb31e45a425dea3e7fa9)
1config SSB_POSSIBLE
2	bool
3	depends on HAS_IOMEM && HAS_DMA
4	default y
5
6menu "Sonics Silicon Backplane"
7	depends on SSB_POSSIBLE
8
9config SSB
10	tristate "Sonics Silicon Backplane support"
11	depends on SSB_POSSIBLE
12	help
13	  Support for the Sonics Silicon Backplane bus.
14	  You only need to enable this option, if you are
15	  configuring a kernel for an embedded system with
16	  this bus.
17	  It will be auto-selected if needed in other
18	  environments.
19
20	  The module will be called ssb.
21
22	  If unsure, say N.
23
24# Common SPROM support routines
25config SSB_SPROM
26	bool
27
28# Support for Block-I/O. SELECT this from the driver that needs it.
29config SSB_BLOCKIO
30	bool
31	depends on SSB
32
33config SSB_PCIHOST_POSSIBLE
34	bool
35	depends on SSB && (PCI = y || PCI = SSB)
36	default y
37
38config SSB_PCIHOST
39	bool "Support for SSB on PCI-bus host"
40	depends on SSB_PCIHOST_POSSIBLE
41	select SSB_SPROM
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
49config SSB_B43_PCI_BRIDGE
50	bool
51	depends on SSB_PCIHOST
52	default n
53
54config SSB_PCMCIAHOST_POSSIBLE
55	bool
56	depends on SSB && (PCMCIA = y || PCMCIA = SSB)
57	default y
58
59config SSB_PCMCIAHOST
60	bool "Support for SSB on PCMCIA-bus host"
61	depends on SSB_PCMCIAHOST_POSSIBLE
62	select SSB_SPROM
63	help
64	  Support for a Sonics Silicon Backplane on top
65	  of a PCMCIA device.
66
67	  If unsure, say N
68
69config SSB_SDIOHOST_POSSIBLE
70	bool
71	depends on SSB && (MMC = y || MMC = SSB)
72	default y
73
74config 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
83config SSB_HOST_SOC
84	bool "Support for SSB bus on SoC"
85	depends on SSB && BCM47XX_NVRAM
86	select SSB_SPROM
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
93config SSB_SILENT
94	bool "No SSB kernel messages"
95	depends on SSB && EXPERT
96	help
97	  This option turns off all Sonics Silicon Backplane printks.
98	  Note that you won't be able to identify problems, once
99	  messages are turned off.
100	  This might only be desired for production kernels on
101	  embedded devices to reduce the kernel size.
102
103	  Say N
104
105config SSB_DEBUG
106	bool "SSB debugging"
107	depends on SSB && !SSB_SILENT
108	help
109	  This turns on additional runtime checks and debugging
110	  messages. Turn this on for SSB troubleshooting.
111
112	  If unsure, say N
113
114config SSB_SERIAL
115	bool
116	depends on SSB
117	# ChipCommon and ExtIf serial support routines.
118
119config SSB_DRIVER_PCICORE_POSSIBLE
120	bool
121	depends on SSB_PCIHOST
122	default y
123
124config SSB_DRIVER_PCICORE
125	bool "SSB PCI core driver"
126	depends on SSB_DRIVER_PCICORE_POSSIBLE
127	help
128	  Driver for the Sonics Silicon Backplane attached
129	  Broadcom PCI core.
130
131	  If unsure, say Y
132
133config SSB_PCICORE_HOSTMODE
134	bool "Hostmode support for SSB PCI core"
135	depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS
136	help
137	  PCIcore hostmode operation (external PCI bus).
138
139config SSB_DRIVER_MIPS
140	bool "SSB Broadcom MIPS core driver"
141	depends on SSB && MIPS
142	select SSB_SERIAL
143	select SSB_SFLASH
144	help
145	  Driver for the Sonics Silicon Backplane attached
146	  Broadcom MIPS core.
147
148	  If unsure, say N
149
150config SSB_SFLASH
151	bool "SSB serial flash support"
152	depends on SSB_DRIVER_MIPS
153	default y
154
155# Assumption: We are on embedded, if we compile the MIPS core.
156config SSB_EMBEDDED
157	bool
158	depends on SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE
159	default y
160
161config SSB_DRIVER_EXTIF
162	bool "SSB Broadcom EXTIF core driver"
163	depends on SSB_DRIVER_MIPS
164	help
165	  Driver for the Sonics Silicon Backplane attached
166	  Broadcom EXTIF core.
167
168	  If unsure, say N
169
170config SSB_DRIVER_GIGE
171	bool "SSB Broadcom Gigabit Ethernet driver"
172	depends on SSB_PCIHOST_POSSIBLE && SSB_EMBEDDED && MIPS
173	help
174	  Driver for the Sonics Silicon Backplane attached
175	  Broadcom Gigabit Ethernet.
176
177	  If unsure, say N
178
179config SSB_DRIVER_GPIO
180	bool "SSB GPIO driver"
181	depends on SSB && GPIOLIB
182	select IRQ_DOMAIN if SSB_EMBEDDED
183	help
184	  Driver to provide access to the GPIO pins on the bus.
185
186	  If unsure, say N
187
188endmenu
189