
On 10.07.21 02:59, Pali Rohár wrote:
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?
I'll try to find some time next week to review these patches.
Thanks, Stefan