[U-Boot] [PATCH v2 05/20] sf: Kconfig: Update SPI_FLASH entry

Updated SPI_FLASH entry on Kconfig with depends on and along with config help description.
Signed-off-by: Jagan Teki jteki@openedev.com --- 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(-)
diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig index aa3468b..a8789a5 100644 --- a/drivers/mtd/spi/Kconfig +++ b/drivers/mtd/spi/Kconfig @@ -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"

On 29 June 2015 at 01:02, Jagan Teki jteki@openedev.com wrote:
Updated SPI_FLASH entry on Kconfig with depends on and along with config help description.
Signed-off-by: Jagan Teki jteki@openedev.com
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(-)
diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig index aa3468b..a8789a5 100644 --- a/drivers/mtd/spi/Kconfig +++ b/drivers/mtd/spi/Kconfig @@ -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"
1.9.1
Applied to u-boot-spi/master
thanks!
participants (1)
-
Jagan Teki