summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorJagan Teki <jteki@openedev.com>2015-06-27 22:42:35 +0530
committerJagan Teki <jteki@openedev.com>2015-07-01 21:15:04 +0530
commit7678dd93ec270d623ee05230004f42226f03c052 (patch)
treee779ea9b71fa767e3ad2ad2767452432b6ed102a /drivers/mtd
parent2ce7e2b6fc929fb204a49d7d1391b3d147c138f9 (diff)
downloadu-boot-imx-7678dd93ec270d623ee05230004f42226f03c052.zip
u-boot-imx-7678dd93ec270d623ee05230004f42226f03c052.tar.gz
u-boot-imx-7678dd93ec270d623ee05230004f42226f03c052.tar.bz2
sf: Kconfig: Add SPI_FLASH_MTD entry
Added SPI_FLASH_MTD entry on Kconfig with help description. Signed-off-by: Jagan Teki <jteki@openedev.com> Acked-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/spi/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig
index a8789a5..80fe93e 100644
--- a/drivers/mtd/spi/Kconfig
+++ b/drivers/mtd/spi/Kconfig
@@ -34,4 +34,16 @@ config SPI_FLASH
If unsure, say N
+config SPI_FLASH_MTD
+ bool "SPI Flash MTD support"
+ depends on SPI_FLASH
+ help
+ Enable the MTD support for spi flash layer, this adapter is for
+ translating mtd_read/mtd_write commands into spi_flash_read/write
+ commands. It is not intended to use it within sf_cmd or the SPI
+ flash subsystem. Such an adapter is needed for subsystems like
+ UBI which can only operate on top of the MTD layer.
+
+ If unsure, say N
+
endmenu # menu "SPI Flash Support"