Add SF_DUAL_FLASH config entry with help description
This is needed to support dual parallel and stacked
modes.

Signed-off-by: Siva Durga Prasad Paladugu <siva...@xilinx.com>
---
 drivers/mtd/spi/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig
index 1f23c8e..be5fb78 100644
--- a/drivers/mtd/spi/Kconfig
+++ b/drivers/mtd/spi/Kconfig
@@ -128,6 +128,14 @@ config SPI_FLASH_MTD
 
          If unsure, say N
 
+config SF_DUAL_FLASH
+       bool "SPI Flash Dual support"
+       depends on SPI_FLASH
+       help
+         Enables the dual modes support for spi flash layer, this is required
+         to handle dual parallel and stacked modes during sf read, write and
+         erase ops.
+
 if SPL
 
 config SPL_SPI_SUNXI
-- 
2.7.4

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

Reply via email to