From 6a57210686bfd3c8e4f4cc4d2191c77c920b78bf Mon Sep 17 00:00:00 2001 From: Morris Hsu Date: Thu, 14 Dec 2023 14:31:27 +0800 Subject: mb/google/brya/var/dochi: Enable LpDdrDqDqsReTraining FSP default value for LpDdrDqDqsReTraining is 1. For boards that didn't set LpDdrDqDqsReTraining to any value, 0 was being assigned and it caused black screen issue. BUG=b:302465393,b:315739133 TEST=Boot to OS with debug FSP, check LpDdrDqDqsReTraining = 1 Change-Id: I5d61301fddac6630bb1c48e992dd76e5cf02a272 Signed-off-by: Morris Hsu Reviewed-on: https://review.coreboot.org/c/coreboot/+/79533 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) Reviewed-by: Nick Vaccaro --- src/mainboard/google/brya/variants/dochi/memory.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/mainboard/google/brya/variants/dochi/memory.c b/src/mainboard/google/brya/variants/dochi/memory.c index daf069581c..9948ff1648 100644 --- a/src/mainboard/google/brya/variants/dochi/memory.c +++ b/src/mainboard/google/brya/variants/dochi/memory.c @@ -65,6 +65,8 @@ static const struct mb_cfg baseboard_memcfg = { .ccc_config = 0xff, }, + .LpDdrDqDqsReTraining = 1, + .ect = 1, /* Early Command Training */ .UserBd = BOARD_TYPE_ULT_ULX, -- cgit v1.2.3