[coreboot-gerrit] New patch to review for coreboot: nb/i945: Clean Programming DLL Timings
HAOUAS Elyes (ehaouas@noos.fr)
gerrit at coreboot.org
Thu Feb 23 13:18:22 CET 2017
HAOUAS Elyes (ehaouas at noos.fr) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18472
-gerrit
commit 857ceefb6e1d009de24d7b62a05058bc174492d6
Author: Elyes HAOUAS <ehaouas at noos.fr>
Date: Thu Feb 23 13:14:44 2017 +0100
nb/i945: Clean Programming DLL Timings
Change-Id: I7253ea9ea66396c536c82d63c67fecb041681707
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
src/northbridge/intel/i945/raminit.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c
index a8bb5e7..50ab635 100644
--- a/src/northbridge/intel/i945/raminit.c
+++ b/src/northbridge/intel/i945/raminit.c
@@ -1238,15 +1238,15 @@ static void sdram_program_dll_timings(struct sys_info *sysinfo)
/* We drive both channels with the same speed */
if (IS_ENABLED(CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GM)) {
switch (sysinfo->memory_frequency) {
- case 400: chan0dll = 0x26262626; chan1dll = 0x26262626; break; /* 400MHz */
- case 533: chan0dll = 0x22222222; chan1dll = 0x22222222; break; /* 533MHz */
- case 667: chan0dll = 0x11111111; chan1dll = 0x11111111; break; /* 667MHz */
+ case 400: chan0dll = chan1dll = 0x26262626; break;
+ case 533: chan0dll = chan1dll = 0x22222222; break;
+ case 667: chan0dll = chan1dll = 0x11111111; break;
}
} else if (IS_ENABLED(CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GC)) {
switch (sysinfo->memory_frequency) {
- case 400: chan0dll = 0x33333333; chan1dll = 0x33333333; break; /* 400MHz */
- case 533: chan0dll = 0x24242424; chan1dll = 0x24242424; break; /* 533MHz */
- case 667: chan0dll = 0x25252525; chan1dll = 0x25252525; break; /* 667MHz */
+ case 400: chan0dll = chan1dll = 0x33333333; break;
+ case 533: chan0dll = chan1dll = 0x24242424; break;
+ case 667: chan0dll = chan1dll = 0x25252525; break;
}
}
More information about the coreboot-gerrit
mailing list