summaryrefslogtreecommitdiff
path: root/Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLibMem.c
diff options
context:
space:
mode:
Diffstat (limited to 'Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLibMem.c')
-rw-r--r--Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLibMem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLibMem.c b/Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLibMem.c
index a57ed679..0373be74 100644
--- a/Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLibMem.c
+++ b/Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLibMem.c
@@ -138,7 +138,7 @@ ArmPlatformGetVirtualMemoryMap (
// DDR - Second Block
VirtualMemoryTable[++Index].PhysicalBase = PcdGet64 (PcdDramBlock2Base);
VirtualMemoryTable[Index].VirtualBase = PcdGet64 (PcdDramBlock2Base);
- VirtualMemoryTable[Index].Length = PcdGet64 (PcdDramBlock2Size);
+ VirtualMemoryTable[Index].Length = PcdGet64 (PcdDramBlock2Size);
VirtualMemoryTable[Index].Attributes = ARM_MEMORY_REGION_ATTRIBUTE_WRITE_BACK;
// Remote DDR - (2GB - 16MB)