pxe: Record the bootflow in the PXE context

At present the only option with PXE is to boot it and see what happens.

Provide a bootflow, when available, so that PXE will eventually be able
to add some useful information to it.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2024-12-05 19:36:11 -07:00
parent 70d37cbab9
commit 35dea9df30
6 changed files with 11 additions and 7 deletions

View File

@@ -106,7 +106,7 @@ static int do_sysboot(struct cmd_tbl *cmdtp, int flag, int argc,
}
if (pxe_setup_ctx(&ctx, sysboot_read_file, &info, true, filename, false,
false)) {
false, NULL)) {
printf("Out of memory\n");
return CMD_RET_FAILURE;
}