On Saturday 10 July 2021 02:43:12 Pali Rohár wrote: > On Saturday 10 July 2021 02:31:32 Stefan Roese wrote: > > Could you perhaps add this "SPL returns to BootROM" support as an > > optional feature that can be selected on a per-board basis? > > Hi Stefan! I was thinking about it and it should not be hard. Based on > defconfig options you decide if you want to use SPL NOR code or stick > with return to BootROM. It is acceptable? > > What is needed is just to extend SPL SPI NOR code to parse also kwbimage > header (at offset zero) instead of legacy U-Boot header which is > removing by this patch series and which was on variable offset.
Anyway, this switch "return to BootROM" is done in patch 22. Previous patches 01 - 21 can be applied and used without later patches. So meanwhile could you look at patches 01 - 21 if they are OK and if they could be merged independently of "return to BootROM" patches?