Skip to content

Commit 9ba0cae

Browse files
esbenkrzk
authored andcommitted
memory: fsl_ifc: Make FSL_IFC config visible and selectable
While use of fsl_ifc driver with NAND flash is fine, as the fsl_ifc_nand driver selects FSL_IFC automatically, we need the CONFIG_FSL_IFC option to be selectable for platforms using fsl_ifc with NOR flash. Fixes: ea0c0ad ("memory: Enable compile testing for most of the drivers") Reviewed-by: Miquel Raynal <[email protected]> Signed-off-by: Esben Haabendal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 1613e60 commit 9ba0cae

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

drivers/memory/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ config FSL_CORENET_CF
167167
represents a coherency violation.
168168

169169
config FSL_IFC
170-
bool "Freescale IFC driver" if COMPILE_TEST
170+
bool "Freescale IFC driver"
171171
depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST
172172
depends on HAS_IOMEM
173173

drivers/mtd/nand/raw/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,7 @@ config MTD_NAND_FSL_IFC
234234
tristate "Freescale IFC NAND controller"
235235
depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST
236236
depends on HAS_IOMEM
237-
select FSL_IFC
238-
select MEMORY
237+
depends on FSL_IFC
239238
help
240239
Various Freescale chips e.g P1010, include a NAND Flash machine
241240
with built-in hardware ECC capabilities.

0 commit comments

Comments
 (0)