* [Patch][edk2-platforms/devel-MinnowBoard3] Fix RAM size issue
@ 2017-03-17 3:16 Guo, Mang
2017-03-17 6:16 ` Wei, David
0 siblings, 1 reply; 2+ messages in thread
From: Guo, Mang @ 2017-03-17 3:16 UTC (permalink / raw)
To: edk2-devel@lists.01.org; +Cc: Wei, David, Lu, ShifeiX A
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Patch][edk2-platforms/devel-MinnowBoard3] Fix RAM size issue
2017-03-17 3:16 [Patch][edk2-platforms/devel-MinnowBoard3] Fix RAM size issue Guo, Mang
@ 2017-03-17 6:16 ` Wei, David
0 siblings, 0 replies; 2+ messages in thread
From: Wei, David @ 2017-03-17 6:16 UTC (permalink / raw)
To: Guo, Mang, edk2-devel@lists.01.org; +Cc: Lu, ShifeiX A
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-17 6:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-17 3:16 [Patch][edk2-platforms/devel-MinnowBoard3] Fix RAM size issue Guo, Mang
2017-03-17 6:16 ` Wei, David
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox