summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeunghwan Kim <sh_.kim@samsung.corp-partner.google.com>2020-12-08 17:29:50 +0900
committerHung-Te Lin <hungte@chromium.org>2020-12-16 06:30:18 +0000
commit447db3a8a9f527d1e8b87c52b9046c0bab8934cc (patch)
tree7f7e18451007770a4f17358818cb7c1ce57ad1c5
parent04de09986bb02b3d5b9aece996710112194c2ff3 (diff)
mb/google/dedede/var/sasuke: Add memory part and generate DRAM ID
This change adds memory part used by variant sasuke to mem_part_used.txt and generates DRAM ID allocated to the part. BUG=b:172104731 Change-Id: Ie8d66261cb5b4493afb1c677839f807bca994af5 Signed-off-by: Seunghwan Kim <sh_.kim@samsung.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48451 Reviewed-by: Raymond Chung <raymondchung@ami.corp-partner.google.com> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/dedede/variants/sasuke/memory/Makefile.inc4
-rw-r--r--src/mainboard/google/dedede/variants/sasuke/memory/dram_id.generated.txt1
-rw-r--r--src/mainboard/google/dedede/variants/sasuke/memory/mem_parts_used.txt7
3 files changed, 4 insertions, 8 deletions
diff --git a/src/mainboard/google/dedede/variants/sasuke/memory/Makefile.inc b/src/mainboard/google/dedede/variants/sasuke/memory/Makefile.inc
index b0ca2223a8..1d39fbc6b4 100644
--- a/src/mainboard/google/dedede/variants/sasuke/memory/Makefile.inc
+++ b/src/mainboard/google/dedede/variants/sasuke/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/sasuke/memory/dram_id.generated.txt b/src/mainboard/google/dedede/variants/sasuke/memory/dram_id.generated.txt
index fa247902ee..da0441c353 100644
--- a/src/mainboard/google/dedede/variants/sasuke/memory/dram_id.generated.txt
+++ b/src/mainboard/google/dedede/variants/sasuke/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/sasuke/memory/mem_parts_used.txt b/src/mainboard/google/dedede/variants/sasuke/memory/mem_parts_used.txt
index 59381dcf5b..e916160610 100644
--- a/src/mainboard/google/dedede/variants/sasuke/memory/mem_parts_used.txt
+++ b/src/mainboard/google/dedede/variants/sasuke/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