HAOUAS Elyes has uploaded this change for review.

View Change

nb/intel/i945: Correct mask for CxDRT1

[27:24] and [31:30] are reserved, so we shouldn't change them.
Tested on i945G-M4 board.

Change-Id: I0cac9160c756405838706edb0461575241faae35
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
---
M src/northbridge/intel/i945/raminit.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/44/31144/1
diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c
index f3c3df6..2a62ca3 100644
--- a/src/northbridge/intel/i945/raminit.c
+++ b/src/northbridge/intel/i945/raminit.c
@@ -1475,7 +1475,7 @@

/* Calculate DRT1 */

- temp_drt = MCHBAR32(C0DRT1) & 0x00020088;
+ temp_drt = MCHBAR32(C0DRT1) & 0xcf020088;

/* DRAM RASB Precharge */
temp_drt |= (sysinfo->trp - 2) << 0;

To view, visit change 31144. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0cac9160c756405838706edb0461575241faae35
Gerrit-Change-Number: 31144
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-MessageType: newchange