From 5d9f5dc1a064fb308ddb802d8150dc0fbcf4e22b Mon Sep 17 00:00:00 2001 From: lzeng14 Date: Tue, 15 Nov 2011 11:06:36 +0000 Subject: [PATCH] EFI_FVB2_ALIGNMNET_512K should be EFI_FVB2_ALIGNMENT_512K. Signed-off-by: lzeng14 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12711 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Foundation/Framework/Include/EfiFirmwareVolumeHeader.h | 4 ++-- .../Sample/Tools/Source/GenFvImage/GenFvImageLib.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/EdkCompatibilityPkg/Foundation/Framework/Include/EfiFirmwareVolumeHeader.h b/EdkCompatibilityPkg/Foundation/Framework/Include/EfiFirmwareVolumeHeader.h index 29ba47b221..f8a7dfbd7a 100644 --- a/EdkCompatibilityPkg/Foundation/Framework/Include/EfiFirmwareVolumeHeader.h +++ b/EdkCompatibilityPkg/Foundation/Framework/Include/EfiFirmwareVolumeHeader.h @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.
+Copyright (c) 2004 - 2011, 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 @@ -106,7 +106,7 @@ typedef UINT32 EFI_FVB_ATTRIBUTES; #define EFI_FVB2_ALIGNMENT_64K 0x00100000 #define EFI_FVB2_ALIGNMENT_128K 0x00110000 #define EFI_FVB2_ALIGNMENT_256K 0x00120000 -#define EFI_FVB2_ALIGNMNET_512K 0x00130000 +#define EFI_FVB2_ALIGNMENT_512K 0x00130000 #define EFI_FVB2_ALIGNMENT_1M 0x00140000 #define EFI_FVB2_ALIGNMENT_2M 0x00150000 #define EFI_FVB2_ALIGNMENT_4M 0x00160000 diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/GenFvImageLib.c b/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/GenFvImageLib.c index b5ed87a131..f356229d43 100644 --- a/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/GenFvImageLib.c +++ b/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/GenFvImageLib.c @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.
+Copyright (c) 2004 - 2011, 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 @@ -923,7 +923,7 @@ Returns: } else if (strcmp (Value, EFI_FVB2_ALIGNMENT_256K_STRING) == 0) { FvInfo->FvAttributes |= EFI_FVB2_ALIGNMENT_256K; } else if (strcmp (Value, EFI_FVB2_ALIGNMENT_512K_STRING) == 0) { - FvInfo->FvAttributes |= EFI_FVB2_ALIGNMNET_512K; + FvInfo->FvAttributes |= EFI_FVB2_ALIGNMENT_512K; } else if (strcmp (Value, EFI_FVB2_ALIGNMENT_1M_STRING) == 0) { FvInfo->FvAttributes |= EFI_FVB2_ALIGNMENT_1M; } else if (strcmp (Value, EFI_FVB2_ALIGNMENT_2M_STRING) == 0) { -- 2.39.2