Kconfig: Add SPI / SPI_FLASH as dependencies
authorTom Rini <trini@konsulko.com>
Wed, 29 May 2019 21:01:28 +0000 (17:01 -0400)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 13 Jun 2019 07:21:06 +0000 (12:51 +0530)
commita4298ddaf8bbccf8a14acb6be33764eecbea9abd
treebacd31a2b7e884dd1ddb09739cce2f85e09cb6cf
parent9a4b90015a6a03c14071802f8bf49a17e0be6b16
Kconfig: Add SPI / SPI_FLASH as dependencies

In order to use CMD_SF / CMD_SPI / ENV_IS_IN_SPI_FLASH we need to have
the SPI (or SPI_FLASH/DM_SPI_FLASH, for CMD_SF) enabled.  Express this
in the Kconfigs.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
arch/Kconfig
cmd/Kconfig
env/Kconfig