]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
sf: Kconfig: Add SPI_FLASH_MTD entry
authorJagan Teki <jteki@openedev.com>
Sat, 27 Jun 2015 17:12:35 +0000 (22:42 +0530)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 22:47:28 +0000 (00:47 +0200)
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>
drivers/mtd/spi/Kconfig

index a8789a5a35af827f1a77937ce2bf3e66ed63aca2..80fe93ee21d8146c9d0b03e9c3e243fc6469eb6e 100644 (file)
@@ -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"