summaryrefslogtreecommitdiff
path: root/Platform/AMD/AmdMinBoardPkg/Library/SetCacheMtrrLib/SetCacheMtrrLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'Platform/AMD/AmdMinBoardPkg/Library/SetCacheMtrrLib/SetCacheMtrrLib.c')
-rw-r--r--Platform/AMD/AmdMinBoardPkg/Library/SetCacheMtrrLib/SetCacheMtrrLib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Platform/AMD/AmdMinBoardPkg/Library/SetCacheMtrrLib/SetCacheMtrrLib.c b/Platform/AMD/AmdMinBoardPkg/Library/SetCacheMtrrLib/SetCacheMtrrLib.c
index 06f530582c..58d3d15e8d 100644
--- a/Platform/AMD/AmdMinBoardPkg/Library/SetCacheMtrrLib/SetCacheMtrrLib.c
+++ b/Platform/AMD/AmdMinBoardPkg/Library/SetCacheMtrrLib/SetCacheMtrrLib.c
@@ -120,8 +120,9 @@ SetCacheMtrrAfterEndOfPei (
)
{
EFI_STATUS Status;
- UINT32 Mmio64Hi = 0, Mmio64Low = 0;
- UINT64 ROM3MmioBase = 0;
+ UINT32 Mmio64Hi;
+ UINT32 Mmio64Low;
+ UINT64 ROM3MmioBase;
Status = MtrrSetMemoryAttribute (
PcdGet32 (PcdFlashAreaBaseAddress),