OSDN Git Service

mtd: nand: Update dependency of IFC for LS1021A
authorAlison Wang <b18965@freescale.com>
Mon, 13 Feb 2017 06:46:56 +0000 (14:46 +0800)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 16 Mar 2017 09:30:35 +0000 (10:30 +0100)
As NAND support for Freescale/NXP IFC controller is available on
LS1021A, the dependency for LS1021A is added.

LS1021A is an earlier product and is not compatible with later
LayerScape architecture. So ARCH_LAYERSCAPE can't cover LS1021A.

Signed-off-by: Alison Wang <alison.wang@nxp.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/Kconfig

index 1ac7f32..ae7ae77 100644 (file)
@@ -439,7 +439,7 @@ config MTD_NAND_FSL_ELBC
 
 config MTD_NAND_FSL_IFC
        tristate "NAND support for Freescale IFC controller"
-       depends on FSL_SOC || ARCH_LAYERSCAPE
+       depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A
        select FSL_IFC
        select MEMORY
        help