Skip to contentSkip to conversation

sf: Kconfig: Update SPI_FLASH entry

PATCH New Jagan Teki 1 participant 2 messages Jun 28, 2015 – Jul 1, 2015 Memory technology devices (MTD)

lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH v2 5/20 sf: Kconfig: Update SPI_FLASH entry

Updated SPI_FLASH entry on Kconfig with depends on and along with config help description.

---
Changes for v2:
- Removed "depends on CMD_SF" as it's not in defconfig

 drivers/mtd/spi/Kconfig | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
drivers/mtd/spi/Kconfig +9 -9
index aa3468b..a8789a5 100644
@@ -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"
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH v2 5/20 sf: Kconfig: Update SPI_FLASH entry

Quoted 45 lines · Jagan Teki

Updated SPI_FLASH entry on Kconfig with depends on and along with config help description.

---
Changes for v2:
- Removed "depends on CMD_SF" as it's not in defconfig

 drivers/mtd/spi/Kconfig | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
drivers/mtd/spi/Kconfig +9 -10
index aa3468b..a8789a5 100644
@@ -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"
--
Quoted 1 line

1.9.1

Applied to u-boot-spi/master

thanks!

Signature · 1 line
Jagan | openedev.