sdm845Pkg: Library: PlatformBootManagerLib: PlatformBm.c: only register option when...
authorBigfootACA <bigfoot@classfun.cn>
星期一, 13 Sep 2021 07:37:29 +0000 (15:37 +0800)
committerBigfootACA <bigfoot@classfun.cn>
星期一, 13 Sep 2021 07:37:29 +0000 (15:37 +0800)
Signed-off-by: BigfootACA <bigfoot@classfun.cn>
sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c

index ff77cbb4ef7742c4c6e21a1b2824a1346b8fef35..8cd1e6abfd23d72c652b10cf79bdf2d0aa91bbe3 100644 (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