summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchenzanxi <chenzanxi@huaqin.corp-partner.google.com>2021-01-25 20:04:30 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-01-27 10:25:16 +0000
commit6dc6ee6e72bb302740ea50782981f17635dbf6e5 (patch)
tree24574cf394077ff8f2029ae61224ef2cfbb793e5
parent4abc73183134def757c553aa4eb195fffa824100 (diff)
mb/google/dedede/var/sasukette: Generate SPD ID for supported memory parts
Add supported memory parts in the mem_parts_used.txt and generate the SPD ID for the memory parts. The memory parts being added are: K4U6E3S4AA-MGCR BUG=None TEST=Build the sasukette board. Change-Id: I57c9d22ae655032120f19add98ef454853428af5 Signed-off-by: chenzanxi <chenzanxi@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49900 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
-rw-r--r--src/mainboard/google/dedede/variants/sasukette/memory/Makefile.inc4
-rw-r--r--src/mainboard/google/dedede/variants/sasukette/memory/dram_id.generated.txt1
-rw-r--r--src/mainboard/google/dedede/variants/sasukette/memory/mem_parts_used.txt7
3 files changed, 4 insertions, 8 deletions
diff --git a/src/mainboard/google/dedede/variants/sasukette/memory/Makefile.inc b/src/mainboard/google/dedede/variants/sasukette/memory/Makefile.inc
index b0ca2223a8..1d39fbc6b4 100644
--- a/src/mainboard/google/dedede/variants/sasukette/memory/Makefile.inc
+++ b/src/mainboard/google/dedede/variants/sasukette/memory/Makefile.inc
@@ -1,5 +1,5 @@
## 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.
-SPD_SOURCES = placeholder.spd.hex
+SPD_SOURCES =
+SPD_SOURCES += lp4x-spd-1.hex # ID = 0(0b0000) Parts = K4U6E3S4AA-MGCR
diff --git a/src/mainboard/google/dedede/variants/sasukette/memory/dram_id.generated.txt b/src/mainboard/google/dedede/variants/sasukette/memory/dram_id.generated.txt
index fa247902ee..da0441c353 100644
--- a/src/mainboard/google/dedede/variants/sasukette/memory/dram_id.generated.txt
+++ b/src/mainboard/google/dedede/variants/sasukette/memory/dram_id.generated.txt
@@ -1 +1,2 @@
DRAM Part Name ID to assign
+K4U6E3S4AA-MGCR 0 (0000)
diff --git a/src/mainboard/google/dedede/variants/sasukette/memory/mem_parts_used.txt b/src/mainboard/google/dedede/variants/sasukette/memory/mem_parts_used.txt
index 59381dcf5b..e916160610 100644
--- a/src/mainboard/google/dedede/variants/sasukette/memory/mem_parts_used.txt
+++ b/src/mainboard/google/dedede/variants/sasukette/memory/mem_parts_used.txt
@@ -1,6 +1 @@
-# This is a CSV file containing a list of memory parts used by this variant.
-# Generate an updated Makefile.inc and dram_id.generated.txt by running the
-# gen_part_id tool from util/spd_tools/lp4x
-# See util/spd_tools/lp4x/README.md for more details and instructions.
-
-# Part Name
+K4U6E3S4AA-MGCR