summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTyler Wang <tyler.wang@quanta.corp-partner.google.com>2022-04-18 17:53:43 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-04-27 12:28:38 +0000
commit9f4ddc35d47050653a3083a2d506f5520bac76bd (patch)
tree467097c460af4bd13b6edc3ea30e041e88cb4061 /src
parentab638c17e2178308e6aa497edcee8067ac798730 (diff)
mb/google/brya/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. MT62F1G32D4DR-031 WT:B MT62F512M32D2DR-031 WT:B BUG=b:229938024 TEST=emerge-nissa coreboot Signed-off-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com> Change-Id: I183b74e66786c378cc227ee1e53ea422986b672a Reviewed-on: https://review.coreboot.org/c/coreboot/+/63738 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Ren Kuo <ren.kuo@quanta.corp-partner.google.com> Reviewed-by: Kangheui Won <khwon@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/variants/craask/memory/Makefile.inc7
-rw-r--r--src/mainboard/google/brya/variants/craask/memory/dram_id.generated.txt7
-rw-r--r--src/mainboard/google/brya/variants/craask/memory/mem_parts_used.txt2
3 files changed, 14 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 eace2e443e..d03182f046 100644
--- a/src/mainboard/google/brya/variants/craask/memory/Makefile.inc
+++ b/src/mainboard/google/brya/variants/craask/memory/Makefile.inc
@@ -1,5 +1,8 @@
# 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/craask/memory/ src/mainboard/google/brya/variants/craask/memory/mem_parts_used.txt
-SPD_SOURCES = placeholder
+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
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 fa247902ee..fae8e30535 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 +1,8 @@
+# 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
+
DRAM Part Name ID to assign
+MT62F1G32D4DR-031 WT:B 0 (0000)
+MT62F512M32D2DR-031 WT:B 1 (0001)
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 96211370d9..3769843357 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
@@ -9,3 +9,5 @@
# See util/spd_tools/README.md for more details and instructions.
# Part Name
+MT62F1G32D4DR-031 WT:B
+MT62F512M32D2DR-031 WT:B