summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2022-04-12 17:01:25 -0600
committerFelix Held <felix-coreboot@felixheld.de>2022-04-14 22:25:05 +0000
commit44e449b15cecbc774c8ed30f6ca6e0d9917cc913 (patch)
treec63615c0b7e7cb54cc300dbe3d9858eba27c63db
parent4bdc2320a48cd2131fcf7fb3395a2b21002340db (diff)
mb/google/skyrim/var/skyrim: Add supported memory parts
Add supported memory parts and generate the associated DRAM part ID. Also for MT62F2G32D8DR-031 WT:B memory part, add a custom SPD that configures the DRAM speed at 5500 MHz. Use this custom SPD until that part can operate at full speed (i.e. 6400 MHz). BUG=None TEST=Build Skyrim. Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Change-Id: Id87e79f5d6187d57d74487841c09aa309f1450b4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63599 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Robert Zieba <robertzieba@google.com> Reviewed-by: Jon Murphy <jpmurphy@google.com> Reviewed-by: Raul Rangel <rrangel@chromium.org>
-rw-r--r--src/mainboard/google/skyrim/variants/skyrim/Makefile.inc3
-rw-r--r--src/mainboard/google/skyrim/variants/skyrim/memory/Makefile.inc9
-rw-r--r--src/mainboard/google/skyrim/variants/skyrim/memory/dram_id.generated.txt9
-rw-r--r--src/mainboard/google/skyrim/variants/skyrim/memory/mem_parts_used.txt3
-rw-r--r--src/mainboard/google/skyrim/variants/skyrim/memory/spd-MT62F2G32D8DR-031.hex32
5 files changed, 56 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/variants/skyrim/Makefile.inc b/src/mainboard/google/skyrim/variants/skyrim/Makefile.inc
new file mode 100644
index 0000000000..88e75bde52
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/skyrim/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/skyrim/memory/Makefile.inc b/src/mainboard/google/skyrim/variants/skyrim/memory/Makefile.inc
new file mode 100644
index 0000000000..35975c7584
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/skyrim/memory/Makefile.inc
@@ -0,0 +1,9 @@
+# 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 SBR lp5 src/mainboard/google/skyrim/variants/skyrim/memory/ src/mainboard/google/skyrim/variants/skyrim/memory/mem_parts_used.txt
+
+SPD_SOURCES =
+SPD_SOURCES += spd/lp5/set-1/spd-1.hex # ID = 0(0b0000) Parts = MT62F512M32D2DR-031 WT:B
+SPD_SOURCES += spd/lp5/set-1/spd-2.hex # ID = 1(0b0001) Parts = MT62F1G32D4DR-031 WT:B
+SPD_SOURCES += src/mainboard/google/skyrim/variants/skyrim/memory/spd-MT62F2G32D8DR-031.hex # ID = 2(0b0010) Parts = MT62F2G32D8DR-031 WT:B
diff --git a/src/mainboard/google/skyrim/variants/skyrim/memory/dram_id.generated.txt b/src/mainboard/google/skyrim/variants/skyrim/memory/dram_id.generated.txt
new file mode 100644
index 0000000000..b4115ed61e
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/skyrim/memory/dram_id.generated.txt
@@ -0,0 +1,9 @@
+# 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 SBR lp5 src/mainboard/google/skyrim/variants/skyrim/memory/ src/mainboard/google/skyrim/variants/skyrim/memory/mem_parts_used.txt
+
+DRAM Part Name ID to assign
+MT62F512M32D2DR-031 WT:B 0 (0000)
+MT62F1G32D4DR-031 WT:B 1 (0001)
+MT62F2G32D8DR-031 WT:B 2 (0010)
diff --git a/src/mainboard/google/skyrim/variants/skyrim/memory/mem_parts_used.txt b/src/mainboard/google/skyrim/variants/skyrim/memory/mem_parts_used.txt
new file mode 100644
index 0000000000..bd84cbf43f
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/skyrim/memory/mem_parts_used.txt
@@ -0,0 +1,3 @@
+MT62F512M32D2DR-031 WT:B,
+MT62F1G32D4DR-031 WT:B,
+MT62F2G32D8DR-031 WT:B,2,spd-MT62F2G32D8DR-031.hex
diff --git a/src/mainboard/google/skyrim/variants/skyrim/memory/spd-MT62F2G32D8DR-031.hex b/src/mainboard/google/skyrim/variants/skyrim/memory/spd-MT62F2G32D8DR-031.hex
new file mode 100644
index 0000000000..01a5734bd4
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/skyrim/memory/spd-MT62F2G32D8DR-031.hex
@@ -0,0 +1,32 @@
+23 11 13 0E 85 21 F9 18 00 40 00 00 09 02 00 00
+00 00 03 00 00 00 00 00 2C 00 90 A8 90 90 06 C0
+03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 C9 00 F4 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 20 20 20 20 20 20 20
+20 20 20 20 20 20 20 20 20 20 20 20 20 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00