cmd: sf: Mark it default if DM_SPI_FLASH enabled
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 16 Oct 2019 12:29:42 +0000 (17:59 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 24 Oct 2019 19:18:31 +0000 (00:48 +0530)
commitc2af7fb1ff6f8d6489bdba4216128cbb08ae4243
tree9a3dd80b99ad3bacc8fdb0eef0d02da101a8804a
parent4b060003957db07fa0e35beafe6559f9cc91954c
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>
cmd/Kconfig