spi: nds_ae3xx: Rename nds_ae3xx_spi as atcspi200_spi
authorRick Chen <rick@andestech.com>
Thu, 23 Nov 2017 06:19:36 +0000 (14:19 +0800)
committerRick Chen <rickchen36@gmail.com>
Thu, 30 Nov 2017 01:44:09 +0000 (09:44 +0800)
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.

Signed-off-by: Rick Chen <rick@andestech.com>
configs/adp-ae3xx_defconfig
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/atcspi200_spi.c [moved from drivers/spi/nds_ae3xx_spi.c with 100% similarity]

index 337cee1..38696e6 100644 (file)
@@ -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
index 88da9a4..494639f 100644 (file)
@@ -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"
index ad56203..e3184db 100644 (file)
@@ -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