Skip to contentSkip to conversation

spi: nds_ae3xx: Rename nds_ae3xx_spi as atcspi200_spi

PATCH New Andes 1 participant 1 message Nov 23, 2017 SPI

lore
Share & tools
lore

Andes

author
#0 lore raw

PATCH v2 1/3 spi: nds_ae3xx: Rename nds_ae3xx_spi as atcspi200_spi

From: Rick Chen <[email protected]>

atcspi200 is Andestech spi ip which is embedded in AE3XX and AE250 platforms. So rename as atcspi200 will be more reasonable to be used in different platforms.

---
 configs/adp-ae3xx_defconfig                      |  2 +-
 drivers/spi/Kconfig                              | 10 +++++-----
 drivers/spi/Makefile                             |  2 +-
 drivers/spi/{nds_ae3xx_spi.c => atcspi200_spi.c} |  0
 4 files changed, 7 insertions(+), 7 deletions(-)
 rename drivers/spi/{nds_ae3xx_spi.c => atcspi200_spi.c} (100%)
configs/adp-ae3xx_defconfig +1 -1
index 337cee1..38696e6 100644
@@ -33,6 +33,6 @@ CONFIG_BAUDRATE=38400
 CONFIG_DM_SERIAL=y
 CONFIG_SYS_NS16550=y
 CONFIG_DM_SPI=y
-CONFIG_NDS_AE3XX_SPI=y
+CONFIG_ATCSPI200_SPI=y
 CONFIG_TIMER=y
 CONFIG_ATCPIT100_TIMER=y
drivers/spi/Kconfig +5 -5
index 88da9a4..494639f 100644
@@ -210,12 +210,12 @@ config FSL_QSPI
 	  used to access the SPI NOR flash on platforms embedding this
 	  Freescale IP core.
 
-config NDS_AE3XX_SPI
-	bool "Andestech AE3XX SPI driver"
+config ATCSPI200_SPI
+	bool "Andestech ATCSPI200 SPI driver"
 	help
-	  Enable the Andestech AE3XX SPI driver. This driver can be
-	  used to access the SPI flash on platforms embedding this
-	  Andestech IP core.
+	  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 TI_QSPI
 	bool "TI QSPI driver"
drivers/spi/Makefile +1 -1
index ad56203..e3184db 100644
@@ -34,7 +34,7 @@ obj-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
 obj-$(CONFIG_MVEBU_A3700_SPI) += mvebu_a3700_spi.o
 obj-$(CONFIG_MXC_SPI) += mxc_spi.o
 obj-$(CONFIG_MXS_SPI) += mxs_spi.o
-obj-$(CONFIG_NDS_AE3XX_SPI) += nds_ae3xx_spi.o
+obj-$(CONFIG_ATCSPI200_SPI) += atcspi200_spi.o
 obj-$(CONFIG_OMAP3_SPI) += omap3_spi.o
 obj-$(CONFIG_PIC32_SPI) += pic32_spi.o
 obj-$(CONFIG_ROCKCHIP_SPI) += rk_spi.o
drivers/spi/atcspi200_spi.c renamed from drivers/spi/nds_ae3xx_spi.c +0 -0
similarity index 100%
rename from drivers/spi/nds_ae3xx_spi.c
rename to drivers/spi/atcspi200_spi.c
Signature · 1 line
2.7.4