From dea94abebba0868526b2a9dcf9627a7a628ba522 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Tue, 20 Jun 2017 20:42:38 -0700 Subject: [PATCH] mb/google/eve: Do not limit memory speed on new SKU 5 boards Board changes in rev6+ have a fix to VDDQ that should fix the issue that was being seen with this SKU, so only lower the memory speed on older boards. BUG=b:37172778 TEST=memory stress testing on rev6 boards Change-Id: I6d6fe730cabd74af23eab3f02feef9da01a35fd4 Signed-off-by: Duncan Laurie Reviewed-on: https://review.coreboot.org/20429 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Aaron Durbin Reviewed-by: Furquan Shaikh --- src/mainboard/google/eve/romstage.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mainboard/google/eve/romstage.c b/src/mainboard/google/eve/romstage.c index cd8fa083a9..6f8ff0f19c 100644 --- a/src/mainboard/google/eve/romstage.c +++ b/src/mainboard/google/eve/romstage.c @@ -14,6 +14,7 @@ * GNU General Public License for more details. */ +#include #include #include #include @@ -49,7 +50,7 @@ void mainboard_memory_init_params(FSPM_UPD *mupd) mem_cfg->MemorySpdDataLen = SPD_LEN; /* Limit K4EBE304EB-EGCF memory to 1600MHz for stability */ - if (mainboard_get_spd_index() == 5) { + if (board_id() < 6 && mainboard_get_spd_index() == 5) { printk(BIOS_WARNING, "Limiting memory to 1600MHz\n"); mem_cfg->DdrFreqLimit = 1600; }