summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorSheng-Liang Pan <sheng-liang.pan@quanta.corp-partner.google.com>2021-11-17 11:20:38 +0800
committerTim Wawrzynczak <twawrzynczak@chromium.org>2021-11-19 15:35:25 +0000
commitbef23d1f79bffbec472e1ea832eac4902c5a3d8a (patch)
treeec57531b2dcea7b11af9ee174977c25d31a3f1ea /src/mainboard
parentada539ee50679a026adb29e2ec6944d0eaac3ae4 (diff)
mb/google/volteer/var/chronicler: set DdrMemoryDown enable
as doc #632048, there is a fix in MRC for this sighting but DdrMemoryDown need to be set to 1. BUG=b:192478111 BRANCH=volteer TEST=FW_NAME=chronicler emerge-volteer coreboot chromeos-bootimage Signed-off-by: Sheng-Liang Pan <sheng-liang.pan@quanta.corp-partner.google.com> Change-Id: If7ead2d0bb2955a4f1b81d012ee2e2518b2a82e4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59373 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/volteer/variants/chronicler/memory.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/volteer/variants/chronicler/memory.c b/src/mainboard/google/volteer/variants/chronicler/memory.c
index 8ec6996d11..8c67a2d059 100644
--- a/src/mainboard/google/volteer/variants/chronicler/memory.c
+++ b/src/mainboard/google/volteer/variants/chronicler/memory.c
@@ -24,3 +24,9 @@ int variant_memory_sku(void)
return gpio_base2_value(spd_gpios, ARRAY_SIZE(spd_gpios));
}
+
+void memcfg_variant_init(FSPM_UPD *mupd)
+{
+ FSP_M_CONFIG *mem_cfg = &mupd->FspmConfig;
+ mem_cfg->DdrMemoryDown = 1;
+}