summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYunlong Jia <yunlong.jia@ecs.corp-partner.google.com>2023-02-17 10:01:28 +0000
committerFelix Held <felix-coreboot@felixheld.de>2023-02-24 17:08:50 +0000
commita0473c3be68d689e728542b3036d4e751439c36c (patch)
tree384134e9fb07a53fa093a9f5ce10bd76994d024e
parentc44f0b3feae03b47b61ec71e92a122dbc9c449a4 (diff)
mb/google/skyrim/var/crystaldrift: Generate RAM IDs for new memory parts
Add new memory parts in the mem_parts_used.txt and generate the SPD ID for the parts. The memory parts being added are: DRAM Part Name ID to assign MT62F512M32D2DR-031 WT:B 0 (0000) MT62F1G32D4DR-031 WT:B 1 (0001) MT62F1G32D2DS-026 WT:B 2 (0010) H9JCNNNBK3MLYR-N6E 0 (0000) K3LKBKB0BM-MGCP 3 (0011) BUG=b:265190498 BRANCH=None TEST=emerge-skyrim coreboot Signed-off-by: Yunlong Jia <yunlong.jia@ecs.corp-partner.google.com> Change-Id: I860f10552e4e4180e09ab805ca82b108fdc8f21a Reviewed-on: https://review.coreboot.org/c/coreboot/+/73049 Reviewed-by: Jon Murphy <jpmurphy@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/skyrim/variants/crystaldrift/Makefile.inc3
-rw-r--r--src/mainboard/google/skyrim/variants/crystaldrift/memory/Makefile.inc10
-rw-r--r--src/mainboard/google/skyrim/variants/crystaldrift/memory/dram_id.generated.txt11
-rw-r--r--src/mainboard/google/skyrim/variants/crystaldrift/memory/mem_parts_used.txt5
4 files changed, 29 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/variants/crystaldrift/Makefile.inc b/src/mainboard/google/skyrim/variants/crystaldrift/Makefile.inc
new file mode 100644
index 0000000000..88e75bde52
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/crystaldrift/Makefile.inc
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+subdirs-y += ./memory
diff --git a/src/mainboard/google/skyrim/variants/crystaldrift/memory/Makefile.inc b/src/mainboard/google/skyrim/variants/crystaldrift/memory/Makefile.inc
new file mode 100644
index 0000000000..3abad27b41
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/crystaldrift/memory/Makefile.inc
@@ -0,0 +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 MDN lp5 src/mainboard/google/skyrim/variants/crystaldrift/memory src/mainboard/google/skyrim/variants/crystaldrift/memory/mem_parts_used.txt
+
+SPD_SOURCES =
+SPD_SOURCES += spd/lp5/set-1/spd-1.hex # ID = 0(0b0000) Parts = MT62F512M32D2DR-031 WT:B, H9JCNNNBK3MLYR-N6E
+SPD_SOURCES += spd/lp5/set-1/spd-2.hex # ID = 1(0b0001) Parts = MT62F1G32D4DR-031 WT:B
+SPD_SOURCES += spd/lp5/set-1/spd-7.hex # ID = 2(0b0010) Parts = MT62F1G32D2DS-026 WT:B
+SPD_SOURCES += spd/lp5/set-1/spd-3.hex # ID = 3(0b0011) Parts = K3LKBKB0BM-MGCP
diff --git a/src/mainboard/google/skyrim/variants/crystaldrift/memory/dram_id.generated.txt b/src/mainboard/google/skyrim/variants/crystaldrift/memory/dram_id.generated.txt
new file mode 100644
index 0000000000..934ba554b7
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/crystaldrift/memory/dram_id.generated.txt
@@ -0,0 +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 MDN lp5 src/mainboard/google/skyrim/variants/crystaldrift/memory src/mainboard/google/skyrim/variants/crystaldrift/memory/mem_parts_used.txt
+
+DRAM Part Name ID to assign
+MT62F512M32D2DR-031 WT:B 0 (0000)
+MT62F1G32D4DR-031 WT:B 1 (0001)
+MT62F1G32D2DS-026 WT:B 2 (0010)
+H9JCNNNBK3MLYR-N6E 0 (0000)
+K3LKBKB0BM-MGCP 3 (0011)
diff --git a/src/mainboard/google/skyrim/variants/crystaldrift/memory/mem_parts_used.txt b/src/mainboard/google/skyrim/variants/crystaldrift/memory/mem_parts_used.txt
new file mode 100644
index 0000000000..61f2109594
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/crystaldrift/memory/mem_parts_used.txt
@@ -0,0 +1,5 @@
+MT62F512M32D2DR-031 WT:B,
+MT62F1G32D4DR-031 WT:B,
+MT62F1G32D2DS-026 WT:B,
+H9JCNNNBK3MLYR-N6E,
+K3LKBKB0BM-MGCP,