summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorKun Liu <liukun11@huaqin.corp-partner.google.com>2024-06-11 15:51:18 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-06-12 14:57:08 +0000
commit48a7246becc58a3bdcd1b8b1795cea6538d65b11 (patch)
tree424e65a383d87dbf574bd5667aa5014e1c22ecfa /src/mainboard
parent95332df9d3d1aae88a6007b261e3dfc59aeba9c9 (diff)
mb/google/brox: Generate RAM IDs
Generate RAM IDs for K3KL6L60GM-MGCT H9JCNNNBK3MLYR-N6E K3KL8L80DM-MGCU MT62F1G32D2DS-023 WT:C H58G56BK8BX068 BUG=b:333494257 BRANCH=None TEST=Run part_id_gen tool without any errors Change-Id: I7a240a263816193b9f3d418385c1673e9d3f89db Signed-off-by: Kun Liu <liukun11@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83040 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Jian Tong <tongjian@huaqin.corp-partner.google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/brox/variants/lotso/memory/Makefile.mk8
-rw-r--r--src/mainboard/google/brox/variants/lotso/memory/dram_id.generated.txt10
-rw-r--r--src/mainboard/google/brox/variants/lotso/memory/mem_parts_used.txt5
3 files changed, 21 insertions, 2 deletions
diff --git a/src/mainboard/google/brox/variants/lotso/memory/Makefile.mk b/src/mainboard/google/brox/variants/lotso/memory/Makefile.mk
index eace2e443e..2616d2d015 100644
--- a/src/mainboard/google/brox/variants/lotso/memory/Makefile.mk
+++ b/src/mainboard/google/brox/variants/lotso/memory/Makefile.mk
@@ -1,5 +1,9 @@
# 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.
+# Generated by:
+# ./util/spd_tools/bin/part_id_gen ADL lp5 src/mainboard/google/brox/variants/lotso/memory src/mainboard/google/brox/variants/lotso/memory/mem_parts_used.txt
-SPD_SOURCES = placeholder
+SPD_SOURCES =
+SPD_SOURCES += spd/lp5/set-0/spd-9.hex # ID = 0(0b0000) Parts = K3KL6L60GM-MGCT
+SPD_SOURCES += spd/lp5/set-0/spd-1.hex # ID = 1(0b0001) Parts = H9JCNNNBK3MLYR-N6E
+SPD_SOURCES += spd/lp5/set-0/spd-11.hex # ID = 2(0b0010) Parts = K3KL8L80DM-MGCU, MT62F1G32D2DS-023 WT:C, H58G56BK8BX068
diff --git a/src/mainboard/google/brox/variants/lotso/memory/dram_id.generated.txt b/src/mainboard/google/brox/variants/lotso/memory/dram_id.generated.txt
index fa247902ee..e7d0650b95 100644
--- a/src/mainboard/google/brox/variants/lotso/memory/dram_id.generated.txt
+++ b/src/mainboard/google/brox/variants/lotso/memory/dram_id.generated.txt
@@ -1 +1,11 @@
+# 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/brox/variants/lotso/memory src/mainboard/google/brox/variants/lotso/memory/mem_parts_used.txt
+
DRAM Part Name ID to assign
+K3KL6L60GM-MGCT 0 (0000)
+H9JCNNNBK3MLYR-N6E 1 (0001)
+K3KL8L80DM-MGCU 2 (0010)
+MT62F1G32D2DS-023 WT:C 2 (0010)
+H58G56BK8BX068 2 (0010)
diff --git a/src/mainboard/google/brox/variants/lotso/memory/mem_parts_used.txt b/src/mainboard/google/brox/variants/lotso/memory/mem_parts_used.txt
index 2499005682..d2c09aee31 100644
--- a/src/mainboard/google/brox/variants/lotso/memory/mem_parts_used.txt
+++ b/src/mainboard/google/brox/variants/lotso/memory/mem_parts_used.txt
@@ -9,3 +9,8 @@
# See util/spd_tools/README.md for more details and instructions.
# Part Name
+K3KL6L60GM-MGCT
+H9JCNNNBK3MLYR-N6E
+K3KL8L80DM-MGCU
+MT62F1G32D2DS-023 WT:C
+H58G56BK8BX068