diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2019-02-09 17:45:42 +0530 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2019-10-25 00:42:57 +0530 |
commit | 989fd97fe56676dd636803c467834c36a86d06a5 (patch) | |
tree | e830f60f299bbfa1efb7ca4d8d254a81bf5ae5f2 /drivers | |
parent | 17fd9915a4c639381804ed28274fa136ae3b0bee (diff) | |
download | u-boot-989fd97fe56676dd636803c467834c36a86d06a5.zip u-boot-989fd97fe56676dd636803c467834c36a86d06a5.tar.gz u-boot-989fd97fe56676dd636803c467834c36a86d06a5.tar.bz2 |
mtd: spi: Kconfig: Update CONFIG_SPI_FLASH
1) CONFIG_SPI_FLASH is not just a legacy code, but it has common
core code which handle both dm and non-dm spi flash code. So
fix the info text to make it clear globally.
2) Since it's flash core it shouldn't depends on legacy SPI,
so remove the 'depends on SPI'
Cc: Vignesh R <vigneshr@ti.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/spi/Kconfig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig index d3b007a..a0cfc62 100644 --- a/drivers/mtd/spi/Kconfig +++ b/drivers/mtd/spi/Kconfig @@ -26,11 +26,10 @@ config SPI_FLASH_SANDBOX stored in a file on the host filesystem. config SPI_FLASH - bool "Legacy SPI Flash Interface support" - depends on SPI + bool "SPI Flash Core Interface support" select SPI_MEM help - Enable the legacy SPI flash support. This will include basic + Enable the SPI flash Core support. This will include basic standard support for things like probing, read / write, and erasing through cmd_sf interface. |