summaryrefslogtreecommitdiff
path: root/Platform/BroxtonPlatformPkg/Common/Library
diff options
context:
space:
mode:
authorzwei4 <david.wei@intel.com>2018-03-22 16:59:34 +0800
committerzwei4 <david.wei@intel.com>2018-03-22 17:03:14 +0800
commit371a39fc2d034c3e20e965c6d68a3dc678f11c18 (patch)
treec6f642af346066dfec28824cb766e924340d7ade /Platform/BroxtonPlatformPkg/Common/Library
parent191c87cbb5ae6a93d9d7c1b874d93849dea77675 (diff)
downloadedk2-platforms-371a39fc2d034c3e20e965c6d68a3dc678f11c18.tar.xz
Change BDS module.
Change from BDS of IntelFrameworkModulePkg to BDS of MdeModulePkg. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: zwei4 <david.wei@intel.com>
Diffstat (limited to 'Platform/BroxtonPlatformPkg/Common/Library')
-rw-r--r--Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/PlatformBootManager.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/PlatformBootManager.c b/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/PlatformBootManager.c
index 3dffe72636..7c7a98e2b9 100644
--- a/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/PlatformBootManager.c
+++ b/Platform/BroxtonPlatformPkg/Common/Library/PlatformBootManagerLib/PlatformBootManager.c
@@ -35,7 +35,6 @@
#include <Guid/TpmInstance.h>
#include <Guid/PttPTPInstanceGuid.h>
-#pragma optimize("g", off)
#define TIMEOUT_COMMAND 100000
#define BIOS_COLOR_CODING_BAR_HEIGHT 40
@@ -635,8 +634,6 @@ UpdateDevicePath (
return Return;
}
-#pragma optimize("g", off)
-
/**
Check if current BootCurrent variable is internal shell boot option.
@@ -1047,6 +1044,6 @@ PlatformBootManagerAfterConsole (
}
if (IsNeedSortBootOption()) {
- EfiBootManagerSortLoadOptionVariable (LoadOptionTypeBoot, CompareBootOption);
+ EfiBootManagerSortLoadOptionVariable (LoadOptionTypeBoot, (SORT_COMPARE)CompareBootOption);
}
}