On 02/03/14 13:57, [email protected] wrote:
From: Olliver Schinagl <[email protected]>
Currently the unification happened by merging spi_sun4i and spi_sun5i
but the KConfig's remained split. This merges the KConfig's to SPI_SUNXI
and adjusts the spi driver likewise. Integration with spi for sun7i
should be easier now.
Signed-off-by: Olliver Schinagl <[email protected]>
---
drivers/spi/Kconfig | 27 +++++++--------------------
drivers/spi/Makefile | 3 +--
drivers/spi/spi_sunxi.c | 36 ++++++++++++++++++------------------
3 files changed, 26 insertions(+), 40 deletions(-)
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index c4fb46a..7503a6c 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -355,28 +355,15 @@ config SPI_STMP3XXX
help
SPI driver for Freescale STMP37xx/378x SoC SSP interface
-config SPI_SUN4I
- tristate "SUN4I SPI Controller"
- depends on ARCH_SUN4I
+config SPI_SUNXI
+ tristate "SUNXI SPI Controller"
+ depends on ARCH_SUN4I || ARCH_SUN5I
help
- Allwinner Soc SPI controller,present on SUN4I chips.
+ Allwinner Soc SPI controller,present on sun4i and sun5i chips.
how about a second patch setting default m and removing them from defconfig?
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.