Commit a58d0b4d authored by Boris Brezillon's avatar Boris Brezillon Committed by Miquel Raynal

bcma: Allow selection of this driver when COMPILE_TEST=y

This allows us to increase compile-test coverage without having to build
a kernel for MIPS.  That's particularly interesting for subsystem
maintainers that want to test as many drivers as possible in a single
build.

We also add a dependency on HAS_IOMEM in BCMA_HOST_SOC to make sure the
driver is not selected when the arch does not implement IO accessors.
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
Acked-by: default avatarKalle Valo <kvalo@codeaurora.org>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent d4de09e5
...@@ -30,6 +30,7 @@ config BCMA_HOST_PCI ...@@ -30,6 +30,7 @@ config BCMA_HOST_PCI
config BCMA_HOST_SOC config BCMA_HOST_SOC
bool "Support for BCMA in a SoC" bool "Support for BCMA in a SoC"
depends on HAS_IOMEM
help help
Host interface for a Broadcom AIX bus directly mapped into Host interface for a Broadcom AIX bus directly mapped into
the memory. This only works with the Broadcom SoCs from the the memory. This only works with the Broadcom SoCs from the
...@@ -61,7 +62,7 @@ config BCMA_DRIVER_PCI_HOSTMODE ...@@ -61,7 +62,7 @@ config BCMA_DRIVER_PCI_HOSTMODE
config BCMA_DRIVER_MIPS config BCMA_DRIVER_MIPS
bool "BCMA Broadcom MIPS core driver" bool "BCMA Broadcom MIPS core driver"
depends on MIPS depends on MIPS || COMPILE_TEST
help help
Driver for the Broadcom MIPS core attached to Broadcom specific Driver for the Broadcom MIPS core attached to Broadcom specific
Advanced Microcontroller Bus. Advanced Microcontroller Bus.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment