summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorroger2.wang <roger2.wang@lcfc.corp-partner.google.com>2024-04-30 15:01:11 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-05-06 10:33:53 +0000
commit0b26bcd51a3e93e5333a239e36dd4d7aac62f993 (patch)
tree70df1ef9fc0a8e711b97962e63e7d422e879b6b1 /src
parentbc00a2b2f6852c4e2e7fda55981495533cffb740 (diff)
mb/google/nissa/var/pujjoga: Generate SPD IDs
Add pujjoga supported memory parts in mem_parts_used.txt, generate SPD id for this part. 1. Samsung K3KL6L60GM-MGCT, K3KL8L80CM-MGCT 2. Hynix H9JCNNNBK3MLYR-N6E, H58G56BK7BX068 3. Micron MT62F1G32D2DS-026 WT:B BUG=b:337990338 TEST=Use part_id_gen to generate related settings Change-Id: I39d44fd278474a7375ad1d2d904d14b9463ba86d Signed-off-by: roger2.wang <roger2.wang@lcfc.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82135 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Derek Huang <derekhuang@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/variants/pujjoga/memory/Makefile.mk8
-rw-r--r--src/mainboard/google/brya/variants/pujjoga/memory/dram_id.generated.txt10
-rw-r--r--src/mainboard/google/brya/variants/pujjoga/memory/mem_parts_used.txt5
3 files changed, 21 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/pujjoga/memory/Makefile.mk b/src/mainboard/google/brya/variants/pujjoga/memory/Makefile.mk
index eace2e443e..c6e0a1cf1b 100644
--- a/src/mainboard/google/brya/variants/pujjoga/memory/Makefile.mk
+++ b/src/mainboard/google/brya/variants/pujjoga/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 ADL lp5 src/mainboard/google/brya/variants/pujjoga/memory src/mainboard/google/brya/variants/pujjoga/memory/mem_parts_used.txt
-SPD_SOURCES = placeholder
+SPD_SOURCES =
+SPD_SOURCES += spd/lp5/set-0/spd-7.hex # ID = 0(0b0000) Parts = H58G56BK7BX068, K3KL8L80CM-MGCT, MT62F1G32D2DS-026 WT:B
+SPD_SOURCES += spd/lp5/set-0/spd-1.hex # ID = 1(0b0001) Parts = H9JCNNNBK3MLYR-N6E
+SPD_SOURCES += spd/lp5/set-0/spd-9.hex # ID = 2(0b0010) Parts = K3KL6L60GM-MGCT
diff --git a/src/mainboard/google/brya/variants/pujjoga/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/pujjoga/memory/dram_id.generated.txt
index fa247902ee..adec69c716 100644
--- a/src/mainboard/google/brya/variants/pujjoga/memory/dram_id.generated.txt
+++ b/src/mainboard/google/brya/variants/pujjoga/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 ADL lp5 src/mainboard/google/brya/variants/pujjoga/memory src/mainboard/google/brya/variants/pujjoga/memory/mem_parts_used.txt
+
DRAM Part Name ID to assign
+H58G56BK7BX068 0 (0000)
+H9JCNNNBK3MLYR-N6E 1 (0001)
+K3KL6L60GM-MGCT 2 (0010)
+K3KL8L80CM-MGCT 0 (0000)
+MT62F1G32D2DS-026 WT:B 0 (0000)
diff --git a/src/mainboard/google/brya/variants/pujjoga/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/pujjoga/memory/mem_parts_used.txt
index 2499005682..b962c72c9c 100644
--- a/src/mainboard/google/brya/variants/pujjoga/memory/mem_parts_used.txt
+++ b/src/mainboard/google/brya/variants/pujjoga/memory/mem_parts_used.txt
@@ -9,3 +9,8 @@
# See util/spd_tools/README.md for more details and instructions.
# Part Name
+H58G56BK7BX068
+H9JCNNNBK3MLYR-N6E
+K3KL6L60GM-MGCT
+K3KL8L80CM-MGCT
+MT62F1G32D2DS-026 WT:B