summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Hsu <morris-hsu@quanta.corp-partner.google.com>2023-12-14 14:31:27 +0800
committerNick Vaccaro <nvaccaro@google.com>2023-12-15 01:59:55 +0000
commit6a57210686bfd3c8e4f4cc4d2191c77c920b78bf (patch)
tree65be6b4a15a8ecd80e7fa8d509003a91f14334f4
parent933d2b0f1317aeba74d5005b1d177a507aae0847 (diff)
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 <morris-hsu@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79533 Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
-rw-r--r--src/mainboard/google/brya/variants/dochi/memory.c2
1 files changed, 2 insertions, 0 deletions
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,