summaryrefslogtreecommitdiff
path: root/boot/bootmeth_script.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-11-15 16:19:21 -0700
committerTom Rini <trini@konsulko.com>2025-01-15 08:48:42 -0600
commitff4c9a4b6fac767f28f668c708e79f3d618061a8 (patch)
treebe4cd3048e55ef967ea39ea2eac6a33542439652 /boot/bootmeth_script.c
parent985f9f703914aa742062abb120c7b87e63410d26 (diff)
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>
Diffstat (limited to 'boot/bootmeth_script.c')
-rw-r--r--boot/bootmeth_script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/bootmeth_script.c b/boot/bootmeth_script.c
index a2fb2899885..020cb8a7aec 100644
--- a/boot/bootmeth_script.c
+++ b/boot/bootmeth_script.c
@@ -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;