From: Andre Przywara Date: Sat, 14 Jan 2017 02:06:10 +0000 (+0000) Subject: sunxi: OrangePi Zero: defconfig: enable SPI flash X-Git-Tag: v2017.03-rc1~100^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7490130c9f8a4e17e858a38c767ad9ed64bd777b;p=u-boot sunxi: OrangePi Zero: defconfig: enable SPI flash Newer OrangePi Zero boards all come with 16 Mib SPI flash soldered, from which the board can actually boot from. Enable the SPL support for the SPI controller and SPI flash to allow putting the SPL, the DT and U-Boot proper into there. This will let a board boot without an SD card inserted. The flash chip can be written with a version of the sunxi-fel tool. Signed-off-by: Andre Przywara Tested-by: Priit Laes Acked-by: Maxime Ripard Reviewed-by: Jagan Teki --- diff --git a/configs/orangepi_zero_defconfig b/configs/orangepi_zero_defconfig index 8813927bc1..abb3fcf307 100644 --- a/configs/orangepi_zero_defconfig +++ b/configs/orangepi_zero_defconfig @@ -13,3 +13,5 @@ CONFIG_SPL=y # CONFIG_CMD_FPGA is not set CONFIG_SUN8I_EMAC=y CONFIG_USB_EHCI_HCD=y +CONFIG_SPL_SPI_SUNXI=y +CONFIG_SPL_SPI_FLASH_SUPPORT=y