summaryrefslogtreecommitdiff
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2019-02-27 20:02:13 +0530
committerJagan Teki <jagan@amarulasolutions.com>2019-03-04 18:08:56 +0530
commita51cd54eff284ee42bfc1b74b8581daec78496f6 (patch)
tree5dc4a976a855003be952688d35d72c951f849b41 /drivers/spi/Kconfig
parent903e7cf37ceb0552f6b8948e30fb9bb662980cd9 (diff)
spi: Rename sun4i_spi.c into spi-sunxi.c
Now the same SPI controller driver is reusable in all Allwinner SoC variants, so rename the existing sun4i_spi.c into spi-sunxi.c which eventually look like a common sunxi driver. Also update the function, variable, structure names in driver from sun4i into sunxi. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r--drivers/spi/Kconfig12
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 15207d23c1..098372e093 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -213,6 +213,13 @@ config SANDBOX_SPI
};
};
+config SPI_SUNXI
+ bool "Allwinner SoC SPI controllers"
+ help
+ Enable the Allwinner SoC SPi controller driver.
+
+ Same controller driver can reuse in all Allwinner SoC variants.
+
config STM32_QSPI
bool "STM32F7 QSPI driver"
depends on STM32F7
@@ -222,11 +229,6 @@ config STM32_QSPI
used to access the SPI NOR flash chips on platforms embedding
this ST IP core.
-config SUN4I_SPI
- bool "Allwinner A10/A31 SoCs SPI controller"
- help
- This enables using the SPI controller on the Allwinner A10/A31 SoCs.
-
config TEGRA114_SPI
bool "nVidia Tegra114 SPI driver"
help