SPI_SUNXI driver is fully dm-aware and the Allwinner
architecture kconfig would have logic to enable the
DM_SPI. So, select default spi sunxi driver for
sunxi architecture.

Signed-off-by: Jagan Teki <[email protected]>
---
Changes for v3:
- none

 drivers/spi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 0152dff74f..7be867d5b6 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -260,6 +260,7 @@ config SPI_SIFIVE
 
 config SPI_SUNXI
        bool "Allwinner SoC SPI controllers"
+       default ARCH_SUNXI
        help
          Enable the Allwinner SoC SPi controller driver.
 
-- 
2.18.0.321.gffc6fa0e3

_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to