summaryrefslogtreecommitdiff
path: root/configs/orangepi_zero_defconfig
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2017-01-14 02:06:10 (GMT)
committerJagan Teki <jagan@openedev.com>2017-01-15 17:22:27 (GMT)
commit7490130c9f8a4e17e858a38c767ad9ed64bd777b (patch)
tree68e871fd103ce8f74fe9048e4eaeb7ebd87417b8 /configs/orangepi_zero_defconfig
parent8b15f8eb67a48a98d5c131c1d44aa78c236c064d (diff)
downloadu-boot-fsl-qoriq-7490130c9f8a4e17e858a38c767ad9ed64bd777b.tar.xz
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 <andre.przywara@arm.com> Tested-by: Priit Laes <plaes@plaes.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'configs/orangepi_zero_defconfig')
-rw-r--r--configs/orangepi_zero_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/orangepi_zero_defconfig b/configs/orangepi_zero_defconfig
index 8813927..abb3fcf 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