Re: [PATCH 4/8] sunxi: SPL SPI: add initial support for booting from SPI NAND

2023-01-14 Thread Samuel Holland
On 10/13/22 22:05, Icenowy Zheng wrote: > This commit adds support for booting from SPI NAND to SPL SPI code by > mimicing the behavior of boot ROM (use fixed page size and sequentially > try SPI NOR and NAND). One warning generated when SPL_SPI_SUNXI_NAND is disabled. Otherwise, it looks fine to

[PATCH 4/8] sunxi: SPL SPI: add initial support for booting from SPI NAND

2022-10-13 Thread Icenowy Zheng
This commit adds support for booting from SPI NAND to SPL SPI code by mimicing the behavior of boot ROM (use fixed page size and sequentially try SPI NOR and NAND). Signed-off-by: Icenowy Zheng --- arch/arm/mach-sunxi/Kconfig | 16 +++ arch/arm/mach-sunxi/spl_spi_sunxi.c | 74