summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Wang <tyler.wang@quanta.corp-partner.google.com>2022-05-26 13:38:14 +0800
committerPaul Fagerburg <pfagerburg@chromium.org>2022-05-31 13:45:19 +0000
commitc71fa97038c995ec844a9b97079250fd7f483f47 (patch)
tree1b88050bbc90082986aa3eacca7eda2f4c624643
parentdf03dec7f5345ddcd9cc491e4a8d8856677af6dd (diff)
mb/google/nissa/var/craask: Generate SPD ID for supported memory part
Add supported memory parts in mem_parts_used.txt, and generate SPD id for this part. K3LKLKL0EM-MGCN BUG=b:229938024 TEST=emerge-nissa coreboot Signed-off-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com> Change-Id: Ie022dd95929549ddd403d4c1d1c52174fd3fd721 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64678 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Reka Norman <rekanorman@chromium.org>
-rw-r--r--src/mainboard/google/brya/variants/craask/memory/Makefile.inc3
-rw-r--r--src/mainboard/google/brya/variants/craask/memory/dram_id.generated.txt3
-rw-r--r--src/mainboard/google/brya/variants/craask/memory/mem_parts_used.txt1
3 files changed, 5 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/craask/memory/Makefile.inc b/src/mainboard/google/brya/variants/craask/memory/Makefile.inc
index 420033ec95..ce6db2379f 100644
--- a/src/mainboard/google/brya/variants/craask/memory/Makefile.inc
+++ b/src/mainboard/google/brya/variants/craask/memory/Makefile.inc
@@ -1,8 +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/craask/memory/ src/mainboard/google/brya/variants/craask/memory/mem_parts_used.txt
+# util/spd_tools/bin/part_id_gen ADL lp5 src/mainboard/google/brya/variants/craask/memory src/mainboard/google/brya/variants/craask/memory/mem_parts_used.txt
SPD_SOURCES =
SPD_SOURCES += spd/lp5/set-0/spd-2.hex # ID = 0(0b0000) Parts = MT62F1G32D4DR-031 WT:B
SPD_SOURCES += spd/lp5/set-0/spd-1.hex # ID = 1(0b0001) Parts = MT62F512M32D2DR-031 WT:B, H9JCNNNBK3MLYR-N6E
+SPD_SOURCES += spd/lp5/set-0/spd-5.hex # ID = 2(0b0010) Parts = K3LKLKL0EM-MGCN
diff --git a/src/mainboard/google/brya/variants/craask/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/craask/memory/dram_id.generated.txt
index f57d378649..ecce170d95 100644
--- a/src/mainboard/google/brya/variants/craask/memory/dram_id.generated.txt
+++ b/src/mainboard/google/brya/variants/craask/memory/dram_id.generated.txt
@@ -1,9 +1,10 @@
# 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/craask/memory/ src/mainboard/google/brya/variants/craask/memory/mem_parts_used.txt
+# util/spd_tools/bin/part_id_gen ADL lp5 src/mainboard/google/brya/variants/craask/memory src/mainboard/google/brya/variants/craask/memory/mem_parts_used.txt
DRAM Part Name ID to assign
MT62F1G32D4DR-031 WT:B 0 (0000)
MT62F512M32D2DR-031 WT:B 1 (0001)
H9JCNNNBK3MLYR-N6E 1 (0001)
+K3LKLKL0EM-MGCN 2 (0010)
diff --git a/src/mainboard/google/brya/variants/craask/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/craask/memory/mem_parts_used.txt
index 34e4862ad6..58c69966f2 100644
--- a/src/mainboard/google/brya/variants/craask/memory/mem_parts_used.txt
+++ b/src/mainboard/google/brya/variants/craask/memory/mem_parts_used.txt
@@ -12,3 +12,4 @@
MT62F1G32D4DR-031 WT:B
MT62F512M32D2DR-031 WT:B
H9JCNNNBK3MLYR-N6E
+K3LKLKL0EM-MGCN