]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: sunxi: Enable SPL/SPI boot for Olinuxino Lime2-eMMC boards
authorPriit Laes <priit.laes@paf.com>
Thu, 10 Jan 2019 09:30:06 +0000 (11:30 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 11 Feb 2019 07:32:44 +0000 (13:02 +0530)
Starting from revision K the Olimex-Lime2-eMMC boards include
eMMC 5.x chip. Unfortunately, the internal brom in the A20
cannot reliably initialize those chips resulting in random
boot failures on those boards.

To overcome this, all the latest Lime2-eMMC boards are
populated with 16MB SPI flash and therefore enable support
for SPI SPL boot.

For now, SPI flash can be managed using sunxi-fel's spiflash tools.

Signed-off-by: Priit Laes <priit.laes@paf.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
configs/A20-OLinuXino-Lime2-eMMC_defconfig

index 7863a4e8e03eed340c7e4fb20b9b6eece63d452d..1010f413251ee92cfdfd49d23606af7f37693757 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_ARM=y
 CONFIG_ARCH_SUNXI=y
 CONFIG_SPL=y
+CONFIG_SPL_SPI_SUNXI=y
 CONFIG_MACH_SUN7I=y
 CONFIG_DRAM_CLK=384
 CONFIG_MMC0_CD_PIN="PH1"