]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/BootManagerUiLib: No need to connect all devices
authorDandan Bi <dandan.bi@intel.com>
Wed, 15 Jun 2016 07:44:55 +0000 (15:44 +0800)
committerStar Zeng <star.zeng@intel.com>
Tue, 21 Jun 2016 04:33:48 +0000 (12:33 +0800)
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>
MdeModulePkg/Library/BootManagerUiLib/BootManager.c

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