git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ed218e
)
boot: Update pxe bootmeth to record images
author
Simon Glass
<sjg@chromium.org>
Fri, 15 Nov 2024 23:19:20 +0000
(16:19 -0700)
committer
Tom Rini
<trini@konsulko.com>
Wed, 15 Jan 2025 14:48:42 +0000
(08:48 -0600)
Record images loaded by this bootmeth.
Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootmeth_pxe.c
patch
|
blob
|
history
diff --git
a/boot/bootmeth_pxe.c
b/boot/bootmeth_pxe.c
index
b287307
..
b91e61b
100644
(file)
--- a/
boot/bootmeth_pxe.c
+++ b/
boot/bootmeth_pxe.c
@@
-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;
}