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