summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorTony Huang <tony-huang@quanta.corp-partner.google.com>2023-03-15 11:07:44 +0800
committerEric Lai <eric_lai@quanta.corp-partner.google.com>2023-03-17 00:45:50 +0000
commitb3468db4673d4f1f71550a4109848e9507da3f40 (patch)
treedcc4bf80e6a068b8d8e6308a86bc337376d99623 /src/mainboard
parent0225e80061af6f4cac590c4fafc925050319d6e2 (diff)
mb/google/nissa/var/yavilla: Generate SPD ID for supported memory parts
Add supported memory parts in mem_parts_used list, and generate SPD ID for these parts. DRAM Part Name ID to assign MT62F512M32D2DR-031 WT:B 0 (0000) H9JCNNNBK3MLYR-N6E 0 (0000) H58G56BK7BX068 1 (0001) MT62F1G32D2DS-026 WT:B 1 (0001) K3KL8L80CM-MGCT 1 (0001) H58G66BK7BX067 2 (0010) MT62F2G32D4DS-026 WT:B 2 (0010) K3KL9L90CM-MGCT 2 (0010) BUG=b:273791621 BRANCH=firmware-nissa-15217.B TEST=run part_id_gen to generate SPD id Change-Id: I82919919ec33d6bf9d86132490df754873b5df88 Signed-off-by: Tony Huang <tony-huang@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/73722 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/brya/variants/yavilla/memory/Makefile.inc8
-rw-r--r--src/mainboard/google/brya/variants/yavilla/memory/dram_id.generated.txt13
-rw-r--r--src/mainboard/google/brya/variants/yavilla/memory/mem_parts_used.txt8
3 files changed, 27 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/yavilla/memory/Makefile.inc b/src/mainboard/google/brya/variants/yavilla/memory/Makefile.inc
index eace2e443e..a0e6c21cff 100644
--- a/src/mainboard/google/brya/variants/yavilla/memory/Makefile.inc
+++ b/src/mainboard/google/brya/variants/yavilla/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/yavilla/memory/ src/mainboard/google/brya/variants/yavilla/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, H9JCNNNBK3MLYR-N6E
+SPD_SOURCES += spd/lp5/set-0/spd-7.hex # ID = 1(0b0001) Parts = H58G56BK7BX068, MT62F1G32D2DS-026 WT:B, K3KL8L80CM-MGCT
+SPD_SOURCES += spd/lp5/set-0/spd-8.hex # ID = 2(0b0010) Parts = H58G66BK7BX067, MT62F2G32D4DS-026 WT:B, K3KL9L90CM-MGCT
diff --git a/src/mainboard/google/brya/variants/yavilla/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/yavilla/memory/dram_id.generated.txt
index fa247902ee..598edff0e4 100644
--- a/src/mainboard/google/brya/variants/yavilla/memory/dram_id.generated.txt
+++ b/src/mainboard/google/brya/variants/yavilla/memory/dram_id.generated.txt
@@ -1 +1,14 @@
+# 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/yavilla/memory/ src/mainboard/google/brya/variants/yavilla/memory/mem_parts_used.txt
+
DRAM Part Name ID to assign
+MT62F512M32D2DR-031 WT:B 0 (0000)
+H9JCNNNBK3MLYR-N6E 0 (0000)
+H58G56BK7BX068 1 (0001)
+MT62F1G32D2DS-026 WT:B 1 (0001)
+K3KL8L80CM-MGCT 1 (0001)
+H58G66BK7BX067 2 (0010)
+MT62F2G32D4DS-026 WT:B 2 (0010)
+K3KL9L90CM-MGCT 2 (0010)
diff --git a/src/mainboard/google/brya/variants/yavilla/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/yavilla/memory/mem_parts_used.txt
index 96211370d9..5ef418616f 100644
--- a/src/mainboard/google/brya/variants/yavilla/memory/mem_parts_used.txt
+++ b/src/mainboard/google/brya/variants/yavilla/memory/mem_parts_used.txt
@@ -9,3 +9,11 @@
# See util/spd_tools/README.md for more details and instructions.
# Part Name
+MT62F512M32D2DR-031 WT:B
+H9JCNNNBK3MLYR-N6E
+H58G56BK7BX068
+MT62F1G32D2DS-026 WT:B
+K3KL8L80CM-MGCT
+H58G66BK7BX067
+MT62F2G32D4DS-026 WT:B
+K3KL9L90CM-MGCT