diff options
author | Guo Mang <mang.guo@intel.com> | 2017-03-17 10:23:35 +0800 |
---|---|---|
committer | Guo Mang <mang.guo@intel.com> | 2017-05-09 13:03:12 +0800 |
commit | 2b71faa4dee3ce58d614920f4e23e447e40cd8d4 (patch) | |
tree | f2f44eeae8b3d43bff37644c340fdad51cce135e /Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPreMem | |
parent | bf000b8c3af487eeb9374403a888b7837f149eec (diff) | |
download | edk2-platforms-2b71faa4dee3ce58d614920f4e23e447e40cd8d4.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/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPreMem')
-rw-r--r-- | Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPreMem/BoardInitMiscs.c | 4 |
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;
}
|