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_extlinux.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_extlinux.c')
| -rw-r--r-- | boot/bootmeth_extlinux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/bootmeth_extlinux.c b/boot/bootmeth_extlinux.c index fbb05ef928e..26c61a65e24 100644 --- a/boot/bootmeth_extlinux.c +++ b/boot/bootmeth_extlinux.c @@ -149,7 +149,7 @@ static int extlinux_boot(struct udevice *dev, struct bootflow *bflow) info.dev = dev; info.bflow = bflow; ret = pxe_setup_ctx(&ctx, &cmdtp, extlinux_getfile, &info, true, - bflow->fname, false); + bflow->fname, false, false); if (ret) return log_msg_ret("ctx", -EINVAL); |
