summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Wu <david_wu@quanta.corp-partner.google.com>2022-01-10 18:03:17 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-01-11 19:30:42 +0000
commitbaaee5fbfe9820f4f5a9f12b22964051d3d0fa58 (patch)
tree46ba410aacaa1d0b5b36029f0484799c8dd3a593 /src
parent206b0bc212f7072e879596729764eba566356c28 (diff)
mb/google/brya/var/volmar: Generate SPD ID for supported parts
Add supported memory parts in mem_parts_used.txt, and generate SPD id for these parts. MT53E512M32D1NP-046 WT:B (Micron) MT53E1G32D2NP-046 WT:B (Micron) H54G46CYRBX267 (Hynix) H54G56CYRBX247 (Hynix) K4U6E3S4AB-MGCL (Samsung) K4UBE3D4AB-MGCL (Samsung) BUG=none TEST=build pass Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com> Change-Id: Ic5b45ec83d0d7e0e1d16cb1afae501f06ee1f36a Reviewed-on: https://review.coreboot.org/c/coreboot/+/60962 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/variants/volmar/memory/Makefile.inc7
-rw-r--r--src/mainboard/google/brya/variants/volmar/memory/dram_id.generated.txt11
-rw-r--r--src/mainboard/google/brya/variants/volmar/memory/mem_parts_used.txt17
3 files changed, 22 insertions, 13 deletions
diff --git a/src/mainboard/google/brya/variants/volmar/memory/Makefile.inc b/src/mainboard/google/brya/variants/volmar/memory/Makefile.inc
index eace2e443e..e91dd92bd1 100644
--- a/src/mainboard/google/brya/variants/volmar/memory/Makefile.inc
+++ b/src/mainboard/google/brya/variants/volmar/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 lp4x src/mainboard/google/brya/variants/volmar/memory/ src/mainboard/google/brya/variants/volmar/memory/mem_parts_used.txt
-SPD_SOURCES = placeholder
+SPD_SOURCES =
+SPD_SOURCES += spd/lp4x/set-0/spd-1.hex # ID = 0(0b0000) Parts = MT53E512M32D1NP-046 WT:B, H54G46CYRBX267, K4U6E3S4AB-MGCL
+SPD_SOURCES += spd/lp4x/set-0/spd-3.hex # ID = 1(0b0001) Parts = MT53E1G32D2NP-046 WT:B, H54G56CYRBX247, K4UBE3D4AB-MGCL
diff --git a/src/mainboard/google/brya/variants/volmar/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/volmar/memory/dram_id.generated.txt
index fa247902ee..ca0069fc77 100644
--- a/src/mainboard/google/brya/variants/volmar/memory/dram_id.generated.txt
+++ b/src/mainboard/google/brya/variants/volmar/memory/dram_id.generated.txt
@@ -1 +1,12 @@
+# 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 lp4x src/mainboard/google/brya/variants/volmar/memory/ src/mainboard/google/brya/variants/volmar/memory/mem_parts_used.txt
+
DRAM Part Name ID to assign
+MT53E512M32D1NP-046 WT:B 0 (0000)
+MT53E1G32D2NP-046 WT:B 1 (0001)
+H54G46CYRBX267 0 (0000)
+H54G56CYRBX247 1 (0001)
+K4U6E3S4AB-MGCL 0 (0000)
+K4UBE3D4AB-MGCL 1 (0001)
diff --git a/src/mainboard/google/brya/variants/volmar/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/volmar/memory/mem_parts_used.txt
index 96211370d9..a188982f16 100644
--- a/src/mainboard/google/brya/variants/volmar/memory/mem_parts_used.txt
+++ b/src/mainboard/google/brya/variants/volmar/memory/mem_parts_used.txt
@@ -1,11 +1,6 @@
-# This is a CSV file containing a list of memory parts used by this variant.
-# One part per line with an optional fixed ID in column 2.
-# Only include a fixed ID if it is required for legacy reasons!
-# Generated IDs are dependent on the order of parts in this file,
-# so new parts must always be added at the end of the file!
-#
-# Generate an updated Makefile.inc and dram_id.generated.txt by running the
-# part_id_gen tool from util/spd_tools.
-# See util/spd_tools/README.md for more details and instructions.
-
-# Part Name
+MT53E512M32D1NP-046 WT:B
+MT53E1G32D2NP-046 WT:B
+H54G46CYRBX267
+H54G56CYRBX247
+K4U6E3S4AB-MGCL
+K4UBE3D4AB-MGCL