summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorJohn Su <john_su@compal.corp-partner.google.com>2023-01-03 14:35:40 +0800
committerMartin L Roth <gaumless@gmail.com>2023-01-04 07:08:41 +0000
commite66fcb87fed9b25be5e35eef05133ef7596edd46 (patch)
treee05b1b3c73eaa94555c8708fd873c63971b37946 /src/mainboard
parentca07e1cff98070dcc845692ca576273f41b482fd (diff)
mb/google/skyrim/var/markarth: 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 K3KL8L80CM-MGCT 0 (0000) H58G56BK7BX068 0 (0000) K3KL9L90CM-MGCT 1 (0001) H58G66BK7BX067 1 (0001) MT62F2G32D4DS-026 WT:B 1 (0001) BUG=b:263296326, b:263216451 BRANCH=None TEST=FW_NAME=markarth emerge-skyrim coreboot Signed-off-by: John Su <john_su@compal.corp-partner.google.com> Change-Id: I4f00d444bd59443ecba29c6c155d676bab7a3d82 Reviewed-on: https://review.coreboot.org/c/coreboot/+/71632 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Chao Gui <chaogui@google.com> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/skyrim/variants/markarth/Makefile.inc3
-rw-r--r--src/mainboard/google/skyrim/variants/markarth/memory/Makefile.inc8
-rw-r--r--src/mainboard/google/skyrim/variants/markarth/memory/dram_id.generated.txt11
-rw-r--r--src/mainboard/google/skyrim/variants/markarth/memory/mem_parts_used.txt5
4 files changed, 27 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/variants/markarth/Makefile.inc b/src/mainboard/google/skyrim/variants/markarth/Makefile.inc
new file mode 100644
index 0000000000..88e75bde52
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/markarth/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/markarth/memory/Makefile.inc b/src/mainboard/google/skyrim/variants/markarth/memory/Makefile.inc
new file mode 100644
index 0000000000..258a35b56f
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/markarth/memory/Makefile.inc
@@ -0,0 +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 MDN lp5 src/mainboard/google/skyrim/variants/markarth/memory src/mainboard/google/skyrim/variants/markarth/memory/mem_parts_used.txt
+
+SPD_SOURCES =
+SPD_SOURCES += spd/lp5/set-1/spd-7.hex # ID = 0(0b0000) Parts = K3KL8L80CM-MGCT, H58G56BK7BX068
+SPD_SOURCES += spd/lp5/set-1/spd-8.hex # ID = 1(0b0001) Parts = K3KL9L90CM-MGCT, H58G66BK7BX067, MT62F2G32D4DS-026 WT:B
diff --git a/src/mainboard/google/skyrim/variants/markarth/memory/dram_id.generated.txt b/src/mainboard/google/skyrim/variants/markarth/memory/dram_id.generated.txt
new file mode 100644
index 0000000000..c2ca506286
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/markarth/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/markarth/memory src/mainboard/google/skyrim/variants/markarth/memory/mem_parts_used.txt
+
+DRAM Part Name ID to assign
+K3KL8L80CM-MGCT 0 (0000)
+H58G56BK7BX068 0 (0000)
+K3KL9L90CM-MGCT 1 (0001)
+H58G66BK7BX067 1 (0001)
+MT62F2G32D4DS-026 WT:B 1 (0001)
diff --git a/src/mainboard/google/skyrim/variants/markarth/memory/mem_parts_used.txt b/src/mainboard/google/skyrim/variants/markarth/memory/mem_parts_used.txt
new file mode 100644
index 0000000000..cded20f1a9
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/markarth/memory/mem_parts_used.txt
@@ -0,0 +1,5 @@
+K3KL8L80CM-MGCT,
+H58G56BK7BX068,
+K3KL9L90CM-MGCT,
+H58G66BK7BX067,
+MT62F2G32D4DS-026 WT:B,