mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user