summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Chiu <kevin.chiu.17802@gmail.com>2021-11-14 22:51:08 +0800
committerTim Wawrzynczak <twawrzynczak@chromium.org>2021-11-16 02:52:22 +0000
commit2ec91a37bcced48b5cbd7bf349dec38df0c3a58b (patch)
tree599d331eabb625f626769b580daaceaa551dab6d /src
parentda0c4f42f608a94014ccf51df5b04a6a86e4315f (diff)
mb/google/brya/var/vell: Generate LP5 RAM ID
Add the support LP5 RAM parts for vell: DRAM Part Name ID to assign MT62F512M32D2DR-031 WT:B 0 (0000) MT62F1G32D4DR-031 WT:B 1 (0001) BUG=b:204284866 TEST=emerge-brya coreboot Change-Id: I49745948ebdb25fd98e285defd75714f80271968 Signed-off-by: Kevin Chiu <Kevin.Chiu@quantatw.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/59288 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Reka Norman <rekanorman@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/variants/vell/memory/Makefile.inc11
-rw-r--r--src/mainboard/google/brya/variants/vell/memory/dram_id.generated.txt7
-rw-r--r--src/mainboard/google/brya/variants/vell/memory/mem_parts_used.txt2
3 files changed, 16 insertions, 4 deletions
diff --git a/src/mainboard/google/brya/variants/vell/memory/Makefile.inc b/src/mainboard/google/brya/variants/vell/memory/Makefile.inc
index 6751a4283f..8288400b79 100644
--- a/src/mainboard/google/brya/variants/vell/memory/Makefile.inc
+++ b/src/mainboard/google/brya/variants/vell/memory/Makefile.inc
@@ -1,5 +1,8 @@
-## 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.
+# SPDX-License-Identifier: GPL-2.0-or-later
+# This is an auto-generated file. Do not edit!!
+# Generated by:
+# ./util/spd_tools/bin/part_id_gen ADL lp5 src/mainboard/google/brya/variants/vell/memory src/mainboard/google/brya/variants/vell/memory/mem_parts_used.txt
-SPD_SOURCES = placeholder
+SPD_SOURCES =
+SPD_SOURCES += spd/lp5/set-0/spd-1.hex # ID = 0(0b0000) Parts = MT62F512M32D2DR-031 WT:B
+SPD_SOURCES += spd/lp5/set-0/spd-2.hex # ID = 1(0b0001) Parts = MT62F1G32D4DR-031 WT:B
diff --git a/src/mainboard/google/brya/variants/vell/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/vell/memory/dram_id.generated.txt
index fa247902ee..f029f6b6aa 100644
--- a/src/mainboard/google/brya/variants/vell/memory/dram_id.generated.txt
+++ b/src/mainboard/google/brya/variants/vell/memory/dram_id.generated.txt
@@ -1 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# This is an auto-generated file. Do not edit!!
+# Generated by:
+# ./util/spd_tools/bin/part_id_gen ADL lp5 src/mainboard/google/brya/variants/vell/memory src/mainboard/google/brya/variants/vell/memory/mem_parts_used.txt
+
DRAM Part Name ID to assign
+MT62F512M32D2DR-031 WT:B 0 (0000)
+MT62F1G32D4DR-031 WT:B 1 (0001)
diff --git a/src/mainboard/google/brya/variants/vell/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/vell/memory/mem_parts_used.txt
index 96211370d9..3baf5d427f 100644
--- a/src/mainboard/google/brya/variants/vell/memory/mem_parts_used.txt
+++ b/src/mainboard/google/brya/variants/vell/memory/mem_parts_used.txt
@@ -9,3 +9,5 @@
# See util/spd_tools/README.md for more details and instructions.
# Part Name
+MT62F512M32D2DR-031 WT:B
+MT62F1G32D4DR-031 WT:B