diff options
| author | Martyn Welch <[email protected]> | 2024-10-09 14:15:39 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-10-15 10:24:27 -0600 |
| commit | 8ba82a91b3aa615fb6148ecfa2af4e91a28659ae (patch) | |
| tree | f30cd93609a5ca7daf7b22fde45f26bed5464bba /cmd/sysboot.c | |
| parent | d2faad3ff31f0fab0cf280c05ee333992f7a7d27 (diff) | |
boot: Add logic to enable booting from fallback option
The "fallback" extlinux config option allows us to set an alternative
default boot option for when it has been detected that the default is
failing. Implement the logic required to boot from this option when
desired.
Signed-off-by: Martyn Welch <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'cmd/sysboot.c')
| -rw-r--r-- | cmd/sysboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/sysboot.c b/cmd/sysboot.c index 0ea08fd7b53..8a060780cab 100644 --- a/cmd/sysboot.c +++ b/cmd/sysboot.c @@ -105,7 +105,7 @@ static int do_sysboot(struct cmd_tbl *cmdtp, int flag, int argc, } if (pxe_setup_ctx(&ctx, cmdtp, sysboot_read_file, &info, true, - filename, false)) { + filename, false, false)) { printf("Out of memory\n"); return CMD_RET_FAILURE; } |
