summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2019-10-16 18:08:26 +0530
committerJagan Teki <jagan@amarulasolutions.com>2019-10-25 00:48:31 +0530
commit7945caf22c44a9e394ef535a27b502ec3f3ba5ed (patch)
tree6779c1ca996e7276b5dd01682c1d75074ee5bed9
parentdc738248db9355c66241979b21d6bf4e2a625bef (diff)
downloadu-boot-7945caf22c44a9e394ef535a27b502ec3f3ba5ed.tar.gz
u-boot-7945caf22c44a9e394ef535a27b502ec3f3ba5ed.tar.bz2
u-boot-7945caf22c44a9e394ef535a27b502ec3f3ba5ed.zip
arm: sunxi: Enable SPI/SPI-FLASH support for A64
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>
-rw-r--r--arch/arm/mach-sunxi/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index ffdf09f29e..16d41b83af 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -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