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