boot: Update pxe bootmeth to record images

Record images loaded by this bootmeth.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2024-11-15 16:19:20 -07:00 committed by Tom Rini
parent 3ed218e2ff
commit 985f9f7039

View file

@ -135,6 +135,9 @@ static int extlinux_pxe_read_file(struct udevice *dev, struct bootflow *bflow,
return log_msg_ret("spc", -ENOSPC);
*sizep = size;
if (!bootflow_img_add(bflow, file_path, type, addr, size))
return log_msg_ret("pxi", -ENOMEM);
return 0;
}