Skip to content

Commit b30a2bd

Browse files
Boris Brezillonmiquelraynal
authored andcommitted
memory: fsl_ifc: Allow selection of this driver when COMPILE_TEST=y
It just makes maintainers' life easier by allowing them to compile-test this driver without having FSL_SOC, ARCH_LAYERSCAPE or SOC_LS1021A enabled. We also need to add a dependency on HAS_IOMEM to make sure the driver compiles correctly. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent 17c09ed commit b30a2bd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎drivers/memory/Kconfig‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ config FSL_CORENET_CF
116116

117117
config FSL_IFC
118118
bool
119-
depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A
119+
depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST
120+
depends on HAS_IOMEM
120121

121122
config JZ4780_NEMC
122123
bool "Ingenic JZ4780 SoC NEMC driver"

0 commit comments

Comments
 (0)