sdm845Pkg: Library: PlatformBootManagerLib: PlatformBm.c: fix boot order
authorBigfootACA <bigfoot@classfun.cn>
星期一, 11 Oct 2021 14:55:11 +0000 (22:55 +0800)
committerBigfootACA <bigfoot@classfun.cn>
星期一, 11 Oct 2021 14:56:19 +0000 (22:56 +0800)
Signed-off-by: BigfootACA <bigfoot@classfun.cn>
sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c

index 72d65322d8a6a51c9e7b4addb57aa9a04927b0eb..cff1635cef7cacec6aaa8cb5b535a232ce6f3a04 100644 (file)
@@ -522,6 +522,11 @@ PlatformRegisterOptionsAndKeys (
   Status = EfiBootManagerGetBootManagerMenu (&BootOption);
   ASSERT_EFI_ERROR (Status);
   #ifdef ENABLE_SIMPLE_INIT
+  //
+  // Search all boot options
+  //
+  EfiBootManagerRefreshAllBootOption ();
+
   //
   // Register Simple Init GUI APP
   //