diff options
author | Ard Biesheuvel <ard.biesheuvel@arm.com> | 2020-05-26 17:00:49 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@arm.com> | 2020-05-27 07:54:26 +0200 |
commit | 6c0d5d0d506a32d4279d0dd6fed392f02964ff5a (patch) | |
tree | 71d6d018e41799c399157c2bcb8a79251457e601 | |
parent | 2d43fd6ff2012cfacee43c0f2ec2bf09dbc8c32f (diff) |
ArmPkg/PlatformBootManagerLib: hide UEFI Shell as a regular boot option
Without ConnectAll() being called on the boot path, the UEFI shell will
be entered with no block devices or anything else connected, and so for
the novice user, this is not a very accommodating environment. Now that
we have made the UiApp the last resort when on boot failure, and made
the UEFI Shell accessible directly via the 's hotkey if you really need
it, let's hide it as an ordinary boot option.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
-rw-r--r-- | ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c b/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c index f91f7cd09c..b465f9ff38 100644 --- a/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c +++ b/ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c @@ -778,7 +778,7 @@ PlatformBootManagerAfterConsole ( Key.ScanCode = SCAN_NULL;
Key.UnicodeChar = L's';
PlatformRegisterFvBootOption (
- &gUefiShellFileGuid, L"UEFI Shell", LOAD_OPTION_ACTIVE, &Key
+ &gUefiShellFileGuid, L"UEFI Shell", LOAD_OPTION_HIDDEN, &Key
);
}
|