[coreboot-gerrit] Change in ...coreboot[master]: device/dram/ddr2: Add TCK_1066MHZ to 'normalize_tck' function
Elyes HAOUAS (Code Review)
gerrit at coreboot.org
Tue Nov 20 12:21:12 CET 2018
Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/29704
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 at 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/04/29704/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;
--
To view, visit https://review.coreboot.org/c/coreboot/+/29704
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ifdbc645ce5e50850c2ecc6e84835a5cb9659676f
Gerrit-Change-Number: 29704
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181120/375d5e2c/attachment.html>
More information about the coreboot-gerrit
mailing list