summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya
diff options
context:
space:
mode:
authorDavid Wu <david_wu@quanta.corp-partner.google.com>2021-07-27 10:33:04 +0800
committerTim Wawrzynczak <twawrzynczak@chromium.org>2021-07-28 22:54:27 +0000
commit340cb9ae2cc08f75fce14ba169103f719051635b (patch)
treee90e809ec0e5025cdd1cb6e36dabd3b36a6e95a4 /src/mainboard/google/brya
parentfc009cb31ad3a334ec0860b183eb07e37a979367 (diff)
mb/google/brya/var/kano: Generate SPD ID for supported parts
Add supported memory parts in mem_parts_used.txt, and generate SPD id for these parts. MT53E512M32D1NP-046 WT:B MT53E1G32D2NP-046 WT:B H54G46CYRBX267 H54G56CYRBX247 K4U6E3S4AB-MGCL K4UBE3D4AB-MGCL BUG=b:194766276 b:194686484 b:194765811 TEST=build Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com> Change-Id: Iba019c50224be8322865eee7baf81e3a574ff9a4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56630 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r--src/mainboard/google/brya/variants/kano/memory/Makefile.inc5
-rw-r--r--src/mainboard/google/brya/variants/kano/memory/dram_id.generated.txt6
-rw-r--r--src/mainboard/google/brya/variants/kano/memory/mem_parts_used.txt17
3 files changed, 15 insertions, 13 deletions
diff --git a/src/mainboard/google/brya/variants/kano/memory/Makefile.inc b/src/mainboard/google/brya/variants/kano/memory/Makefile.inc
index b0ca2223a8..a81fb3bfe3 100644
--- a/src/mainboard/google/brya/variants/kano/memory/Makefile.inc
+++ b/src/mainboard/google/brya/variants/kano/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 = MT53E512M32D1NP-046 WT:B, H54G46CYRBX267, K4U6E3S4AB-MGCL
+SPD_SOURCES += lp4x-spd-3.hex # ID = 1(0b0001) Parts = MT53E1G32D2NP-046 WT:B, H54G56CYRBX247, K4UBE3D4AB-MGCL
diff --git a/src/mainboard/google/brya/variants/kano/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/kano/memory/dram_id.generated.txt
index fa247902ee..ed9007d592 100644
--- a/src/mainboard/google/brya/variants/kano/memory/dram_id.generated.txt
+++ b/src/mainboard/google/brya/variants/kano/memory/dram_id.generated.txt
@@ -1 +1,7 @@
DRAM Part Name ID to assign
+MT53E512M32D1NP-046 WT:B 0 (0000)
+MT53E1G32D2NP-046 WT:B 1 (0001)
+H54G46CYRBX267 0 (0000)
+H54G56CYRBX247 1 (0001)
+K4U6E3S4AB-MGCL 0 (0000)
+K4UBE3D4AB-MGCL 1 (0001)
diff --git a/src/mainboard/google/brya/variants/kano/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/kano/memory/mem_parts_used.txt
index 9cff262f6d..a188982f16 100644
--- a/src/mainboard/google/brya/variants/kano/memory/mem_parts_used.txt
+++ b/src/mainboard/google/brya/variants/kano/memory/mem_parts_used.txt
@@ -1,11 +1,6 @@
-# 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/lp4x.
-# See util/spd_tools/lp4x/README.md for more details and instructions.
-
-# Part Name
+MT53E512M32D1NP-046 WT:B
+MT53E1G32D2NP-046 WT:B
+H54G46CYRBX267
+H54G56CYRBX247
+K4U6E3S4AB-MGCL
+K4UBE3D4AB-MGCL