]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spi: Kconfig: Enable SPI_SUNXI for SUNXI
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 16 Oct 2019 12:35:56 +0000 (18:05 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 24 Oct 2019 19:18:31 +0000 (00:48 +0530)
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 <jagan@amarulasolutions.com>
drivers/spi/Kconfig

index 0152dff74ffc195633aec168053fe3fdb682534c..7be867d5b66dc70b1858bbd39f7ce3f63114169a 100644 (file)
@@ -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.