diff options
| author | Jagan Teki <[email protected]> | 2019-10-16 18:07:24 +0530 |
|---|---|---|
| committer | Jagan Teki <[email protected]> | 2019-10-25 00:48:31 +0530 |
| commit | 77df1a9b665461e03e6da94cd9fb0399c85e715a (patch) | |
| tree | eb4aaa6a74a641f6672b60d67ea82393ae2cb1c8 | |
| parent | c2af7fb1ff6f8d6489bdba4216128cbb08ae4243 (diff) | |
mtd: spi: Kconfig: Imply SPI_FLASH if DM_SPI_FLASH
DM_SPI_FLASH should require spi flash interface code for dm
version, so imply SPI_FLASH core by default if any board
enabled DM_SPI_FLASH.
This overcome the explicit enablement of CONFIG_SPI_FLASH on
respective boards when DM_SPI_FLASH being used.
Acked-by: Vignesh Raghavendra <[email protected]>
Signed-off-by: Jagan Teki <[email protected]>
| -rw-r--r-- | drivers/mtd/spi/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig index a0cfc623c6f..681dc9ccccf 100644 --- a/drivers/mtd/spi/Kconfig +++ b/drivers/mtd/spi/Kconfig @@ -3,6 +3,7 @@ menu "SPI Flash Support" config DM_SPI_FLASH bool "Enable Driver Model for SPI flash" depends on DM && DM_SPI + imply SPI_FLASH help Enable driver model for SPI flash. This SPI flash interface (spi_flash_probe(), spi_flash_write(), etc.) is then |
