From 2475e022e2e7e756652da9db8c245370864af4ef Mon Sep 17 00:00:00 2001 From: Amanda Huang Date: Mon, 9 Jan 2023 16:36:32 +0800 Subject: mb/google/brya/var/omnigul: Add memory parts support Add new memory parts in the mem_parts_used.txt and generate the SPD ID for the parts. The memory parts being added are: 1) Samsung K3KL8L80CM-MGCT 2) Hynix H58G56BK7BX068 3) Micron MT62F1G32D2DS-026 WT:B 4) Micron MT62F512M32D2DR-031 WT:B BUG=b:264340545 BRANCH=firmware-brya-14505.B TEST=FW_NAME=omnigul emerge-brya coreboot Change-Id: I699070596a77c975254660a1ba74b0f40026186d Signed-off-by: Amanda Huang Reviewed-on: https://review.coreboot.org/c/coreboot/+/71756 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: Dtrain Hsu Reviewed-by: Subrata Banik --- src/mainboard/google/brya/variants/omnigul/memory/Makefile.inc | 7 +++++-- .../google/brya/variants/omnigul/memory/dram_id.generated.txt | 9 +++++++++ .../google/brya/variants/omnigul/memory/mem_parts_used.txt | 4 ++++ 3 files changed, 18 insertions(+), 2 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/google/brya/variants/omnigul/memory/Makefile.inc b/src/mainboard/google/brya/variants/omnigul/memory/Makefile.inc index eace2e443e..5c07a4d559 100644 --- a/src/mainboard/google/brya/variants/omnigul/memory/Makefile.inc +++ b/src/mainboard/google/brya/variants/omnigul/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/omnigul/memory/ src/mainboard/google/brya/variants/omnigul/memory/mem_parts_used.txt -SPD_SOURCES = placeholder +SPD_SOURCES = +SPD_SOURCES += spd/lp5/set-0/spd-7.hex # ID = 0(0b0000) Parts = K3KL8L80CM-MGCT, H58G56BK7BX068, MT62F1G32D2DS-026 WT:B +SPD_SOURCES += spd/lp5/set-0/spd-1.hex # ID = 1(0b0001) Parts = MT62F512M32D2DR-031 WT:B diff --git a/src/mainboard/google/brya/variants/omnigul/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/omnigul/memory/dram_id.generated.txt index fa247902ee..54ca03ef71 100644 --- a/src/mainboard/google/brya/variants/omnigul/memory/dram_id.generated.txt +++ b/src/mainboard/google/brya/variants/omnigul/memory/dram_id.generated.txt @@ -1 +1,10 @@ +# 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/omnigul/memory/ src/mainboard/google/brya/variants/omnigul/memory/mem_parts_used.txt + DRAM Part Name ID to assign +K3KL8L80CM-MGCT 0 (0000) +H58G56BK7BX068 0 (0000) +MT62F1G32D2DS-026 WT:B 0 (0000) +MT62F512M32D2DR-031 WT:B 1 (0001) diff --git a/src/mainboard/google/brya/variants/omnigul/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/omnigul/memory/mem_parts_used.txt index 96211370d9..fe38148553 100644 --- a/src/mainboard/google/brya/variants/omnigul/memory/mem_parts_used.txt +++ b/src/mainboard/google/brya/variants/omnigul/memory/mem_parts_used.txt @@ -9,3 +9,7 @@ # See util/spd_tools/README.md for more details and instructions. # Part Name +K3KL8L80CM-MGCT +H58G56BK7BX068 +MT62F1G32D2DS-026 WT:B +MT62F512M32D2DR-031 WT:B -- cgit v1.2.3