Update bootmeth_alloc_other() to record images

Update this function to add the image to the list.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2024-11-15 16:19:21 -07:00 committed by Tom Rini
parent 985f9f7039
commit ff4c9a4b6f
3 changed files with 9 additions and 4 deletions

View file

@ -107,8 +107,8 @@ static int script_read_bootflow_file(struct udevice *bootstd,
if (ret)
return log_msg_ret("inf", ret);
ret = bootmeth_alloc_other(bflow, "boot.bmp", &bflow->logo,
&bflow->logo_size);
ret = bootmeth_alloc_other(bflow, "boot.bmp", BFI_LOGO,
&bflow->logo, &bflow->logo_size);
/* ignore error */
return 0;