summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2022-06-29 13:25:21 +0530
committerSubrata Banik <subratabanik@google.com>2022-07-01 07:24:34 +0000
commita26760c047f27dfd2719764821143eac73cbf0b9 (patch)
tree15fce27b7911bc57add5a22fc78d8be6313a6033
parent67219f73316f7b9f2bb91d195a6f95aa4e1f9e5d (diff)
mb/google/rex: Generate LP5 RAM ID
Add the support LP5 RAM parts for rex: DRAM Part Name ID to assign MT62F512M32D2DR-031 WT:B 0 (0000) BUG=b:224325352 TEST=emerge-rex coreboot Signed-off-by: Subrata Banik <subratabanik@google.com> Change-Id: Ibcd25ae80d625b623b9a78ff2cd4447e85831cc0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65476 Reviewed-by: Tarun Tuli <taruntuli@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/rex/variants/rex0/memory/Makefile.inc4
-rw-r--r--src/mainboard/google/rex/variants/rex0/memory/dram_id.generated.txt4
-rw-r--r--src/mainboard/google/rex/variants/rex0/memory/mem_parts_used.txt13
3 files changed, 18 insertions, 3 deletions
diff --git a/src/mainboard/google/rex/variants/rex0/memory/Makefile.inc b/src/mainboard/google/rex/variants/rex0/memory/Makefile.inc
index 001625655b..928e75160a 100644
--- a/src/mainboard/google/rex/variants/rex0/memory/Makefile.inc
+++ b/src/mainboard/google/rex/variants/rex0/memory/Makefile.inc
@@ -1,5 +1,7 @@
# 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 MTL lp5 src/mainboard/google/rex/variants/rex0/memory src/mainboard/google/rex/variants/rex0/memory/mem_parts_used.txt
SPD_SOURCES =
-SPD_SOURCES += spd/lp5/set-0/spd-empty.hex # ID = 0(0b0000)
+SPD_SOURCES += spd/lp5/set-0/spd-1.hex # ID = 0(0b0000) Parts = MT62F512M32D2DR-031 WT:B
diff --git a/src/mainboard/google/rex/variants/rex0/memory/dram_id.generated.txt b/src/mainboard/google/rex/variants/rex0/memory/dram_id.generated.txt
index ec320376f0..f6c5d668e8 100644
--- a/src/mainboard/google/rex/variants/rex0/memory/dram_id.generated.txt
+++ b/src/mainboard/google/rex/variants/rex0/memory/dram_id.generated.txt
@@ -1,5 +1,7 @@
# 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 MTL lp5 src/mainboard/google/rex/variants/rex0/memory src/mainboard/google/rex/variants/rex0/memory/mem_parts_used.txt
DRAM Part Name ID to assign
-empty 0 (0000)
+MT62F512M32D2DR-031 WT:B 0 (0000)
diff --git a/src/mainboard/google/rex/variants/rex0/memory/mem_parts_used.txt b/src/mainboard/google/rex/variants/rex0/memory/mem_parts_used.txt
index c6cac69265..d1e64f1750 100644
--- a/src/mainboard/google/rex/variants/rex0/memory/mem_parts_used.txt
+++ b/src/mainboard/google/rex/variants/rex0/memory/mem_parts_used.txt
@@ -1 +1,12 @@
-empty
+# 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
+MT62F512M32D2DR-031 WT:B