[U-Boot,PATCHv2,08/11] spi: Kconfig: Mark SOFT_SPI as DEPRECATED
diff mbox series

Message ID 1558273931-1415-8-git-send-email-trini@konsulko.com
State Superseded
Delegated to: Tom Rini
Headers show
  • [U-Boot,PATCHv2,01/11] configs: Migrate CONFIG_FMAN_ETH and some related options to Kconfig
Related show

Commit Message

Tom Rini May 19, 2019, 1:52 p.m. UTC
From: Jagan Teki <jagan@amarulasolutions.com>

Mark SOFT_SPI as DEPRECATED, this so the resulting build shows
warning for deprecated configuration enabled and associated code
will remove in v2019.07 release.

Cc: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
[trini: Switch to DEPRECATED]
Signed-off-by: Tom Rini <trini@konsulko.com>
 drivers/spi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff mbox series

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 9aac500bb187..e5477d5a110d 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -303,6 +303,7 @@  endif # if DM_SPI
 config SOFT_SPI
 	bool "Soft SPI driver"
+	depends on DM_SPI || (DEPRECATED && !DM_SPI)
 	 Enable Soft SPI driver. This driver is to use GPIO simulate
 	 the SPI protocol.