diff mbox series

[U-Boot,v3,2/3] arm: sunxi: Enable SPI/SPI-FLASH support for A64

Message ID 20191016162214.3687-2-jagan@amarulasolutions.com
State Accepted
Commit 7945caf22c44a9e394ef535a27b502ec3f3ba5ed
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series [U-Boot,v3,1/3] spi: Kconfig: Enable SPI_SUNXI for SUNXI | expand

Commit Message

Jagan Teki Oct. 16, 2019, 4:22 p.m. UTC
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>
---
Changes for v3:
- Move to kconfig from defconfig

 arch/arm/mach-sunxi/Kconfig | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index b153c68acc..2d09be4639 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