diff mbox series

[3/3] sunxi: Enable SPI support on Orange Pi Zero

Message ID b12af2407609a8ff2476ba00e0ee3d802daba0e6.1601326861.git.msuchanek@suse.de
State New
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series [1/3] sunxi: dts: OrangePi Zero: Add SPI aliases to make bus usable with u-boot. | expand

Commit Message

Michal Suchánek Sept. 28, 2020, 9:02 p.m. UTC
Enable support for SPI flash and the sf command.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
---
 configs/orangepi_zero_defconfig | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/configs/orangepi_zero_defconfig b/configs/orangepi_zero_defconfig
index 998c95d151..1087baece1 100644
--- a/configs/orangepi_zero_defconfig
+++ b/configs/orangepi_zero_defconfig
@@ -8,6 +8,14 @@  CONFIG_SPL_SPI_SUNXI=y
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2-plus-orangepi-zero"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_CONSOLE_MUX=y
+CONFIG_CMD_SF_TEST=y
+CONFIG_CMD_SPI=y
+CONFIG_DM_SPI_FLASH=y
+CONFIG_SPI_FLASH_SFDP_SUPPORT=y
+CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SUN8I_EMAC=y
+CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_OHCI_HCD=y