From 2bc3256ca6d439ebf5d85d5e74e5f3e68df14130 Mon Sep 17 00:00:00 2001 From: "Gao, Liming" Date: Fri, 10 Jan 2014 05:25:50 +0000 Subject: Sync BaseTool trunk (version r2640) into EDKII BaseTools. Signed-off-by: Gao, Liming Reviewed-by: Liu, Jiang A git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15089 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Source/C/VfrCompile/VfrCompiler.cpp | 6 +++--- BaseTools/Source/C/VfrCompile/VfrCompiler.h | 3 +-- BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp | 11 ----------- 3 files changed, 4 insertions(+), 16 deletions(-) (limited to 'BaseTools/Source/C/VfrCompile') diff --git a/BaseTools/Source/C/VfrCompile/VfrCompiler.cpp b/BaseTools/Source/C/VfrCompile/VfrCompiler.cpp index da8c529894..dd34a1b533 100644 --- a/BaseTools/Source/C/VfrCompile/VfrCompiler.cpp +++ b/BaseTools/Source/C/VfrCompile/VfrCompiler.cpp @@ -2,7 +2,7 @@ VfrCompiler main class and main function. -Copyright (c) 2004 - 2012, Intel Corporation. All rights reserved.
+Copyright (c) 2004 - 2013, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -406,8 +406,8 @@ CVfrCompiler::Usage ( UINT32 Index; CONST CHAR8 *Help[] = { " ", - "VfrCompile version " VFR_COMPILER_VERSION __BUILD_VERSION VFR_COMPILER_UPDATE_TIME, - "Copyright (c) 2004-2011 Intel Corporation. All rights reserved.", + "VfrCompile version " VFR_COMPILER_VERSION __BUILD_VERSION, + "Copyright (c) 2004-2013 Intel Corporation. All rights reserved.", " ", "Usage: VfrCompile [options] VfrFile", " ", diff --git a/BaseTools/Source/C/VfrCompile/VfrCompiler.h b/BaseTools/Source/C/VfrCompile/VfrCompiler.h index fe29f7e3af..ea20bbc5d9 100644 --- a/BaseTools/Source/C/VfrCompile/VfrCompiler.h +++ b/BaseTools/Source/C/VfrCompile/VfrCompiler.h @@ -23,8 +23,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include "ParseInf.h" #define PROGRAM_NAME "VfrCompile" -#define VFR_COMPILER_VERSION " 2.00 (UEFI 2.3.1)" -#define VFR_COMPILER_UPDATE_TIME " updated on 2011/07/15" +#define VFR_COMPILER_VERSION " 2.00 (UEFI 2.4) " // // This is how we invoke the C preprocessor on the VFR source file // to resolve #defines, #includes, etc. To make C source files diff --git a/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp b/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp index 363ca82a24..addff24cf6 100644 --- a/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp +++ b/BaseTools/Source/C/VfrCompile/VfrFormPkg.cpp @@ -855,17 +855,6 @@ CFormPkg::DeclarePendingQuestion ( // Get VarStoreType // ReturnCode = lCVfrDataStorage.GetVarStoreId (FName, &Info.mVarStoreId); - if (ReturnCode == VFR_RETURN_UNDEFINED) { - lCVfrDataStorage.DeclareBufferVarStore ( - FName, - LocalFormSetGuid, - &lCVfrVarDataTypeDB, - FName, - EFI_VARSTORE_ID_INVALID, - FALSE - ); - ReturnCode = lCVfrDataStorage.GetVarStoreId (FName, &Info.mVarStoreId, LocalFormSetGuid); - } if (ReturnCode != VFR_RETURN_SUCCESS) { gCVfrErrorHandle.PrintMsg (pNode->mLineNo, FName, "Error", "Var Store Type is not defined"); return ReturnCode; -- cgit v1.2.3