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