summaryrefslogtreecommitdiff
path: root/src/mainboard/google/rex
diff options
context:
space:
mode:
authorTyler Wang <tyler.wang@quanta.corp-partner.google.com>2024-11-08 14:16:14 +0800
committerSubrata Banik <subratabanik@google.com>2024-11-18 06:54:35 +0000
commit7bcac7bb111f3ad85477bcb7f92a423563f9794a (patch)
tree3e9919cb5452bef8cc3c6efb3cdc96850e8724cb /src/mainboard/google/rex
parent1565c1d10874bc08c365fc1f10cc9a8723ca7f27 (diff)
mb/google/rex/var/kanix: Generate SPD ID for supported memory part
Add kanix supported memory parts in mem_parts_used.txt, generate SPD id. 1. MICRON MT62F1G32D2DS-023 WT:B 2. HYNIX H9JCNNNBK3MLYR-N6E 3. HYNIX H58G56BK8BX068 4. SAMSUNG K3KL8L80CM-MGCT 5. MICRON MT62F512M32D2DR-031 WT:B BUG=b:378390643 TEST=Use part_id_gen to generate related settings Change-Id: I6ce92bac8d8e7ed64135c26387f52b7cc488c391 Signed-off-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85040 Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/rex')
-rw-r--r--src/mainboard/google/rex/variants/kanix/memory/Makefile.mk8
-rw-r--r--src/mainboard/google/rex/variants/kanix/memory/dram_id.generated.txt10
-rw-r--r--src/mainboard/google/rex/variants/kanix/memory/mem_parts_used.txt5
3 files changed, 21 insertions, 2 deletions
diff --git a/src/mainboard/google/rex/variants/kanix/memory/Makefile.mk b/src/mainboard/google/rex/variants/kanix/memory/Makefile.mk
index eace2e443e..97caca3e72 100644
--- a/src/mainboard/google/rex/variants/kanix/memory/Makefile.mk
+++ b/src/mainboard/google/rex/variants/kanix/memory/Makefile.mk
@@ -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 MTL lp5 src/mainboard/google/rex/variants/kanix/memory src/mainboard/google/rex/variants/kanix/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-1.hex # ID = 1(0b0001) Parts = H9JCNNNBK3MLYR-N6E, MT62F512M32D2DR-031 WT:B
+SPD_SOURCES += spd/lp5/set-0/spd-7.hex # ID = 2(0b0010) Parts = K3KL8L80CM-MGCT
diff --git a/src/mainboard/google/rex/variants/kanix/memory/dram_id.generated.txt b/src/mainboard/google/rex/variants/kanix/memory/dram_id.generated.txt
index fa247902ee..2cc130c2f9 100644
--- a/src/mainboard/google/rex/variants/kanix/memory/dram_id.generated.txt
+++ b/src/mainboard/google/rex/variants/kanix/memory/dram_id.generated.txt
@@ -1 +1,11 @@
+# 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 MTL lp5 src/mainboard/google/rex/variants/kanix/memory src/mainboard/google/rex/variants/kanix/memory/mem_parts_used.txt
+
DRAM Part Name ID to assign
+MT62F1G32D2DS-023 WT:B 0 (0000)
+H9JCNNNBK3MLYR-N6E 1 (0001)
+H58G56BK8BX068 0 (0000)
+K3KL8L80CM-MGCT 2 (0010)
+MT62F512M32D2DR-031 WT:B 1 (0001)
diff --git a/src/mainboard/google/rex/variants/kanix/memory/mem_parts_used.txt b/src/mainboard/google/rex/variants/kanix/memory/mem_parts_used.txt
index 2499005682..42d8a4ee05 100644
--- a/src/mainboard/google/rex/variants/kanix/memory/mem_parts_used.txt
+++ b/src/mainboard/google/rex/variants/kanix/memory/mem_parts_used.txt
@@ -9,3 +9,8 @@
# See util/spd_tools/README.md for more details and instructions.
# Part Name
+MT62F1G32D2DS-023 WT:B
+H9JCNNNBK3MLYR-N6E
+H58G56BK8BX068
+K3KL8L80CM-MGCT
+MT62F512M32D2DR-031 WT:B