]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spi: Kconfig: Mark SOFT_SPI as DEPRECATED
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 29 May 2019 21:01:34 +0000 (17:01 -0400)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 13 Jun 2019 07:21:06 +0000 (12:51 +0530)
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

index c2e9180defa823bf78e8dce1b41a5b65e8a3af1d..ef3672f27bf5d92dd2c59cb5a61f747245324771 100644 (file)
@@ -314,6 +314,7 @@ endif # if DM_SPI
 
 config SOFT_SPI
        bool "Soft SPI driver"
+       depends on DM_SPI || (DEPRECATED && !DM_SPI)
        help
         Enable Soft SPI driver. This driver is to use GPIO simulate
         the SPI protocol.