From 8795c42d29850d4785a7d3d0b69e0b648f7fb239 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Thu, 21 Jul 2022 13:59:24 +0000 Subject: =?UTF-8?q?mb/google/rex:=20Override=C2=A0LP5=20CCC=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch overrides `Lp5CccConfig` UPD as per the CCC mapping data captured from the Rex schematics dated 07/16. BUG=b:224325352 TEST=Able to build Google/Rex. Signed-off-by: Subrata Banik Change-Id: Ia1d9e3665cff74a803e730c76f62773996efb3dd Reviewed-on: https://review.coreboot.org/c/coreboot/+/66049 Reviewed-by: Kapil Porwal Reviewed-by: Eric Lai Reviewed-by: Martin Roth Tested-by: build bot (Jenkins) --- src/mainboard/google/rex/variants/baseboard/rex/memory.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mainboard/google/rex') diff --git a/src/mainboard/google/rex/variants/baseboard/rex/memory.c b/src/mainboard/google/rex/variants/baseboard/rex/memory.c index a8f65155e5..f39a54c962 100644 --- a/src/mainboard/google/rex/variants/baseboard/rex/memory.c +++ b/src/mainboard/google/rex/variants/baseboard/rex/memory.c @@ -6,7 +6,9 @@ static const struct mb_cfg baseboard_memcfg = { .type = MEM_TYPE_LP5X, - /* TODO: Add Memory configuration */ + .lp5x_config = { + .ccc_config = 0x66, + }, .ect = 1, /* Enable Early Command Training */ }; -- cgit v1.2.3