[coreboot-gerrit] Change in coreboot[master]: nb/intel/i945: Add default case for CPCTL
Elyes HAOUAS (Code Review)
gerrit at coreboot.org
Tue Jun 5 13:13:58 CEST 2018
Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/26860
Change subject: nb/intel/i945: Add default case for CPCTL
......................................................................
nb/intel/i945: Add default case for CPCTL
The default MCHBAR8(CPCTL) is 0x80. This value is also
used for on desktop with FSB800.
Change-Id: Ifb343ff45ccb2c10a6d2ac294d80add67dd4a1d6
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/northbridge/intel/i945/raminit.c
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/26860/1
diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c
index 6719961..8405134 100644
--- a/src/northbridge/intel/i945/raminit.c
+++ b/src/northbridge/intel/i945/raminit.c
@@ -1622,11 +1622,13 @@
/* Only write the lower byte */
switch (sysinfo->fsb_frequency) {
case 400:
- MCHBAR8(CPCTL) = 0x90; break; /* FSB400 */
+ MCHBAR8(CPCTL) = 0x90; break; /* FSB400 */
case 533:
MCHBAR8(CPCTL) = 0x95; break; /* FSB533 */
case 667:
MCHBAR8(CPCTL) = 0x8d; break; /* FSB667 */
+ default:
+ MCHBAR8(CPCTL) = 0x80;
}
MCHBAR16(CPCTL) &= ~(1 << 11);
--
To view, visit https://review.coreboot.org/26860
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: Ifb343ff45ccb2c10a6d2ac294d80add67dd4a1d6
Gerrit-Change-Number: 26860
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/20180605/2b9a7b33/attachment.html>
More information about the coreboot-gerrit
mailing list