xref: /openbmc/linux/drivers/bcma/Kconfig (revision 8ee90c5c)
1config BCMA_POSSIBLE
2	bool
3	depends on HAS_IOMEM && HAS_DMA
4	default y
5
6menuconfig BCMA
7	tristate "Broadcom specific AMBA"
8	depends on BCMA_POSSIBLE
9	help
10	  Bus driver for Broadcom specific Advanced Microcontroller Bus
11	  Architecture.
12
13# Support for Block-I/O. SELECT this from the driver that needs it.
14config BCMA_BLOCKIO
15	bool
16	depends on BCMA
17
18config BCMA_HOST_PCI_POSSIBLE
19	bool
20	depends on BCMA && PCI = y
21	default y
22
23config BCMA_HOST_PCI
24	bool "Support for BCMA on PCI-host bus"
25	depends on BCMA_HOST_PCI_POSSIBLE
26	select BCMA_DRIVER_PCI
27	default y
28
29config BCMA_HOST_SOC
30	bool "Support for BCMA in a SoC"
31	depends on BCMA
32	help
33	  Host interface for a Broadcom AIX bus directly mapped into
34	  the memory. This only works with the Broadcom SoCs from the
35	  BCM47XX line.
36
37	  If unsure, say N
38
39config BCMA_DRIVER_PCI
40	bool "BCMA Broadcom PCI core driver"
41	depends on BCMA && PCI
42	default y
43	help
44	  BCMA bus may have many versions of PCIe core. This driver
45	  supports:
46	  1) PCIe core working in clientmode
47	  2) PCIe Gen 2 clientmode core
48
49	  In general PCIe (Gen 2) clientmode core is required on PCIe
50	  hosted buses. It's responsible for initialization and basic
51	  hardware management.
52	  This driver is also prerequisite for a hostmode PCIe core
53	  support.
54
55config BCMA_DRIVER_PCI_HOSTMODE
56	bool "Driver for PCI core working in hostmode"
57	depends on BCMA && MIPS && BCMA_DRIVER_PCI
58	help
59	  PCI core hostmode operation (external PCI bus).
60
61config BCMA_DRIVER_MIPS
62	bool "BCMA Broadcom MIPS core driver"
63	depends on BCMA && MIPS
64	help
65	  Driver for the Broadcom MIPS core attached to Broadcom specific
66	  Advanced Microcontroller Bus.
67
68	  If unsure, say N
69
70config BCMA_PFLASH
71	bool
72	depends on BCMA_DRIVER_MIPS
73	default y
74
75config BCMA_SFLASH
76	bool "ChipCommon-attached serial flash support"
77	depends on BCMA_HOST_SOC
78	default y
79	help
80	  Some cheap devices have serial flash connected to the ChipCommon
81	  instead of independent SPI controller. It requires using a separated
82	  driver that implements ChipCommon specific interface communication.
83
84	  Enabling this symbol will let bcma recognize serial flash and register
85	  it as platform device.
86
87config BCMA_NFLASH
88	bool
89	depends on BCMA_DRIVER_MIPS
90	default y
91
92config BCMA_DRIVER_GMAC_CMN
93	bool "BCMA Broadcom GBIT MAC COMMON core driver"
94	depends on BCMA
95	help
96	  Driver for the Broadcom GBIT MAC COMMON core attached to Broadcom
97	  specific Advanced Microcontroller Bus.
98
99	  If unsure, say N
100
101config BCMA_DRIVER_GPIO
102	bool "BCMA GPIO driver"
103	depends on BCMA && GPIOLIB
104	select GPIOLIB_IRQCHIP if BCMA_HOST_SOC
105	help
106	  Driver to provide access to the GPIO pins of the bcma bus.
107
108	  If unsure, say N
109
110config BCMA_DEBUG
111	bool "BCMA debugging"
112	depends on BCMA
113	help
114	  This turns on additional debugging messages.
115
116	  If unsure, say N
117