summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiam Flaherty <liamflaherty@chromium.org>2023-01-06 14:11:27 +1100
committerFelix Held <felix-coreboot@felixheld.de>2023-01-10 14:40:37 +0000
commit21c3c44ef55d5ed3b69ea34fb2c8ee7541fde253 (patch)
tree28475017318add6c5b8b4f31a6996bf80c70fb34
parente7bdc5fb8f7799e7b6f4396f3dcab63ecdfaa457 (diff)
mb/google/dedede/var/dibbi: 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:260934724, b:255447299 BRANCH=dedede TEST=build Change-Id: I8c95ced79e14bb4a99aa1fa5f4fc3bc0681cc1cc Signed-off-by: Liam Flaherty <liamflaherty@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71710 Reviewed-by: Adam Mills <adamjmills@google.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Sam McNally <sammc@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/dedede/variants/dibbi/memory/Makefile.inc6
-rw-r--r--src/mainboard/google/dedede/variants/dibbi/memory/dram_id.generated.txt6
-rw-r--r--src/mainboard/google/dedede/variants/dibbi/memory/mem_parts_used.txt1
3 files changed, 11 insertions, 2 deletions
diff --git a/src/mainboard/google/dedede/variants/dibbi/memory/Makefile.inc b/src/mainboard/google/dedede/variants/dibbi/memory/Makefile.inc
index eace2e443e..e354c9dcf4 100644
--- a/src/mainboard/google/dedede/variants/dibbi/memory/Makefile.inc
+++ b/src/mainboard/google/dedede/variants/dibbi/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/dibbi/memory ./src/mainboard/google/dedede/variants/dibbi/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/dibbi/memory/dram_id.generated.txt b/src/mainboard/google/dedede/variants/dibbi/memory/dram_id.generated.txt
index fa247902ee..8f91664ef2 100644
--- a/src/mainboard/google/dedede/variants/dibbi/memory/dram_id.generated.txt
+++ b/src/mainboard/google/dedede/variants/dibbi/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/dibbi/memory ./src/mainboard/google/dedede/variants/dibbi/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/dibbi/memory/mem_parts_used.txt b/src/mainboard/google/dedede/variants/dibbi/memory/mem_parts_used.txt
index 96211370d9..b85681b0fc 100644
--- a/src/mainboard/google/dedede/variants/dibbi/memory/mem_parts_used.txt
+++ b/src/mainboard/google/dedede/variants/dibbi/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