spi: Zap soft_spi_legacy driver-related code
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]>
Signed-off-by Jagan Teki <[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
@@ -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
@@ -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
@@ -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
@@ -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