From: BigfootACA Date: 星期一, 11 Oct 2021 14:55:11 +0000 (+0800) Subject: sdm845Pkg: Library: PlatformBootManagerLib: PlatformBm.c: fix boot order X-Git-Tag: v1.0.5~16 X-Git-Url: https://git.renegade-project.org/?a=commitdiff_plain;h=03ddd0b72e3fad2d753c8d8f0fd8a6eb77612f1c;p=edk2-sdm845.git sdm845Pkg: Library: PlatformBootManagerLib: PlatformBm.c: fix boot order Signed-off-by: BigfootACA --- diff --git a/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c b/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c index 72d6532..cff1635 100644 --- a/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c +++ b/sdm845Pkg/Library/PlatformBootManagerLib/PlatformBm.c @@ -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 //