pxe: Drop the cmdline parameter

Now that PXE can operate without the command line, drop the parameter
throughout the code.

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

View File

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