summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Split/Split.py
diff options
context:
space:
mode:
authorLeif Lindholm <leif@nuviainc.com>2021-02-04 15:36:59 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-02-04 19:11:23 +0300
commit1b6c3a94eca7f12f6a3b65a3e8619d2e2e7c1eb6 (patch)
treeb8c5904ded1d22c27c48ec6b36d3ceb2069c0ad6 /BaseTools/Source/Python/Split/Split.py
parentf6ec1dd34fb6b9757b5ead465ee2ea20c182b0ac (diff)
downloadedk2-1b6c3a94eca7f12f6a3b65a3e8619d2e2e7c1eb6.tar.xz
ArmPkg/Library: prevent endless reboot loop with emulated NV varstore
If no valid boot options were found, PlatformBootManagerLib refreshes a set of sane default options and then reboots. However, if there is in fact no persistent varstore, the same thing happens again on next boot, and we end up in an endlessly rebooting loop. So when PcdEmuVariableNvModeEnable is TRUE, skip the reboot step and enter the setup menu instead. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Leif Lindholm <leif@nuviainc.com> Acked-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'BaseTools/Source/Python/Split/Split.py')
0 files changed, 0 insertions, 0 deletions