Skip to contentSkip to conversation

spi: atcspi200: Drop non-dm code

PATCH New Jagan Teki 1 participant 2 messages Mar 7, 2018 – Mar 13, 2018 SPI

lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH 1/1 spi: atcspi200: Drop non-dm code

Boards adp-ae3xx_defconfig, nx25-ae250_defconfig already enabled DM_SPI, so non-dm code make no use of it hence droped.

---
 drivers/spi/Kconfig         | 14 ++++----
 drivers/spi/atcspi200_spi.c | 87 ---------------------------------------------
 2 files changed, 7 insertions(+), 94 deletions(-)
drivers/spi/Kconfig +7 -7
index 56c337f664..2f231fc12b 100644
@@ -23,6 +23,13 @@ config ALTERA_SPI
 	  IP core. Please find details on the "Embedded Peripherals IP
 	  User Guide" of Altera.
 
+config ATCSPI200_SPI
+	bool "Andestech ATCSPI200 SPI driver"
+	help
+	  Enable the Andestech ATCSPI200 SPI driver. This driver can be
+	  used to access the SPI flash on AE3XX and AE250 platforms embedding
+	  this Andestech IP core.
+
 config ATH79_SPI
 	bool "Atheros SPI driver"
 	depends on ARCH_ATH79
@@ -239,13 +246,6 @@ config FSL_QSPI
 	  used to access the SPI NOR flash on platforms embedding this
 	  Freescale IP core.
 
-config ATCSPI200_SPI
-	bool "Andestech ATCSPI200 SPI driver"
-	help
-	  Enable the Andestech ATCSPI200 SPI driver. This driver can be
-	  used to access the SPI flash on AE3XX and AE250 platforms embedding
-	  this Andestech IP core.
-
 config DAVINCI_SPI
 	bool "Davinci & Keystone SPI driver"
 	depends on ARCH_DAVINCI || ARCH_KEYSTONE
drivers/spi/atcspi200_spi.c +0 -87

102 lines not on this page · raw message

Signature · 1 line
2.14.3
author
#1 lore raw

PATCH 1/1 spi: atcspi200: Drop non-dm code

Quoted 5 lines · Jagan Teki

Boards adp-ae3xx_defconfig, nx25-ae250_defconfig already enabled DM_SPI, so non-dm code make no use of it hence droped.

Applied to u-boot-spi/master