[6/8] spi: Kconfig: Mark SOFT_SPI has BROKEN

Message ID 20190428204801.9578-7-jagan@amarulasolutions.com
State New
Headers show
Series
  • [1/8] Kconfig: Update CONFIG_BROKEN help text
Related show

Commit Message

Jagan Teki April 28, 2019, 8:47 p.m. UTC
Mark SOFT_SPI has BROKEN, this so the resulting build shows
warning for broken 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>
---
 drivers/spi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index ad66e310e1..9e2eba47f7 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -308,6 +308,7 @@  endif # if DM_SPI
 
 config SOFT_SPI
 	bool "Soft SPI driver"
+	select BROKEN if !DM_SPI
 	help
 	 Enable Soft SPI driver. This driver is to use GPIO simulate
 	 the SPI protocol.