On 10.07.21 02:43, 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?
I think so, yes. If you patches add features / enhancements for some
boards and this can be selected on a per-board basis to not affect other
targets then yes, this can be accepted AFAICT.
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.
It would be helpful, if you could add a Kconfig option to selectively
enable "return to BootROM" - disabled per default and enabled for your
targets to this patchset.
Thanks,
Stefan