Skip to contentSkip to conversation

spi: Zap fsl_espi 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 fsl_espi driver-related code

Dropped
- fsl_espi driver

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

Cc Oleksandr Zhadan and Michael Durrant <[email protected]>

---
Change for v3:
- rebase on master

 board/Arcturus/ucp1020/ucp1020.c |   6 +
 drivers/spi/Kconfig              |   7 -
 drivers/spi/Makefile             |   1 -
 drivers/spi/fsl_espi.c           | 383 -------------------------------
 4 files changed, 6 insertions(+), 391 deletions(-)
 delete mode 100644 drivers/spi/fsl_espi.c
board/Arcturus/ucp1020/ucp1020.c +6 -0
index 1a1fcb9be9..b07ba60671 100644
@@ -43,6 +43,12 @@ void spi_set_speed(struct spi_slave *slave, uint hz)
 	/* TO DO: It's actially have to be in spi/ */
 }
 
+int spi_cs_is_valid(unsigned int bus, unsigned int cs)
+{
+	/* do nothing, there is no spi driver */
+	return 0;
+}
+
 /*
  * To be compatible with cmd_gpio
  */
drivers/spi/Kconfig +0 -7
index 8a86878fee..23b089b0e5 100644
@@ -320,13 +320,6 @@ config CF_SPI
 	  Enable the ColdFire SPI driver. This driver can be used on
 	  some m68k SoCs.
 
-config FSL_ESPI
-	bool "Freescale eSPI driver"
-	help
-	  Enable the Freescale eSPI driver. This driver can be used to
-	  access the SPI interface and SPI NOR flash on platforms embedding
-	  this Freescale eSPI IP core.
-
 config FSL_QSPI
 	bool "Freescale QSPI driver"
 	imply SPI_FLASH_BAR
drivers/spi/Makefile +0 -1
index be4b4c140d..88bdf66dbd 100644
@@ -27,7 +27,6 @@ obj-$(CONFIG_DAVINCI_SPI) += davinci_spi.o
 obj-$(CONFIG_DESIGNWARE_SPI) += designware_spi.o
 obj-$(CONFIG_EXYNOS_SPI) += exynos_spi.o
 obj-$(CONFIG_FSL_DSPI) += fsl_dspi.o
-obj-$(CONFIG_FSL_ESPI) += fsl_espi.o
 obj-$(CONFIG_FSL_QSPI) += fsl_qspi.o
 obj-$(CONFIG_ICH_SPI) +=  ich.o
 obj-$(CONFIG_KIRKWOOD_SPI) += kirkwood_spi.o
drivers/spi/fsl_espi.c deleted +0 -383

383 lines not on this page · raw message

Signature · 1 line
2.18.0.321.gffc6fa0e3