sdm845Pkg: Library: PlatformBootManagerLib: PlatformBm.c: only register option when simple-init enabled
Signed-off-by: BigfootACA <bigfoot@classfun.cn>
This commit is contained in:
parent
062b0af9c1
commit
d1d6fc77f6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user