aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunlong Jia <yunlong.jia@ecs.corp-partner.google.com>2023-06-15 02:34:43 +0000
committerEric Lai <eric_lai@quanta.corp-partner.google.com>2023-06-17 02:38:00 +0000
commit3101c737cdcad79c01ba567b91917b177d6021aa (patch)
treebeff274f1a4741624b8676fde51925b25a41f707
parent884a70b379258f1b9186299b0fff5afe63ce32db (diff)
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 <yunlong.jia@ecs.corp-partner.google.com> Change-Id: Ib16846f7b2061ee254db674ac7bac66c9b9f4e70 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75834 Reviewed-by: Henry Sun <henrysun@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kangheui Won <khwon@chromium.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
-rw-r--r--src/mainboard/google/brya/variants/gothrax/memory/Makefile.inc8
-rw-r--r--src/mainboard/google/brya/variants/gothrax/memory/dram_id.generated.txt8
-rw-r--r--src/mainboard/google/brya/variants/gothrax/memory/mem_parts_used.txt4
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,