summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDtrain Hsu <dtrain_hsu@compal.corp-partner.google.com>2021-03-18 11:14:20 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-03-25 07:49:36 +0000
commitaacfa24457f730f016304f4065e8f6ea5639b38a (patch)
treedbe82c6f7a2191264695922d9704a8abdc8b5d7a /src
parent57c013eb11b1c918079eb0e87bf4c23db85bc13c (diff)
downloadcoreboot-aacfa24457f730f016304f4065e8f6ea5639b38a.tar.xz
mb/google/dedede/var/cret: Generate SPD ID for supported parts
Add supported memory parts in the mem_parts_used.txt and generate the SPD ID for the parts. The memory parts being added are: 1. H9HCNNNBKMMLXR-NEE 2. MT53E512M32D2NP-046 WT:F 3. K4U6E3S4AA-MGCR BUG=b:183057749 BRANCH=dedede TEST=Build the cret board. Signed-off-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com> Change-Id: Iacfdd9a27f126ba4b97d1a6493bcc09bb31454a5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51619 Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/dedede/variants/cret/memory/Makefile.inc4
-rw-r--r--src/mainboard/google/dedede/variants/cret/memory/dram_id.generated.txt3
-rw-r--r--src/mainboard/google/dedede/variants/cret/memory/mem_parts_used.txt14
3 files changed, 8 insertions, 13 deletions
diff --git a/src/mainboard/google/dedede/variants/cret/memory/Makefile.inc b/src/mainboard/google/dedede/variants/cret/memory/Makefile.inc
index b0ca2223a8..9e76c34369 100644
--- a/src/mainboard/google/dedede/variants/cret/memory/Makefile.inc
+++ b/src/mainboard/google/dedede/variants/cret/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 = H9HCNNNBKMMLXR-NEE, MT53E512M32D2NP-046 WT:F, K4U6E3S4AA-MGCR
diff --git a/src/mainboard/google/dedede/variants/cret/memory/dram_id.generated.txt b/src/mainboard/google/dedede/variants/cret/memory/dram_id.generated.txt
index fa247902ee..0e73e09870 100644
--- a/src/mainboard/google/dedede/variants/cret/memory/dram_id.generated.txt
+++ b/src/mainboard/google/dedede/variants/cret/memory/dram_id.generated.txt
@@ -1 +1,4 @@
DRAM Part Name ID to assign
+H9HCNNNBKMMLXR-NEE 0 (0000)
+MT53E512M32D2NP-046 WT:F 0 (0000)
+K4U6E3S4AA-MGCR 0 (0000)
diff --git a/src/mainboard/google/dedede/variants/cret/memory/mem_parts_used.txt b/src/mainboard/google/dedede/variants/cret/memory/mem_parts_used.txt
index e4258b530d..8462771950 100644
--- a/src/mainboard/google/dedede/variants/cret/memory/mem_parts_used.txt
+++ b/src/mainboard/google/dedede/variants/cret/memory/mem_parts_used.txt
@@ -1,11 +1,3 @@
-# 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
-# gen_part_id tool from util/spd_tools/{ddr4,lp4x}.
-# See util/spd_tools/{ddr4,lp4x}/README.md for more details and instructions.
-
-# Part Name
+H9HCNNNBKMMLXR-NEE
+MT53E512M32D2NP-046 WT:F
+K4U6E3S4AA-MGCR