From 3907a64a48cb338dfbe85fd2f192ea70d254d3f4 Mon Sep 17 00:00:00 2001 From: Srinidhi N Kaushik Date: Wed, 1 Apr 2020 12:22:00 -0700 Subject: [PATCH] mb/google/volteer: enable Early Command Training Update memory configuration on Tiger Lake platform to enable Early Command Training. This feature was not supported before FSP v2527. BUG=b:150357377 BRANCH=None TEST= Build and boot volteer Signed-off-by: Srinidhi N Kaushik Change-Id: I674c30f4dfc1af6c0c4a460d66684545a190caf3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40023 Reviewed-by: Dossym Nurmukhanov Reviewed-by: Tim Wawrzynczak Tested-by: build bot (Jenkins) --- src/mainboard/google/volteer/variants/baseboard/memory.c | 2 +- src/mainboard/google/volteer/variants/malefor/memory.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/volteer/variants/baseboard/memory.c b/src/mainboard/google/volteer/variants/baseboard/memory.c index f2c5a5a146..57a2c5e285 100644 --- a/src/mainboard/google/volteer/variants/baseboard/memory.c +++ b/src/mainboard/google/volteer/variants/baseboard/memory.c @@ -58,7 +58,7 @@ static const struct lpddr4x_cfg baseboard_memcfg = { [7] = { 0, 1 }, /* DDR7_DQS[1:0] */ }, - .ect = 0, /* Disable Early Command Training */ + .ect = 1, /* Enable Early Command Training */ }; const struct lpddr4x_cfg *__weak variant_memory_params(void) diff --git a/src/mainboard/google/volteer/variants/malefor/memory.c b/src/mainboard/google/volteer/variants/malefor/memory.c index 4e5313db36..e1a4cf0781 100644 --- a/src/mainboard/google/volteer/variants/malefor/memory.c +++ b/src/mainboard/google/volteer/variants/malefor/memory.c @@ -52,7 +52,7 @@ static const struct lpddr4x_cfg malefor_memcfg = { [7] = { 0, 1 }, /* DDR7_DQS[1:0] */ }, - .ect = 0, /* Disable Early Command Training */ + .ect = 1, /* Enable Early Command Training */ }; const struct lpddr4x_cfg *variant_memory_params(void)