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>
This commit is contained in:
parent
17fd9915a4
commit
989fd97fe5
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user