[coreboot-gerrit] Change in coreboot[master]: src/device/dram/ddr2: Fix supported burst lengths

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Sun Mar 11 18:55:12 CET 2018


Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/25098


Change subject: src/device/dram/ddr2: Fix supported burst lengths
......................................................................

src/device/dram/ddr2: Fix supported burst lengths

Supported burst lengths is described at byte 16

Change-Id: I502710bdac7eec715b29febefd64be88e5a1b80a
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/device/dram/ddr2.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/25098/1

diff --git a/src/device/dram/ddr2.c b/src/device/dram/ddr2.c
index eefb569..921679c 100644
--- a/src/device/dram/ddr2.c
+++ b/src/device/dram/ddr2.c
@@ -572,11 +572,11 @@
 
 	/* SDRAM Supported Burst length */
 	printram("  Burst length       :");
-	if (spd[16] & 0x06) {
+	if (spd[16] & 0x08) {
 		dimm->flags.bl8 = 1;
 		printram(" BL8");
 	}
-	if (spd[22] & 0x04) {
+	if (spd[16] & 0x04) {
 		dimm->flags.bl4 = 1;
 		printram(" BL4");
 	}

-- 
To view, visit https://review.coreboot.org/25098
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: I502710bdac7eec715b29febefd64be88e5a1b80a
Gerrit-Change-Number: 25098
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180311/7709c501/attachment.html>


More information about the coreboot-gerrit mailing list