xref: /linux/drivers/bcma/Kconfig (revision 22ac5ad4a7d4e201d19b7f04ce8d79346c80a34b)
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
13if BCMA
14
15# Support for Block-I/O. SELECT this from the driver that needs it.
16config BCMA_BLOCKIO
17	bool
18
19config BCMA_HOST_PCI_POSSIBLE
20	bool
21	depends on PCI = y
22	default y
23
24config BCMA_HOST_PCI
25	bool "Support for BCMA on PCI-host bus"
26	depends on BCMA_HOST_PCI_POSSIBLE
27	select BCMA_DRIVER_PCI
28	default y
29
30config BCMA_HOST_SOC
31	bool "Support for BCMA in a SoC"
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 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 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 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	help
95	  Driver for the Broadcom GBIT MAC COMMON core attached to Broadcom
96	  specific Advanced Microcontroller Bus.
97
98	  If unsure, say N
99
100config BCMA_DRIVER_GPIO
101	bool "BCMA GPIO driver"
102	depends on GPIOLIB
103	select GPIOLIB_IRQCHIP if BCMA_HOST_SOC
104	help
105	  Driver to provide access to the GPIO pins of the bcma bus.
106
107	  If unsure, say N
108
109config BCMA_DEBUG
110	bool "BCMA debugging"
111	help
112	  This turns on additional debugging messages.
113
114	  If unsure, say N
115
116endif # BCMA
117