aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Feng <ian_feng@compal.corp-partner.google.com>2021-08-17 10:43:26 +0800
committerFelix Held <felix-coreboot@felixheld.de>2021-08-28 01:24:19 +0000
commitc375feecc5c4b328dad54a94d1143d6d019cfde0 (patch)
treee023df457438bc9e5308dbd358546e7038317dec
parentb26e613bede9d67fa4caf53f7e5dfc405db05c79 (diff)
mb/google/dedede/var/corori: Generate RAM ID and SPD file
Add the support RAM parts for Corori. Here is the ram part number list: DRAM Part Name ID to assign H9HCNNNBKMMLXR-NEE 0 (0000) K4U6E3S4AA-MGCR 0 (0000) lp4x-spd-1.hex # ID = 0(0b0000) Parts = H9HCNNNBKMMLXR-NEE, K4U6E3S4AA-MGCR BUG=b:196744958 BRANCH=keeby TEST=emerge-keeby coreboot Signed-off-by: Ian Feng <ian_feng@compal.corp-partner.google.com> Change-Id: Ia11b5db145deeea838a8f5949accdb11e13342f2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56988 Reviewed-by: Shou-Chieh Hsu <shouchieh@google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/dedede/variants/corori/memory/Makefile.inc4
-rw-r--r--src/mainboard/google/dedede/variants/corori/memory/dram_id.generated.txt2
-rw-r--r--src/mainboard/google/dedede/variants/corori/memory/mem_parts_used.txt13
3 files changed, 6 insertions, 13 deletions
diff --git a/src/mainboard/google/dedede/variants/corori/memory/Makefile.inc b/src/mainboard/google/dedede/variants/corori/memory/Makefile.inc
index b0ca2223a8..315f10fa77 100644
--- a/src/mainboard/google/dedede/variants/corori/memory/Makefile.inc
+++ b/src/mainboard/google/dedede/variants/corori/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, K4U6E3S4AA-MGCR
diff --git a/src/mainboard/google/dedede/variants/corori/memory/dram_id.generated.txt b/src/mainboard/google/dedede/variants/corori/memory/dram_id.generated.txt
index fa247902ee..d0b9209884 100644
--- a/src/mainboard/google/dedede/variants/corori/memory/dram_id.generated.txt
+++ b/src/mainboard/google/dedede/variants/corori/memory/dram_id.generated.txt
@@ -1 +1,3 @@
DRAM Part Name ID to assign
+H9HCNNNBKMMLXR-NEE 0 (0000)
+K4U6E3S4AA-MGCR 0 (0000)
diff --git a/src/mainboard/google/dedede/variants/corori/memory/mem_parts_used.txt b/src/mainboard/google/dedede/variants/corori/memory/mem_parts_used.txt
index e4258b530d..ae86d68a14 100644
--- a/src/mainboard/google/dedede/variants/corori/memory/mem_parts_used.txt
+++ b/src/mainboard/google/dedede/variants/corori/memory/mem_parts_used.txt
@@ -1,11 +1,2 @@
-# 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
+K4U6E3S4AA-MGCR