summaryrefslogtreecommitdiff
path: root/Platform
diff options
context:
space:
mode:
authorGuo Mang <mang.guo@intel.com>2017-03-17 10:23:35 +0800
committerGuo Mang <mang.guo@intel.com>2017-03-17 14:38:17 +0800
commit00df813708684661a416c9f401241c62987a61f6 (patch)
treece4171dfb9c07a20a47f545e0dd48c0de96b8518 /Platform
parent2ef094fc93c670d153e8170146e0e66c7c23778b (diff)
downloadedk2-platforms-00df813708684661a416c9f401241c62987a61f6.tar.xz
Fix RAM size issue
RAM SIZE in frontpage is not correct. Pass correct DRAM density parameter to FSP to fix this issue. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang <mang.guo@intel.com> Reviewed-by: zwei4 <david.wei@intel.com>
Diffstat (limited to 'Platform')
-rw-r--r--Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPreMem/BoardInitMiscs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPreMem/BoardInitMiscs.c b/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPreMem/BoardInitMiscs.c
index 9e535ca8e9..997046ac03 100644
--- a/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPreMem/BoardInitMiscs.c
+++ b/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPreMem/BoardInitMiscs.c
@@ -104,6 +104,10 @@ Mb3UpdateFspmUpd (
ASSERT (FALSE);
}
+ FspUpdRgn->FspmConfig.Ch0_DramDensity = 2;
+ FspUpdRgn->FspmConfig.Ch1_DramDensity = 2;
+ FspUpdRgn->FspmConfig.Ch2_DramDensity = 2;
+ FspUpdRgn->FspmConfig.Ch3_DramDensity = 2;
return EFI_SUCCESS;
}