summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheng-Liang Pan <sheng-liang.pan@quanta.corp-partner.google.com>2023-05-03 17:08:27 +0800
committerEric Lai <eric_lai@quanta.corp-partner.google.com>2023-05-15 00:15:59 +0000
commitcbbdaf452469d974f005920aedeb121ca2fb316b (patch)
tree11a7c2209e22abe0cf6f4ca8952c23948e871ad2
parenta5353a9408c639e9e8f1cc21ec82643b327c48c6 (diff)
downloadcoreboot-cbbdaf452469d974f005920aedeb121ca2fb316b.tar.gz
mb/google/dedede/var/taranza: Generate SPD ID for supported parts
Add supported memory parts in the mem_parts_used.txt and generate the SPD ID for the parts. BUG=b:277664211 BRANCH=dedede TEST=build Signed-off-by: Sheng-Liang Pan <sheng-liang.pan@quanta.corp-partner.google.com> Change-Id: I6bbb67ccdd8ebc21719921d00320907f8dbb285f Reviewed-on: https://review.coreboot.org/c/coreboot/+/74933 Reviewed-by: Zhuohao Lee <zhuohao@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/dedede/variants/taranza/memory/Makefile.inc6
-rw-r--r--src/mainboard/google/dedede/variants/taranza/memory/dram_id.generated.txt6
-rw-r--r--src/mainboard/google/dedede/variants/taranza/memory/mem_parts_used.txt1
3 files changed, 11 insertions, 2 deletions
diff --git a/src/mainboard/google/dedede/variants/taranza/memory/Makefile.inc b/src/mainboard/google/dedede/variants/taranza/memory/Makefile.inc
index eace2e443e..43f513674a 100644
--- a/src/mainboard/google/dedede/variants/taranza/memory/Makefile.inc
+++ b/src/mainboard/google/dedede/variants/taranza/memory/Makefile.inc
@@ -1,5 +1,7 @@
# 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 JSL lp4x src/mainboard/google/dedede/variants/taranza/memory/ src/mainboard/google/dedede/variants/taranza/memory/mem_parts_used.txt
-SPD_SOURCES = placeholder
+SPD_SOURCES =
+SPD_SOURCES += spd/lp4x/set-1/spd-1.hex # ID = 0(0b0000) Parts = MT53E512M32D1NP-046 WT:B
diff --git a/src/mainboard/google/dedede/variants/taranza/memory/dram_id.generated.txt b/src/mainboard/google/dedede/variants/taranza/memory/dram_id.generated.txt
index fa247902ee..c3e8e42163 100644
--- a/src/mainboard/google/dedede/variants/taranza/memory/dram_id.generated.txt
+++ b/src/mainboard/google/dedede/variants/taranza/memory/dram_id.generated.txt
@@ -1 +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 JSL lp4x src/mainboard/google/dedede/variants/taranza/memory/ src/mainboard/google/dedede/variants/taranza/memory/mem_parts_used.txt
+
DRAM Part Name ID to assign
+MT53E512M32D1NP-046 WT:B 0 (0000)
diff --git a/src/mainboard/google/dedede/variants/taranza/memory/mem_parts_used.txt b/src/mainboard/google/dedede/variants/taranza/memory/mem_parts_used.txt
index 96211370d9..b85681b0fc 100644
--- a/src/mainboard/google/dedede/variants/taranza/memory/mem_parts_used.txt
+++ b/src/mainboard/google/dedede/variants/taranza/memory/mem_parts_used.txt
@@ -9,3 +9,4 @@
# See util/spd_tools/README.md for more details and instructions.
# Part Name
+MT53E512M32D1NP-046 WT:B