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 /boot/bootmeth_pxe.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 'boot/bootmeth_pxe.c')
| -rw-r--r-- | boot/bootmeth_pxe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/bootmeth_pxe.c b/boot/bootmeth_pxe.c index 03d2589c264..05c6bece2c1 100644 --- a/boot/bootmeth_pxe.c +++ b/boot/bootmeth_pxe.c @@ -150,7 +150,7 @@ static int extlinux_pxe_boot(struct udevice *dev, struct bootflow *bflow) info.bflow = bflow; info.cmdtp = &cmdtp; ret = pxe_setup_ctx(ctx, &cmdtp, extlinux_pxe_getfile, &info, false, - bflow->subdir, false); + bflow->subdir, false, false); if (ret) return log_msg_ret("ctx", -EINVAL); |
