MdeModulePkg/BootManagerUiLib: No need to connect all devices

The connect all action has been done in UiApp,
no need to do it when update boot manager form.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
Dandan Bi 2016-06-15 15:44:55 +08:00 committed by Star Zeng
parent a0d1206f84
commit 7de6db5f55
1 changed files with 2 additions and 5 deletions

View File

@ -1,7 +1,7 @@
/** @file /** @file
The boot manager reference implementation The boot manager reference implementation
Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR> Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution. the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at The full text of the license may be found at
@ -419,8 +419,7 @@ BmDevicePathToStr (
} }
/** /**
This function invokes Boot Manager. If all devices have not a chance to be connected, This function invokes Boot Manager. It then enumerate all boot options. If
the connect all will be triggered. It then enumerate all boot options. If
a boot option from the Boot Manager page is selected, Boot Manager will boot a boot option from the Boot Manager page is selected, Boot Manager will boot
from this boot option. from this boot option.
@ -450,8 +449,6 @@ UpdateBootManager (
DeviceType = (UINT16) -1; DeviceType = (UINT16) -1;
EfiBootManagerConnectAll ();
// //
// for better user experience // for better user experience
// 1. User changes HD configuration (e.g.: unplug HDD), here we have a chance to remove the HDD boot option // 1. User changes HD configuration (e.g.: unplug HDD), here we have a chance to remove the HDD boot option