mtd: fsl-quadspi: allow building for other ARCHes with COMPILE_TEST
authorBrian Norris <computersforpeace@gmail.com>
Mon, 12 Oct 2015 20:35:16 +0000 (13:35 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 19 Oct 2015 16:50:45 +0000 (09:50 -0700)
This driver doesn't actually need ARCH_MXC to compile. Relax the
constraints.

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

index 89bf4c1faa2b3547aaeb61bf58ec2224524f55ee..2fe2a7e90fa9f2b4b8b2bb4b1cfe2761ff96591f 100644 (file)
@@ -23,7 +23,8 @@ config MTD_SPI_NOR_USE_4K_SECTORS
 
 config SPI_FSL_QUADSPI
        tristate "Freescale Quad SPI controller"
-       depends on ARCH_MXC
+       depends on ARCH_MXC || COMPILE_TEST
+       depends on HAS_IOMEM
        help
          This enables support for the Quad SPI controller in master mode.
          This controller does not support generic SPI. It only supports