xref: /openbmc/linux/drivers/ssb/Kconfig (revision 2c684d89)
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
86	help
87	  Host interface for a SSB directly mapped into memory. This is
88	  for some Broadcom SoCs from the BCM47xx and BCM53xx lines.
89
90	  If unsure, say N
91
92config SSB_SILENT
93	bool "No SSB kernel messages"
94	depends on SSB && EXPERT
95	help
96	  This option turns off all Sonics Silicon Backplane printks.
97	  Note that you won't be able to identify problems, once
98	  messages are turned off.
99	  This might only be desired for production kernels on
100	  embedded devices to reduce the kernel size.
101
102	  Say N
103
104config SSB_DEBUG
105	bool "SSB debugging"
106	depends on SSB && !SSB_SILENT
107	help
108	  This turns on additional runtime checks and debugging
109	  messages. Turn this on for SSB troubleshooting.
110
111	  If unsure, say N
112
113config SSB_SERIAL
114	bool
115	depends on SSB
116	# ChipCommon and ExtIf serial support routines.
117
118config SSB_DRIVER_PCICORE_POSSIBLE
119	bool
120	depends on SSB_PCIHOST
121	default y
122
123config SSB_DRIVER_PCICORE
124	bool "SSB PCI core driver"
125	depends on SSB_DRIVER_PCICORE_POSSIBLE
126	help
127	  Driver for the Sonics Silicon Backplane attached
128	  Broadcom PCI core.
129
130	  If unsure, say Y
131
132config SSB_PCICORE_HOSTMODE
133	bool "Hostmode support for SSB PCI core"
134	depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS
135	help
136	  PCIcore hostmode operation (external PCI bus).
137
138config SSB_DRIVER_MIPS
139	bool "SSB Broadcom MIPS core driver"
140	depends on SSB && MIPS
141	select SSB_SERIAL
142	select SSB_SFLASH
143	help
144	  Driver for the Sonics Silicon Backplane attached
145	  Broadcom MIPS core.
146
147	  If unsure, say N
148
149config SSB_SFLASH
150	bool "SSB serial flash support"
151	depends on SSB_DRIVER_MIPS
152	default y
153
154# Assumption: We are on embedded, if we compile the MIPS core.
155config SSB_EMBEDDED
156	bool
157	depends on SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE
158	default y
159
160config SSB_DRIVER_EXTIF
161	bool "SSB Broadcom EXTIF core driver"
162	depends on SSB_DRIVER_MIPS
163	help
164	  Driver for the Sonics Silicon Backplane attached
165	  Broadcom EXTIF core.
166
167	  If unsure, say N
168
169config SSB_DRIVER_GIGE
170	bool "SSB Broadcom Gigabit Ethernet driver"
171	depends on SSB_PCIHOST_POSSIBLE && SSB_EMBEDDED && MIPS
172	help
173	  Driver for the Sonics Silicon Backplane attached
174	  Broadcom Gigabit Ethernet.
175
176	  If unsure, say N
177
178config SSB_DRIVER_GPIO
179	bool "SSB GPIO driver"
180	depends on SSB && GPIOLIB
181	select IRQ_DOMAIN if SSB_EMBEDDED
182	help
183	  Driver to provide access to the GPIO pins on the bus.
184
185	  If unsure, say N
186
187endmenu
188