summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2022-07-21 13:59:24 +0000
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-07-25 15:30:22 +0000
commit8795c42d29850d4785a7d3d0b69e0b648f7fb239 (patch)
treefb478cfda9198314d7b00b01a0e04e9edac9b661 /src/mainboard
parentbae1de1ac0d519e0fb08114c0ba5f1c3151feac5 (diff)
mb/google/rex: Override LP5 CCC config
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 <subratabanik@google.com> Change-Id: Ia1d9e3665cff74a803e730c76f62773996efb3dd Reviewed-on: https://review.coreboot.org/c/coreboot/+/66049 Reviewed-by: Kapil Porwal <kapilporwal@google.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/rex/variants/baseboard/rex/memory.c4
1 files changed, 3 insertions, 1 deletions
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 */
};