Skip to contentSkip to conversation

spi: Zap soft_spi_legacy driver-related code

PATCH Superseded Jagan Teki 1 participant 1 message Apr 19, 2019 SPI

lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH v3 1/1 spi: Zap soft_spi_legacy driver-related code

Dropped
- soft_spi_legacy driver
- CONFIG_SOFT_SPI

Dropped due to:
- no active updates
- no dm conversion
- multiple pings for asking dm-conversion
- driver-model migration expiry

Cc Vasily Khoruzhick <[email protected]>

---
Changes for v3:
- rebase on master

 drivers/spi/Kconfig           |  12 +--
 drivers/spi/Makefile          |   1 -
 drivers/spi/soft_spi_legacy.c | 168 ----------------------------------
 include/configs/MPC8349EMDS.h |   3 -
 include/configs/zipitz2.h     |   1 -
 5 files changed, 6 insertions(+), 179 deletions(-)
 delete mode 100644 drivers/spi/soft_spi_legacy.c
drivers/spi/Kconfig +6 -6
index 4095bf5950..8a86878fee 100644
@@ -213,6 +213,12 @@ config SANDBOX_SPI
 		};
 	  };
 
+config SOFT_SPI
+	bool "Soft SPI driver"
+	help
+	 Enable Soft SPI driver. This driver is to use GPIO simulate
+	 the SPI protocol.
+
 config SPI_SUNXI
 	bool "Allwinner SoC SPI controllers"
 	help
@@ -301,12 +307,6 @@ config ZYNQMP_GQSPI
 
 endif # if DM_SPI
 
-config SOFT_SPI
-	bool "Soft SPI driver"
-	help
-	 Enable Soft SPI driver. This driver is to use GPIO simulate
-	 the SPI protocol.
-
 config MSCC_BB_SPI
 	bool "MSCC bitbang SPI driver"
 	depends on SOC_VCOREIII
drivers/spi/Makefile +0 -1
index fd147447fe..be4b4c140d 100644
@@ -13,7 +13,6 @@ obj-$(CONFIG_TI_QSPI) += ti_qspi.o
 else
 obj-y += spi.o
 obj-$(CONFIG_SPI_MEM) += spi-mem-nodm.o
-obj-$(CONFIG_SOFT_SPI) += soft_spi_legacy.o
 endif
 
 obj-$(CONFIG_ALTERA_SPI) += altera_spi.o
drivers/spi/soft_spi_legacy.c deleted +0 -168

168 lines not on this page · raw message

include/configs/MPC8349EMDS.h +0 -3
index bda477cc16..a54f4ca251 100644
@@ -320,9 +320,6 @@
 #define CONFIG_SYS_FSL_I2C2_OFFSET	0x3100
 #define CONFIG_SYS_I2C_NOPROBES		{ {0, 0x69} }
 
-/* SPI */
-#undef CONFIG_SOFT_SPI			/* SPI bit-banged */
-
 /* GPIOs.  Used as SPI chip selects */
 #define CONFIG_SYS_GPIO1_PRELIM
 #define CONFIG_SYS_GPIO1_DIR		0xC0000000  /* SPI CS on 0, LED on 1 */
include/configs/zipitz2.h +0 -1
index 24fea68a11..baf3e6e130 100644
@@ -59,7 +59,6 @@
  * SPI and LCD
  */
 #ifdef	CONFIG_CMD_SPI
-#define	CONFIG_SOFT_SPI
 #define	CONFIG_LCD_ROTATION
 #define	CONFIG_PXA_LCD
 #define	CONFIG_LMS283GF05
Signature · 1 line
2.18.0.321.gffc6fa0e3