mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-18 13:16:59 +02:00
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 <vigneshr@ti.com> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
This commit is contained in:
parent
c2af7fb1ff
commit
77df1a9b66
@ -3,6 +3,7 @@ menu "SPI Flash Support"
|
|||||||
config DM_SPI_FLASH
|
config DM_SPI_FLASH
|
||||||
bool "Enable Driver Model for SPI flash"
|
bool "Enable Driver Model for SPI flash"
|
||||||
depends on DM && DM_SPI
|
depends on DM && DM_SPI
|
||||||
|
imply SPI_FLASH
|
||||||
help
|
help
|
||||||
Enable driver model for SPI flash. This SPI flash interface
|
Enable driver model for SPI flash. This SPI flash interface
|
||||||
(spi_flash_probe(), spi_flash_write(), etc.) is then
|
(spi_flash_probe(), spi_flash_write(), etc.) is then
|
||||||
|
Loading…
Reference in New Issue
Block a user