summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Wu <david_wu@quanta.corp-partner.google.com>2020-11-04 17:36:36 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-11-09 07:35:16 +0000
commita944b547dcec1bb52cd8e04c6a6286bc3ec902cb (patch)
treeb8d7a7d80b2ecae57d040391efdd7cbfad8e1360
parente0c60f3d39182a1105aa9e39683abdbc2e600162 (diff)
downloadcoreboot-a944b547dcec1bb52cd8e04c6a6286bc3ec902cb.tar.xz
mb/google/volteer/var/voema: Add memory parts and generate DRAM IDs
This change adds memory parts used by variant voema to mem_parts_used.txt and generates DRAM IDs allocated to these parts. Added memory 1. MT53E512M64D4NW-046 WT:E 2. MT53E1G64D8NW-046 WT:E BUG=b:171755775 TEST=emerge-volteer coreboot chromeos-bootimage Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com> Change-Id: I24d466f92a7e0fa3ab2f6241f0b5af025c53ed98 Reviewed-on: https://review.coreboot.org/c/coreboot/+/47228 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Caveh Jalali <caveh@chromium.org>
-rw-r--r--src/mainboard/google/volteer/variants/voema/memory/Makefile.inc5
-rw-r--r--src/mainboard/google/volteer/variants/voema/memory/dram_id.generated.txt2
-rw-r--r--src/mainboard/google/volteer/variants/voema/memory/mem_parts_used.txt6
3 files changed, 7 insertions, 6 deletions
diff --git a/src/mainboard/google/volteer/variants/voema/memory/Makefile.inc b/src/mainboard/google/volteer/variants/voema/memory/Makefile.inc
index b0ca2223a8..3c8ea4876f 100644
--- a/src/mainboard/google/volteer/variants/voema/memory/Makefile.inc
+++ b/src/mainboard/google/volteer/variants/voema/memory/Makefile.inc
@@ -1,5 +1,6 @@
## 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 = MT53E512M64D4NW-046 WT:E
+SPD_SOURCES += lp4x-spd-3.hex # ID = 1(0b0001) Parts = MT53E1G64D8NW-046 WT:E
diff --git a/src/mainboard/google/volteer/variants/voema/memory/dram_id.generated.txt b/src/mainboard/google/volteer/variants/voema/memory/dram_id.generated.txt
index fa247902ee..02e7443467 100644
--- a/src/mainboard/google/volteer/variants/voema/memory/dram_id.generated.txt
+++ b/src/mainboard/google/volteer/variants/voema/memory/dram_id.generated.txt
@@ -1 +1,3 @@
DRAM Part Name ID to assign
+MT53E512M64D4NW-046 WT:E 0 (0000)
+MT53E1G64D8NW-046 WT:E 1 (0001)
diff --git a/src/mainboard/google/volteer/variants/voema/memory/mem_parts_used.txt b/src/mainboard/google/volteer/variants/voema/memory/mem_parts_used.txt
index f51b3af398..b74da4a5f0 100644
--- a/src/mainboard/google/volteer/variants/voema/memory/mem_parts_used.txt
+++ b/src/mainboard/google/volteer/variants/voema/memory/mem_parts_used.txt
@@ -1,4 +1,2 @@
-# 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/ddr4 or util/spd_tools/lp4x
-# See util/spd_tools/{ddr4,lp4x}/README.md for more details and instructions.
+MT53E512M64D4NW-046 WT:E
+MT53E1G64D8NW-046 WT:E