aboutsummaryrefslogtreecommitdiff
path: root/boot/bootmeth_pxe.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-08-03 17:45:38 -0400
committerTom Rini <trini@konsulko.com>2023-08-03 17:45:38 -0400
commit989892f5805dc205033c4723bc8e024472564d16 (patch)
tree9e95ad9c42383955460fc39eb095bcedb333b846 /boot/bootmeth_pxe.c
parent6cdd4b8108f57252b8849e71aa46e3a2d227c98d (diff)
parent11158aef8939bb6e54361e4dae3809a9cbe78cff (diff)
Merge branch '2023-08-03-assorted-fixes'
- More MAINTAINERS file updates, bootstd fixes, a fat fix and debug message fix
Diffstat (limited to 'boot/bootmeth_pxe.c')
-rw-r--r--boot/bootmeth_pxe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/boot/bootmeth_pxe.c b/boot/bootmeth_pxe.c
index ce986bd260..8d489a11aa 100644
--- a/boot/bootmeth_pxe.c
+++ b/boot/bootmeth_pxe.c
@@ -31,6 +31,9 @@ static int extlinux_pxe_getfile(struct pxe_context *ctx, const char *file_path,
int ret;
addr = simple_strtoul(file_addr, NULL, 16);
+
+ /* Allow up to 1GB */
+ *sizep = 1 << 30;
ret = bootmeth_read_file(info->dev, info->bflow, file_path, addr,
sizep);
if (ret)