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