]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: sunxi: Enable SPI/SPI-FLASH support for A64
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 16 Oct 2019 12:38:26 +0000 (18:08 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 24 Oct 2019 19:18:31 +0000 (00:48 +0530)
SPI is available in Allwinner A64 SoC, so enable it
globally in Kconfig.

- CONFIG_SPI
- CONFIG_DM_SPI
- CONFIG_DM_SPI_FLASH

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/mach-sunxi/Kconfig

index ffdf09f29e4e7590330d3ea29d6dee0cdde45d82..16d41b83afe189e7d55fcbf6eb19dd2405573bac 100644 (file)
@@ -275,7 +275,10 @@ config MACH_SUN9I
 config MACH_SUN50I
        bool "sun50i (Allwinner A64)"
        select ARM64
+       select SPI
        select DM_I2C
+       select DM_SPI if SPI
+       select DM_SPI_FLASH
        select PHY_SUN4I_USB
        select SUN6I_PRCM
        select SUNXI_DE2