xref: /openbmc/linux/drivers/bcma/Kconfig (revision e8f6f3b4)
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	default y
30
31config BCMA_DRIVER_PCI_HOSTMODE
32	bool "Driver for PCI core working in hostmode"
33	depends on BCMA && MIPS && BCMA_HOST_PCI
34	help
35	  PCI core hostmode operation (external PCI bus).
36
37config BCMA_HOST_SOC
38	bool "Support for BCMA in a SoC"
39	depends on BCMA
40	help
41	  Host interface for a Broadcom AIX bus directly mapped into
42	  the memory. This only works with the Broadcom SoCs from the
43	  BCM47XX line.
44
45	  If unsure, say N
46
47config BCMA_DRIVER_MIPS
48	bool "BCMA Broadcom MIPS core driver"
49	depends on BCMA && MIPS
50	help
51	  Driver for the Broadcom MIPS core attached to Broadcom specific
52	  Advanced Microcontroller Bus.
53
54	  If unsure, say N
55
56config BCMA_SFLASH
57	bool
58	depends on BCMA_DRIVER_MIPS
59	default y
60
61config BCMA_NFLASH
62	bool
63	depends on BCMA_DRIVER_MIPS
64	default y
65
66config BCMA_DRIVER_GMAC_CMN
67	bool "BCMA Broadcom GBIT MAC COMMON core driver"
68	depends on BCMA
69	help
70	  Driver for the Broadcom GBIT MAC COMMON core attached to Broadcom
71	  specific Advanced Microcontroller Bus.
72
73	  If unsure, say N
74
75config BCMA_DRIVER_GPIO
76	bool "BCMA GPIO driver"
77	depends on BCMA && GPIOLIB
78	select IRQ_DOMAIN if BCMA_HOST_SOC
79	help
80	  Driver to provide access to the GPIO pins of the bcma bus.
81
82	  If unsure, say N
83
84config BCMA_DEBUG
85	bool "BCMA debugging"
86	depends on BCMA
87	help
88	  This turns on additional debugging messages.
89
90	  If unsure, say N
91
92endmenu
93