Hello,

This adds SPL support for booting U-Boot proper from SPI NAND on
Allwinner V3s. The BROM loads SPL from SPI NAND but still reports
BOOT_DEVICE_SPI, so the new loader is mutually exclusive with
SPL_SPI_SUNXI.

The change also avoids treating that boot path as SPI NOR for the
environment (prefer FAT when enabled).

Build-tested with LicheePi_Zero_defconfig and
CONFIG_SPL_SPINAND_SUNXI=y.

Thanks,
Zunyi Hu

Zunyi Hu (1):
  sunxi: spl: add SPI NAND boot support for V3s

 arch/arm/mach-sunxi/Kconfig             |  22 ++
 arch/arm/mach-sunxi/Makefile            |   1 +
 arch/arm/mach-sunxi/spl_spinand_sunxi.c | 449 ++++++++++++++++++++++++
 board/sunxi/board.c                     |   9 +
 4 files changed, 481 insertions(+)
 create mode 100644 arch/arm/mach-sunxi/spl_spinand_sunxi.c

-- 
2.17.1

Reply via email to