summaryrefslogtreecommitdiff
path: root/Vlv2TbltDevicePkg/SaveMemoryConfig
diff options
context:
space:
mode:
authorTim He <tim.he@intel.com>2015-08-04 02:55:02 +0000
committertimhe <timhe@Edk2>2015-08-04 02:55:02 +0000
commit6f2ef18e8097c4fa11dd6ff5fdd0152c2c61ffc5 (patch)
treebcc19b4b8196f40d7fb8cb6509ab4859503b009f /Vlv2TbltDevicePkg/SaveMemoryConfig
parentc5d5379937629f3061d08b8d9a3386a40152ca2c (diff)
downloadedk2-platforms-6f2ef18e8097c4fa11dd6ff5fdd0152c2c61ffc5.tar.xz
Vlv2TbltDevicePkg: Sync the branch changes to trunk.
Support compatible board, and fixed some bugs. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tim He <tim.he@intel.com> Reviewed-by: David Wei <david.wei@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18149 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Vlv2TbltDevicePkg/SaveMemoryConfig')
-rw-r--r--Vlv2TbltDevicePkg/SaveMemoryConfig/SaveMemoryConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Vlv2TbltDevicePkg/SaveMemoryConfig/SaveMemoryConfig.c b/Vlv2TbltDevicePkg/SaveMemoryConfig/SaveMemoryConfig.c
index dd3e5dc656..c26fa8596b 100644
--- a/Vlv2TbltDevicePkg/SaveMemoryConfig/SaveMemoryConfig.c
+++ b/Vlv2TbltDevicePkg/SaveMemoryConfig/SaveMemoryConfig.c
@@ -123,7 +123,7 @@ SaveMemoryConfigEntryPoint (
MemInfoProtocol->MemInfoData.memSize = 0;
for (Channel = 0; Channel < CH_NUM; Channel ++){
for (Slot = 0; Slot < DIMM_NUM; Slot ++){
- MemInfoProtocol->MemInfoData.dimmSize[Slot + (Channel * DIMM_NUM)] = PlatformInfoHobPtr->MemData.DimmSize[Slot];
+ MemInfoProtocol->MemInfoData.dimmSize[Slot + (Channel * DIMM_NUM)] = PlatformInfoHobPtr->MemData.DimmSize[Slot + (Channel * DIMM_NUM)];
}
}
MemInfoProtocol->MemInfoData.memSize = PlatformInfoHobPtr->MemData.MemSize;