mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 15:34:55 +00: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:
parent
3ed218e2ff
commit
985f9f7039
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue