summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorWisley Chen <wisley.chen@quanta.corp-partner.google.com>2022-08-12 17:09:05 +0600
committerTim Wawrzynczak <twawrzynczak@chromium.org>2022-08-17 19:47:25 +0000
commitacb4d72fff2f67e182d8fb0354fa269d26800b76 (patch)
tree2505aae77198c4bbe699841bbcf171f4dcfecceb /src/mainboard/google
parentd53c4784de6dbc536186491debd044414e13aad2 (diff)
mb/google/nissa/var/yaviks: 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) MT62F1G32D4DR-031 WT:B 1 (0001) H9JCNNNBK3MLYR-N6E 0 (0000) H58G56AK6BX069 2 (0010) K3LKBKB0BM-MGCP 2 (0010) BUG=b:242277219 BRANCH=None TEST=run part_id_gen to generate SPD id Change-Id: I46c168482113beb7cd28f387ed495847aba8602f Signed-off-by: Wisley Chen <wisley.chen@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/66682 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Reka Norman <rekanorman@chromium.org> Reviewed-by: Kangheui Won <khwon@chromium.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/brya/variants/yaviks/memory/Makefile.inc8
-rw-r--r--src/mainboard/google/brya/variants/yaviks/memory/dram_id.generated.txt10
-rw-r--r--src/mainboard/google/brya/variants/yaviks/memory/mem_parts_used.txt5
3 files changed, 21 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/yaviks/memory/Makefile.inc b/src/mainboard/google/brya/variants/yaviks/memory/Makefile.inc
index eace2e443e..8642ad75a1 100644
--- a/src/mainboard/google/brya/variants/yaviks/memory/Makefile.inc
+++ b/src/mainboard/google/brya/variants/yaviks/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/yaviks/memory/ src/mainboard/google/brya/variants/yaviks/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-2.hex # ID = 1(0b0001) Parts = MT62F1G32D4DR-031 WT:B
+SPD_SOURCES += spd/lp5/set-0/spd-3.hex # ID = 2(0b0010) Parts = H58G56AK6BX069, K3LKBKB0BM-MGCP
diff --git a/src/mainboard/google/brya/variants/yaviks/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/yaviks/memory/dram_id.generated.txt
index fa247902ee..771d76721e 100644
--- a/src/mainboard/google/brya/variants/yaviks/memory/dram_id.generated.txt
+++ b/src/mainboard/google/brya/variants/yaviks/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/yaviks/memory/ src/mainboard/google/brya/variants/yaviks/memory/mem_parts_used.txt
+
DRAM Part Name ID to assign
+MT62F512M32D2DR-031 WT:B 0 (0000)
+MT62F1G32D4DR-031 WT:B 1 (0001)
+H9JCNNNBK3MLYR-N6E 0 (0000)
+H58G56AK6BX069 2 (0010)
+K3LKBKB0BM-MGCP 2 (0010)
diff --git a/src/mainboard/google/brya/variants/yaviks/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/yaviks/memory/mem_parts_used.txt
index 96211370d9..295187615d 100644
--- a/src/mainboard/google/brya/variants/yaviks/memory/mem_parts_used.txt
+++ b/src/mainboard/google/brya/variants/yaviks/memory/mem_parts_used.txt
@@ -9,3 +9,8 @@
# See util/spd_tools/README.md for more details and instructions.
# Part Name
+MT62F512M32D2DR-031 WT:B
+MT62F1G32D4DR-031 WT:B
+H9JCNNNBK3MLYR-N6E
+H58G56AK6BX069
+K3LKBKB0BM-MGCP