Added kconfig entry for MTD_DATAFLASH

Cc: Bin Meng <bmeng...@gmail.com>
Cc: Simon Glass <s...@chromium.org>
Cc: York Sun <york....@nxp.com>
Signed-off-by: Jagan Teki <jt...@openedev.com>
---
 drivers/mtd/spi-nor/Kconfig | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig
index a035fd3..f2bd630 100644
--- a/drivers/mtd/spi-nor/Kconfig
+++ b/drivers/mtd/spi-nor/Kconfig
@@ -99,3 +99,18 @@ config SPI_FLASH_WINBOND
          Add support for various Winbond SPI flash chips (W25xxx)
 
 endif # MTD_SPI_NOR
+
+config MTD_DATAFLASH
+       bool "AT45xxx DataFlash support"
+       depends on MTD
+       help
+         Enable the access for SPI-flash-based AT45xxx DataFlash chips.
+         DataFlash is a kind of SPI flash. Most AT45 chips have two buffers
+         in each chip, which may be used for double buffered I/O; but this
+         driver doesn't (yet) use these for any kind of i/o overlap or 
prefetching.
+
+         Sometimes DataFlash is packaged in MMC-format cards, although the
+         MMC stack can't (yet?) distinguish between MMC and DataFlash
+         protocols during enumeration.
+
+         If unsure, say N
-- 
1.9.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to