Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29726
Change subject: device/dram/ddr2: Add TCK_1066MHZ to "normalize_tck" function ......................................................................
device/dram/ddr2: Add TCK_1066MHZ to "normalize_tck" function
Change-Id: Ifdbc645ce5e50850c2ecc6e84835a5cb9659676f Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/device/dram/ddr2.c 1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/26/29726/1
diff --git a/src/device/dram/ddr2.c b/src/device/dram/ddr2.c index 53106f2..309fd88 100644 --- a/src/device/dram/ddr2.c +++ b/src/device/dram/ddr2.c @@ -726,7 +726,9 @@
void normalize_tck(u32 *tclk) { - if (*tclk <= TCK_800MHZ) { + if (*tclk <= TCK_1066MHZ { + *tclk = TCK_1066MHZ; + } else if (*tclk <= TCK_800MHZ) { *tclk = TCK_800MHZ; } else if (*tclk <= TCK_666MHZ) { *tclk = TCK_666MHZ;