sdm845Pkg: Library: PlatformBootManagerLib: PlatformBm.c: only register option when simple-init enabled

Signed-off-by: BigfootACA <bigfoot@classfun.cn>
This commit is contained in:
BigfootACA 2021-09-13 15:37:29 +08:00
parent 062b0af9c1
commit d1d6fc77f6

View File

@ -741,12 +741,14 @@ PlatformBootManagerAfterConsole (
//
EfiBootManagerRefreshAllBootOption ();
#ifdef ENABLE_SIMPLE_INIT
//
// Register Simple Init GUI APP
//
PlatformRegisterFvBootOption (
&gSimpleInitFileGuid, L"Simple Init", LOAD_OPTION_ACTIVE
);
#endif
//
// Register UEFI Shell