mtd: spi-nor: fsl-quadspi: add support for layerscape
authorYao Yuan <yao.yuan@freescale.com>
Tue, 26 Jan 2016 07:23:57 +0000 (15:23 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 7 Mar 2016 19:46:44 +0000 (11:46 -0800)
LS1043a and LS2080A in the Layerscape family also support Freescale Quad
SPI, make Quad SPI selectable for these hardwares.

Signed-off-by: Yuan Yao <yao.yuan@nxp.com>
Acked-by: Han xu <han.xu@nxp.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/Kconfig

index 3392a97..d42c98e 100644 (file)
@@ -31,7 +31,7 @@ config MTD_SPI_NOR_USE_4K_SECTORS
 
 config SPI_FSL_QUADSPI
        tristate "Freescale Quad SPI controller"
-       depends on ARCH_MXC || SOC_LS1021A || COMPILE_TEST
+       depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
        depends on HAS_IOMEM
        help
          This enables support for the Quad SPI controller in master mode.