On 2026-09-02T06:31:15, Nikita Shubin <[email protected]> wrote:
> spl: fit: Add test to check loadables
>
> Add spl_test_firmware_image() to check loadables correctly provided by
> spl_load_fit_image().
>
> We create special image with U-Boot, firmware and empty dtb. Then invoke
> spl_load_fit_image(), check everything (including dtb) loaded correctly
> and then check if loaded dtb contains "/fit-images/u-boot".
>
> Signed-off-by: Nikita Shubin <[email protected]>
>
>  test/image/spl_load.c | 184 
> ++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 184 insertions(+)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to