From addf4f882a1a0627dd9753942ba905e7e2592b08 Mon Sep 17 00:00:00 2001 From: Morris Hsu Date: Fri, 22 Sep 2023 15:20:37 +0800 Subject: [PATCH] mb/google/brya/var/dochi: add generic LPDDR5 SPDs for Dochi Add Makefile.inc to include five generic LPDDR5 SPDs for the following parts for Dochi: DRAM Part Name ID to assign MT62F1G32D2DS-023 WT:B 0 (0000) K3KL8L80CM-MGCT 1 (0001) H58G56BK8BX068 0 (0000) BUG=b:298337185 TEST=USE="project_dochi emerge-brya coreboot" Change-Id: If0fd4bc950cef484db53b7b21849cfdfdd7816a5 Signed-off-by: Morris Hsu Reviewed-on: https://review.coreboot.org/c/coreboot/+/78064 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- .../google/brya/variants/dochi/memory/Makefile.inc | 7 +++++-- .../brya/variants/dochi/memory/dram_id.generated.txt | 8 ++++++++ .../google/brya/variants/dochi/memory/mem_parts_used.txt | 3 +++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/brya/variants/dochi/memory/Makefile.inc b/src/mainboard/google/brya/variants/dochi/memory/Makefile.inc index eace2e443e..32849a32d3 100644 --- a/src/mainboard/google/brya/variants/dochi/memory/Makefile.inc +++ b/src/mainboard/google/brya/variants/dochi/memory/Makefile.inc @@ -1,5 +1,8 @@ # SPDX-License-Identifier: GPL-2.0-or-later # This is an auto-generated file. Do not edit!! -# Add memory parts in mem_parts_used.txt and run spd_tools to regenerate. +# Generated by: +# ./util/spd_tools/bin/part_id_gen ADL lp5 src/mainboard/google/brya/variants/dochi/memory src/mainboard/google/brya/variants/dochi/memory/mem_parts_used.txt -SPD_SOURCES = placeholder +SPD_SOURCES = +SPD_SOURCES += spd/lp5/set-0/spd-11.hex # ID = 0(0b0000) Parts = MT62F1G32D2DS-023 WT:B, H58G56BK8BX068 +SPD_SOURCES += spd/lp5/set-0/spd-7.hex # ID = 1(0b0001) Parts = K3KL8L80CM-MGCT diff --git a/src/mainboard/google/brya/variants/dochi/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/dochi/memory/dram_id.generated.txt index fa247902ee..b64aa5a20e 100644 --- a/src/mainboard/google/brya/variants/dochi/memory/dram_id.generated.txt +++ b/src/mainboard/google/brya/variants/dochi/memory/dram_id.generated.txt @@ -1 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# This is an auto-generated file. Do not edit!! +# Generated by: +# ./util/spd_tools/bin/part_id_gen ADL lp5 src/mainboard/google/brya/variants/dochi/memory src/mainboard/google/brya/variants/dochi/memory/mem_parts_used.txt + DRAM Part Name ID to assign +MT62F1G32D2DS-023 WT:B 0 (0000) +K3KL8L80CM-MGCT 1 (0001) +H58G56BK8BX068 0 (0000) diff --git a/src/mainboard/google/brya/variants/dochi/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/dochi/memory/mem_parts_used.txt index 96211370d9..ac3d1d01d0 100644 --- a/src/mainboard/google/brya/variants/dochi/memory/mem_parts_used.txt +++ b/src/mainboard/google/brya/variants/dochi/memory/mem_parts_used.txt @@ -9,3 +9,6 @@ # See util/spd_tools/README.md for more details and instructions. # Part Name +MT62F1G32D2DS-023 WT:B +K3KL8L80CM-MGCT +H58G56BK8BX068