From 3101c737cdcad79c01ba567b91917b177d6021aa Mon Sep 17 00:00:00 2001 From: Yunlong Jia Date: Thu, 15 Jun 2023 02:34:43 +0000 Subject: mb/google/nissa/var/gothrax: Generate RAM IDs for new memory parts Add the support RAM parts for gothrax. Here is the ram part number list: DRAM Part Name ID to assign MT62F512M32D2DR-031 WT:B 0 (0000) H58G56AK6BX069 1 (0001) K3LKBKB0BM-MGCP 2 (0010) BUG=b:284388714 BRANCH=None TEST=emerge-nissa coreboot Signed-off-by: Yunlong Jia Change-Id: Ib16846f7b2061ee254db674ac7bac66c9b9f4e70 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75834 Reviewed-by: Henry Sun Tested-by: build bot (Jenkins) Reviewed-by: Kangheui Won Reviewed-by: Eric Lai --- src/mainboard/google/brya/variants/gothrax/memory/Makefile.inc | 8 ++++++-- .../google/brya/variants/gothrax/memory/dram_id.generated.txt | 8 ++++++++ .../google/brya/variants/gothrax/memory/mem_parts_used.txt | 4 ++++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/brya/variants/gothrax/memory/Makefile.inc b/src/mainboard/google/brya/variants/gothrax/memory/Makefile.inc index eace2e443e..d3c1f68a7f 100644 --- a/src/mainboard/google/brya/variants/gothrax/memory/Makefile.inc +++ b/src/mainboard/google/brya/variants/gothrax/memory/Makefile.inc @@ -1,5 +1,9 @@ # 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/gothrax/memory src/mainboard/google/brya/variants/gothrax/memory/mem_parts_used.txt -SPD_SOURCES = placeholder +SPD_SOURCES = +SPD_SOURCES += spd/lp5/set-0/spd-1.hex # ID = 0(0b0000) Parts = MT62F512M32D2DR-031 WT:B +SPD_SOURCES += spd/lp5/set-0/spd-3.hex # ID = 1(0b0001) Parts = H58G56AK6BX069 +SPD_SOURCES += spd/lp5/set-0/spd-3.hex # ID = 2(0b0010) Parts = K3LKBKB0BM-MGCP diff --git a/src/mainboard/google/brya/variants/gothrax/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/gothrax/memory/dram_id.generated.txt index fa247902ee..7db6e24407 100644 --- a/src/mainboard/google/brya/variants/gothrax/memory/dram_id.generated.txt +++ b/src/mainboard/google/brya/variants/gothrax/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/gothrax/memory src/mainboard/google/brya/variants/gothrax/memory/mem_parts_used.txt + DRAM Part Name ID to assign +MT62F512M32D2DR-031 WT:B 0 (0000) +H58G56AK6BX069 1 (0001) +K3LKBKB0BM-MGCP 2 (0010) diff --git a/src/mainboard/google/brya/variants/gothrax/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/gothrax/memory/mem_parts_used.txt index 96211370d9..d26ec669a5 100644 --- a/src/mainboard/google/brya/variants/gothrax/memory/mem_parts_used.txt +++ b/src/mainboard/google/brya/variants/gothrax/memory/mem_parts_used.txt @@ -9,3 +9,7 @@ # See util/spd_tools/README.md for more details and instructions. # Part Name + +MT62F512M32D2DR-031 WT:B, +H58G56AK6BX069,*1 +K3LKBKB0BM-MGCP, -- cgit v1.2.3