Re: [PATCH v2 2/3] rockchip: spl: Cache boot source id for later use

2024-03-24 Thread Dragan Simic
On 2024-03-22 21:50, Jonas Karlman wrote: Rockchip BROM writes a boot source id at CFG_IRAM_BASE + 0x10, this id indicates from what storage media TPL/SPL was loaded from. SPL uses this id to determine what device "same-as-spl" represent when determining from where FIT should be loaded. This wor

[PATCH v2 2/3] rockchip: spl: Cache boot source id for later use

2024-03-22 Thread Jonas Karlman
Rockchip BROM writes a boot source id at CFG_IRAM_BASE + 0x10, this id indicates from what storage media TPL/SPL was loaded from. SPL uses this id to determine what device "same-as-spl" represent when determining from where FIT should be loaded. This works as long as the boot_devices array contain