Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/22991
Change subject: nb/intel/x4x: Fix computing page_size
......................................................................
nb/intel/x4x: Fix computing page_size
This problem was introduced by 3cf94032b "nb/x4x/raminit: Rewrite SPD
decode and timing selection", but was probably not encountered because
such dimms are rather uncommon.
Change-Id: I2d57f5e584ac7fa1479791c239432005fe8c178d
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/northbridge/intel/x4x/raminit.c
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/91/22991/1
diff --git a/src/northbridge/intel/x4x/raminit.c b/src/northbridge/intel/x4x/raminit.c
index 0b4d4a5..3cd75be 100644
--- a/src/northbridge/intel/x4x/raminit.c
+++ b/src/northbridge/intel/x4x/raminit.c
@@ -188,9 +188,10 @@
* 1KB page size. For the x16 configuration, the page size is 2KB
* for all densities except the 256Mb device, which has a 1KB page
* size." Micron, 'TN-47-16 Designing for High-Density DDR2 Memory'
+ * The formula is pagesize in KiB = width * 2^col_bits / 8.
*/
- s->dimms[dimm_idx].page_size = s->dimms[dimm_idx].width *
- (1 << decoded_dimm.col_bits);
+ s->dimms[dimm_idx].page_size = decoded_dimm.width *
+ (1 << decoded_dimm.col_bits) / 8;
switch (decoded_dimm.banks) {
case 4:
--
To view, visit https://review.coreboot.org/22991
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2d57f5e584ac7fa1479791c239432005fe8c178d
Gerrit-Change-Number: 22991
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/22990
to look at the new patch set (#2).
Change subject: amd/gardenia/bootblock/BiosCallOuts.c: Replace GPIO table
......................................................................
amd/gardenia/bootblock/BiosCallOuts.c: Replace GPIO table
As function platform_FchParams_reset() is no longer called or declared,
it needs to be removed. Replace GPIO table with the new format, and
platform_FchParams_reset() with new function board_get_gpio().
BUG=b:64140392
TEST=Build gardenia.
Change-Id: Id2ea63656a7d2f20f55fc5a4c75457db85b80cbd
Signed-off-by: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
---
M src/mainboard/amd/gardenia/bootblock/BiosCallOuts.c
1 file changed, 15 insertions(+), 34 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/22990/2
--
To view, visit https://review.coreboot.org/22990
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id2ea63656a7d2f20f55fc5a4c75457db85b80cbd
Gerrit-Change-Number: 22990
Gerrit-PatchSet: 2
Gerrit-Owner: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/22989
to look at the new patch set (#5).
Change subject: google/kahlee/BiosCallOuts.c: Remove platform_FchParams_reset
......................................................................
google/kahlee/BiosCallOuts.c: Remove platform_FchParams_reset
Function platform_FchParams_reset() is now an empty function, remove it,
its header declaration and its use.
BUG=b:64140392
TEST=Build kahlee.
Change-Id: I3f3efc072a2e198433d0e261dacbbd4a8ff327d7
Signed-off-by: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
---
M src/mainboard/amd/gardenia/bootblock/BiosCallOuts.c
M src/mainboard/google/kahlee/BiosCallOuts.c
M src/soc/amd/common/block/include/amdblocks/BiosCallOuts.h
M src/soc/amd/stoneyridge/BiosCallOuts.c
4 files changed, 32 insertions(+), 38 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/22989/5
--
To view, visit https://review.coreboot.org/22989
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I3f3efc072a2e198433d0e261dacbbd4a8ff327d7
Gerrit-Change-Number: 22989
Gerrit-PatchSet: 5
Gerrit-Owner: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-Reviewer: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Richard Spiegel has posted comments on this change. ( https://review.coreboot.org/22989 )
Change subject: google/kahlee/BiosCallOuts.c: Remove platform_FchParams_reset
......................................................................
Patch Set 4:
Now I do not understand the failure. It builds gardenia locally, but Jenkins fails gardenia. Investigating.
--
To view, visit https://review.coreboot.org/22989
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3f3efc072a2e198433d0e261dacbbd4a8ff327d7
Gerrit-Change-Number: 22989
Gerrit-PatchSet: 4
Gerrit-Owner: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-Reviewer: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 26 Dec 2017 18:35:34 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No