Reviewed-by: zwei4 <[email protected]>

Thanks,
David  Wei                                 

-----Original Message-----
From: Guo, Mang 
Sent: Friday, March 17, 2017 11:16 AM
To: [email protected]
Cc: Wei, David <[email protected]>; Lu, ShifeiX A <[email protected]>
Subject: [Patch][edk2-platforms/devel-MinnowBoard3] 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 <[email protected]>
---
 .../Board/MinnowBoard3/BoardInitPreMem/BoardInitMiscs.c               | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPreMem/BoardInitMiscs.c
 
b/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitPreMem/BoardInitMiscs.c
index 9e535ca..997046a 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;
 }
 
-- 
2.10.1.windows.1

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to