aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/spi-nor
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2014-04-08 23:30:25 -0400
committerBrian Norris <computersforpeace@gmail.com>2014-04-14 14:23:01 -0400
commite43b20619bdb6c851dd7b49cbd15e52875a785d4 (patch)
tree2d2c1f44e79b22ae4965ab55508d82da0035521e /drivers/mtd/spi-nor
parent254592db612aeb55d80399a04995b68f7da48c99 (diff)
mtd: spi-nor: shorten Kconfig naming
Signed-off-by: Brian Norris <computersforpeace@gmail.com> Reviewed-by: Marek Vasut <marex@denx.de> Acked-by: Huang Shijie <b32955@freescale.com>
Diffstat (limited to 'drivers/mtd/spi-nor')
-rw-r--r--drivers/mtd/spi-nor/Kconfig11
-rw-r--r--drivers/mtd/spi-nor/Makefile2
2 files changed, 9 insertions, 4 deletions
diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig
index 64cfc39ad17e..d682fb440e06 100644
--- a/drivers/mtd/spi-nor/Kconfig
+++ b/drivers/mtd/spi-nor/Kconfig
@@ -1,12 +1,17 @@
1config MTD_SPI_NOR_BASE 1config MTD_SPI_NOR
2 bool "the framework for SPI-NOR support" 2 bool "SPI-NOR device support"
3 depends on MTD 3 depends on MTD
4 help 4 help
5 This is the framework for the SPI NOR which can be used by the SPI 5 This is the framework for the SPI NOR which can be used by the SPI
6 device drivers and the SPI-NOR device driver. 6 device drivers and the SPI-NOR device driver.
7
8if MTD_SPI_NOR
9
7config SPI_FSL_QUADSPI 10config SPI_FSL_QUADSPI
8 tristate "Freescale Quad SPI controller" 11 tristate "Freescale Quad SPI controller"
9 depends on ARCH_MXC && MTD_SPI_NOR_BASE 12 depends on ARCH_MXC
10 help 13 help
11 This enables support for the Quad SPI controller in master mode. 14 This enables support for the Quad SPI controller in master mode.
12 We only connect the NOR to this controller now. 15 We only connect the NOR to this controller now.
16
17endif # MTD_SPI_NOR
diff --git a/drivers/mtd/spi-nor/Makefile b/drivers/mtd/spi-nor/Makefile
index 51f9d8b99ab7..6a7ce1462247 100644
--- a/drivers/mtd/spi-nor/Makefile
+++ b/drivers/mtd/spi-nor/Makefile
@@ -1,2 +1,2 @@
1obj-$(CONFIG_MTD_SPI_NOR_BASE) += spi-nor.o 1obj-$(CONFIG_MTD_SPI_NOR) += spi-nor.o
2obj-$(CONFIG_SPI_FSL_QUADSPI) += fsl-quadspi.o 2obj-$(CONFIG_SPI_FSL_QUADSPI) += fsl-quadspi.o