cmd: sf: Mark it default if DM_SPI_FLASH enabled
If DM_SPI_FLASH enabled that means it is using sf command for flash interface to access. SPI_FLASH can be used via sf command and board/driver functions to call spi flash ops, so mark it default only for DM_SPI_FLASH. This would prevent explicit adding of CONFIG_CMD_SF when DM_SPI_FLASH being enabled. Cc: Tom Rini <trini@konsulko.com> Acked-by: Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
This commit is contained in:
parent
4b06000395
commit
c2af7fb1ff
@ -1168,6 +1168,7 @@ config CMD_SDRAM
|
||||
config CMD_SF
|
||||
bool "sf"
|
||||
depends on DM_SPI_FLASH || SPI_FLASH
|
||||
default y if DM_SPI_FLASH
|
||||
help
|
||||
SPI Flash support
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user