summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTyler Wang <tyler.wang@quanta.corp-partner.google.com>2023-07-13 14:21:56 +0800
committerMartin L Roth <gaumless@gmail.com>2023-07-17 03:18:09 +0000
commit35e9ffe8cc306a767794106137f40ef123c8fb89 (patch)
tree39a0611a052320df2485c793a710b788d38029c0 /src
parent198c6291e0e265922cdc3b7c917c13133f9eaa15 (diff)
mb/google/rex/var/karis: Generate SPD ID for supported memory part
Add karis supported memory parts in mem_parts_used.txt, generate SPD id. 1. MICRON MT62F1G32D2DS-023 WT:B 2. HYNIX H9JCNNNBK3MLYR-N6E 3. HYNIX H58G56BK8BX068 4. SAMSUNG K3KL8L80CM-MGCT BUG=b:291018417 TEST=Use part_id_gen to generate related settings Change-Id: I87c2c4f59454dec84d29590ee91379c9fa60ddcf Signed-off-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76443 Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: David Wu <david_wu@quanta.corp-partner.google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/rex/variants/karis/memory/Makefile.inc8
-rw-r--r--src/mainboard/google/rex/variants/karis/memory/dram_id.generated.txt9
-rw-r--r--src/mainboard/google/rex/variants/karis/memory/mem_parts_used.txt4
3 files changed, 19 insertions, 2 deletions
diff --git a/src/mainboard/google/rex/variants/karis/memory/Makefile.inc b/src/mainboard/google/rex/variants/karis/memory/Makefile.inc
index eace2e443e..a37b32ff01 100644
--- a/src/mainboard/google/rex/variants/karis/memory/Makefile.inc
+++ b/src/mainboard/google/rex/variants/karis/memory/Makefile.inc
@@ -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 MTL lp5 src/mainboard/google/rex/variants/karis/memory/ src/mainboard/google/rex/variants/karis/memory/mem_parts_used.txt
-SPD_SOURCES = placeholder
+SPD_SOURCES =
+SPD_SOURCES += spd/lp5/set-0/spd-11.hex # ID = 0(0b0000) Parts = MT62F1G32D2DS-023 WT:B, H58G56BK8BX068
+SPD_SOURCES += spd/lp5/set-0/spd-1.hex # ID = 1(0b0001) Parts = H9JCNNNBK3MLYR-N6E
+SPD_SOURCES += spd/lp5/set-0/spd-7.hex # ID = 2(0b0010) Parts = K3KL8L80CM-MGCT
diff --git a/src/mainboard/google/rex/variants/karis/memory/dram_id.generated.txt b/src/mainboard/google/rex/variants/karis/memory/dram_id.generated.txt
index fa247902ee..a34678eeb7 100644
--- a/src/mainboard/google/rex/variants/karis/memory/dram_id.generated.txt
+++ b/src/mainboard/google/rex/variants/karis/memory/dram_id.generated.txt
@@ -1 +1,10 @@
+# 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 MTL lp5 src/mainboard/google/rex/variants/karis/memory/ src/mainboard/google/rex/variants/karis/memory/mem_parts_used.txt
+
DRAM Part Name ID to assign
+MT62F1G32D2DS-023 WT:B 0 (0000)
+H9JCNNNBK3MLYR-N6E 1 (0001)
+H58G56BK8BX068 0 (0000)
+K3KL8L80CM-MGCT 2 (0010)
diff --git a/src/mainboard/google/rex/variants/karis/memory/mem_parts_used.txt b/src/mainboard/google/rex/variants/karis/memory/mem_parts_used.txt
index 96211370d9..e92b0a3d46 100644
--- a/src/mainboard/google/rex/variants/karis/memory/mem_parts_used.txt
+++ b/src/mainboard/google/rex/variants/karis/memory/mem_parts_used.txt
@@ -9,3 +9,7 @@
# See util/spd_tools/README.md for more details and instructions.
# Part Name
+MT62F1G32D2DS-023 WT:B
+H9JCNNNBK3MLYR-N6E
+H58G56BK8BX068
+K3KL8L80CM-MGCT