summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalik_Hsu <malik_hsu@wistron.corp-partner.google.com>2021-06-22 15:26:03 +0800
committerTim Wawrzynczak <twawrzynczak@chromium.org>2021-06-25 15:03:14 +0000
commitb8bba6519ee0411010eaadc0589144d4fea4c67b (patch)
tree9ba6e346025dc8a94989be8c3efa18614fbd1076
parent36572cade47a0e03aa379d7505958253c90ddb44 (diff)
mb/google/brya/variants/primus: add dram part id
This change adds mem_parts_uesd.txt that contains the only memory parts used by primus for Proto build and Makefile.inc generated by gen_part_id.go using mem_parts_used.txt. BUG=b:186091208,b:189169995 Signed-off-by: Malik_Hsu <malik_hsu@wistron.corp-partner.google.com> Change-Id: I423fd9ad4349c51c6e6b166734ae706509d6ac3e Reviewed-on: https://review.coreboot.org/c/coreboot/+/55748 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
-rw-r--r--src/mainboard/google/brya/variants/primus/memory/Makefile.inc6
-rw-r--r--src/mainboard/google/brya/variants/primus/memory/dram_id.generated.txt4
-rw-r--r--src/mainboard/google/brya/variants/primus/memory/mem_parts_used.txt15
3 files changed, 12 insertions, 13 deletions
diff --git a/src/mainboard/google/brya/variants/primus/memory/Makefile.inc b/src/mainboard/google/brya/variants/primus/memory/Makefile.inc
index b0ca2223a8..34944e3b3b 100644
--- a/src/mainboard/google/brya/variants/primus/memory/Makefile.inc
+++ b/src/mainboard/google/brya/variants/primus/memory/Makefile.inc
@@ -1,5 +1,7 @@
## 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
+SPD_SOURCES += lp4x-spd-2.hex # ID = 1(0b0001) Parts = H9HCNNNFAMMLXR-NEE
+SPD_SOURCES += lp4x-spd-3.hex # ID = 2(0b0010) Parts = H9HCNNNCPMMLXR-NEE
diff --git a/src/mainboard/google/brya/variants/primus/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/primus/memory/dram_id.generated.txt
index fa247902ee..2166331ba0 100644
--- a/src/mainboard/google/brya/variants/primus/memory/dram_id.generated.txt
+++ b/src/mainboard/google/brya/variants/primus/memory/dram_id.generated.txt
@@ -1 +1,5 @@
DRAM Part Name ID to assign
+H9HCNNNBKMMLXR-NEE 0 (0000)
+H9HCNNNFAMMLXR-NEE 1 (0001)
+H9HCNNNCPMMLXR-NEE 2 (0010)
+K4U6E3S4AA-MGCR 0 (0000)
diff --git a/src/mainboard/google/brya/variants/primus/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/primus/memory/mem_parts_used.txt
index 9cff262f6d..95bc596e30 100644
--- a/src/mainboard/google/brya/variants/primus/memory/mem_parts_used.txt
+++ b/src/mainboard/google/brya/variants/primus/memory/mem_parts_used.txt
@@ -1,11 +1,4 @@
-# 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
+H9HCNNNBKMMLXR-NEE
+H9HCNNNFAMMLXR-NEE
+H9HCNNNCPMMLXR-NEE
+K4U6E3S4AA-MGCR