[edk2] [Patch][edk2-platforms/devel-MinnowBoard3] Fix RAM size issue

Guo, Mang posted 1 patch 7 years, 7 months ago
Failed in applying to current master (apply log)
.../Board/MinnowBoard3/BoardInitPreMem/BoardInitMiscs.c               | 4 ++++
1 file changed, 4 insertions(+)
[edk2] [Patch][edk2-platforms/devel-MinnowBoard3] Fix RAM size issue
Posted by Guo, Mang 7 years, 7 months ago
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>
---
 .../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
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [Patch][edk2-platforms/devel-MinnowBoard3] Fix RAM size issue
Posted by Wei, David 7 years, 7 months ago
Reviewed-by: zwei4 <david.wei@intel.com>


Thanks,
David  Wei                                 

-----Original Message-----
From: Guo, Mang 
Sent: Friday, March 17, 2017 11:16 AM
To: edk2-devel@lists.01.org
Cc: Wei, David <david.wei@intel.com>; Lu, ShifeiX A <shifeix.a.lu@intel.com>
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 <mang.guo@intel.com>
---
 .../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
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel