diff options
author | Brian Norris <computersforpeace@gmail.com> | 2014-04-08 23:30:25 -0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-04-14 14:23:01 -0400 |
commit | e43b20619bdb6c851dd7b49cbd15e52875a785d4 (patch) | |
tree | 2d2c1f44e79b22ae4965ab55508d82da0035521e /drivers/mtd/spi-nor | |
parent | 254592db612aeb55d80399a04995b68f7da48c99 (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/Kconfig | 11 | ||||
-rw-r--r-- | drivers/mtd/spi-nor/Makefile | 2 |
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 @@ | |||
1 | config MTD_SPI_NOR_BASE | 1 | config 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 | |||
8 | if MTD_SPI_NOR | ||
9 | |||
7 | config SPI_FSL_QUADSPI | 10 | config 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 | |||
17 | endif # 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 @@ | |||
1 | obj-$(CONFIG_MTD_SPI_NOR_BASE) += spi-nor.o | 1 | obj-$(CONFIG_MTD_SPI_NOR) += spi-nor.o |
2 | obj-$(CONFIG_SPI_FSL_QUADSPI) += fsl-quadspi.o | 2 | obj-$(CONFIG_SPI_FSL_QUADSPI) += fsl-quadspi.o |