[U-Boot] [PATCH 09/10] spi: kconfig: Enable SUN4I_SPI by default if ARCH_SUNXI

Jagan Teki jagan at amarulasolutions.com
Sat Feb 9 13:14:59 UTC 2019


Enable SUN4I_SPI by default for ARCH_SUNXI, so that board
that would require to enable DM_SPI that eventually enable
the SUN4I_SPI driver.

Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
---
 drivers/spi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 15207d23c1..2fb4862c4a 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -224,6 +224,7 @@ config STM32_QSPI
 
 config SUN4I_SPI
 	bool "Allwinner A10/A31 SoCs SPI controller"
+	default ARCH_SUNXI
 	help
 	  This enables using the SPI controller on the Allwinner A10/A31 SoCs.
 
-- 
2.18.0.321.gffc6fa0e3



More information about the U-Boot mailing list