sf: Kconfig: Update SPI_FLASH entry
authorJagan Teki <jteki@openedev.com>
Sun, 28 Jun 2015 19:29:36 +0000 (00:59 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 1 Jul 2015 15:45:04 +0000 (21:15 +0530)
Updated SPI_FLASH entry on Kconfig with depends on
and along with config help description.

Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/mtd/spi/Kconfig

index aa3468bf4ede81ff64d72605edae91155f685157..a8789a5a35af827f1a77937ce2bf3e66ed63aca2 100644 (file)
@@ -1,14 +1,5 @@
 menu "SPI Flash Support"
 
-config SPI_FLASH
-       bool "Enable SPI Flash support"
-       help
-         Enable the legacy SPI flash support. This will include basic
-         standard support for things like probing, read / write, and
-         erasing through the MTD layer.
-
-         If unsure, say N
-
 config DM_SPI_FLASH
        bool "Enable Driver Model for SPI flash"
        depends on DM && DM_SPI
@@ -34,4 +25,13 @@ config SPI_FLASH_SANDBOX
          device. Typically the contents of the emulated SPI flash device is
          stored in a file on the host filesystem.
 
+config SPI_FLASH
+       bool "Legacy SPI Flash Interface support"
+       help
+         Enable the legacy SPI flash support. This will include basic
+         standard support for things like probing, read / write, and
+         erasing through cmd_sf interface.
+
+         If unsure, say N
+
 endmenu # menu "SPI Flash Support"