// 2. Re-scan the BootOption menus (including the legacy boot option).\r
//\r
CustomizeMenus ();\r
+ EfiBootManagerRefreshAllBootOption ();\r
BOpt_GetBootOptions (Private);\r
mFirstEnterBMMForm = TRUE;\r
}\r
Status = gBS->LocateProtocol (&gEfiFormBrowser2ProtocolGuid, NULL, (VOID **) &mBmmCallbackInfo->FormBrowser2);\r
ASSERT_EFI_ERROR (Status);\r
\r
- EfiBootManagerRefreshAllBootOption ();\r
-\r
//\r
// Create LoadOption in BmmCallbackInfo for Driver Callback\r
//\r