diff options
-rw-r--r-- | drivers/bcma/Kconfig | 17 | ||||
-rw-r--r-- | drivers/bcma/Makefile | 4 |
2 files changed, 19 insertions, 2 deletions
diff --git a/drivers/bcma/Kconfig b/drivers/bcma/Kconfig index 8be284edc73c..9be17d3431bb 100644 --- a/drivers/bcma/Kconfig +++ b/drivers/bcma/Kconfig | |||
@@ -26,6 +26,7 @@ config BCMA_HOST_PCI_POSSIBLE | |||
26 | config BCMA_HOST_PCI | 26 | config BCMA_HOST_PCI |
27 | bool "Support for BCMA on PCI-host bus" | 27 | bool "Support for BCMA on PCI-host bus" |
28 | depends on BCMA_HOST_PCI_POSSIBLE | 28 | depends on BCMA_HOST_PCI_POSSIBLE |
29 | select BCMA_DRIVER_PCI | ||
29 | default y | 30 | default y |
30 | 31 | ||
31 | config BCMA_DRIVER_PCI_HOSTMODE | 32 | config BCMA_DRIVER_PCI_HOSTMODE |
@@ -44,6 +45,22 @@ config BCMA_HOST_SOC | |||
44 | 45 | ||
45 | If unsure, say N | 46 | If unsure, say N |
46 | 47 | ||
48 | # TODO: make it depend on PCI when ready | ||
49 | config BCMA_DRIVER_PCI | ||
50 | bool | ||
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 | |||
47 | config BCMA_DRIVER_MIPS | 64 | config BCMA_DRIVER_MIPS |
48 | bool "BCMA Broadcom MIPS core driver" | 65 | bool "BCMA Broadcom MIPS core driver" |
49 | depends on BCMA && MIPS | 66 | depends on BCMA && MIPS |
diff --git a/drivers/bcma/Makefile b/drivers/bcma/Makefile index 838b4b9d352f..f32af9b76bcd 100644 --- a/drivers/bcma/Makefile +++ b/drivers/bcma/Makefile | |||
@@ -3,8 +3,8 @@ bcma-y += driver_chipcommon.o driver_chipcommon_pmu.o | |||
3 | bcma-y += driver_chipcommon_b.o | 3 | bcma-y += driver_chipcommon_b.o |
4 | bcma-$(CONFIG_BCMA_SFLASH) += driver_chipcommon_sflash.o | 4 | bcma-$(CONFIG_BCMA_SFLASH) += driver_chipcommon_sflash.o |
5 | bcma-$(CONFIG_BCMA_NFLASH) += driver_chipcommon_nflash.o | 5 | bcma-$(CONFIG_BCMA_NFLASH) += driver_chipcommon_nflash.o |
6 | bcma-y += driver_pci.o | 6 | bcma-$(CONFIG_BCMA_DRIVER_PCI) += driver_pci.o |
7 | bcma-y += driver_pcie2.o | 7 | bcma-$(CONFIG_BCMA_DRIVER_PCI) += driver_pcie2.o |
8 | bcma-$(CONFIG_BCMA_DRIVER_PCI_HOSTMODE) += driver_pci_host.o | 8 | bcma-$(CONFIG_BCMA_DRIVER_PCI_HOSTMODE) += driver_pci_host.o |
9 | bcma-$(CONFIG_BCMA_DRIVER_MIPS) += driver_mips.o | 9 | bcma-$(CONFIG_BCMA_DRIVER_MIPS) += driver_mips.o |
10 | bcma-$(CONFIG_BCMA_DRIVER_GMAC_CMN) += driver_gmac_cmn.o | 10 | bcma-$(CONFIG_BCMA_DRIVER_GMAC_CMN) += driver_gmac_cmn.o |