summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Wu <frank_wu@compal.corp-partner.google.com>2022-10-13 15:22:13 +0800
committerKarthik Ramasubramanian <kramasub@google.com>2022-10-20 16:24:41 +0000
commita6065ec328de83e8c70cd4b7acd27ad99f882753 (patch)
tree2794f47cab868511d93f38861f6eb55d213941c8
parentafd2f6ed625602ca842c56434a52e5fe213f0c14 (diff)
mb/google/skyrim/var/frostflow: 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) H9JCNNNBK3MLYR-N6E 0 (0000) MT62F1G32D4DR-031 WT:B 1 (0001) H9JCNNNCP3MLYR-N6E 1 (0001) MT62F2G32D8DR-031 WT:B 2 (0010) H9JCNNNFA5MLYR-N6E 3 (0011) BUG=b:250470704, b:247683159 BRANCH=None TEST=FW_NAME=frostflow emerge-skyrim coreboot Signed-off-by: Frank Wu <frank_wu@compal.corp-partner.google.com> Change-Id: I34584092c938539c91d65501ebe34b00212b34d4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68388 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jon Murphy <jpmurphy@google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
-rw-r--r--src/mainboard/google/skyrim/variants/frostflow/Makefile.inc3
-rw-r--r--src/mainboard/google/skyrim/variants/frostflow/memory/Makefile.inc10
-rw-r--r--src/mainboard/google/skyrim/variants/frostflow/memory/dram_id.generated.txt12
-rw-r--r--src/mainboard/google/skyrim/variants/frostflow/memory/mem_parts_used.txt6
4 files changed, 31 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/variants/frostflow/Makefile.inc b/src/mainboard/google/skyrim/variants/frostflow/Makefile.inc
new file mode 100644
index 0000000000..88e75bde52
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/frostflow/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/frostflow/memory/Makefile.inc b/src/mainboard/google/skyrim/variants/frostflow/memory/Makefile.inc
new file mode 100644
index 0000000000..f6c1d1ade5
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/frostflow/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/frostflow/memory src/mainboard/google/skyrim/variants/frostflow/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, H9JCNNNCP3MLYR-N6E
+SPD_SOURCES += spd/lp5/set-1/spd-4.hex # ID = 2(0b0010) Parts = MT62F2G32D8DR-031 WT:B
+SPD_SOURCES += spd/lp5/set-1/spd-9.hex # ID = 3(0b0011) Parts = H9JCNNNFA5MLYR-N6E
diff --git a/src/mainboard/google/skyrim/variants/frostflow/memory/dram_id.generated.txt b/src/mainboard/google/skyrim/variants/frostflow/memory/dram_id.generated.txt
new file mode 100644
index 0000000000..1384f14c90
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/frostflow/memory/dram_id.generated.txt
@@ -0,0 +1,12 @@
+# 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/frostflow/memory src/mainboard/google/skyrim/variants/frostflow/memory/mem_parts_used.txt
+
+DRAM Part Name ID to assign
+MT62F512M32D2DR-031 WT:B 0 (0000)
+H9JCNNNBK3MLYR-N6E 0 (0000)
+MT62F1G32D4DR-031 WT:B 1 (0001)
+H9JCNNNCP3MLYR-N6E 1 (0001)
+MT62F2G32D8DR-031 WT:B 2 (0010)
+H9JCNNNFA5MLYR-N6E 3 (0011)
diff --git a/src/mainboard/google/skyrim/variants/frostflow/memory/mem_parts_used.txt b/src/mainboard/google/skyrim/variants/frostflow/memory/mem_parts_used.txt
new file mode 100644
index 0000000000..c1e7c076d0
--- /dev/null
+++ b/src/mainboard/google/skyrim/variants/frostflow/memory/mem_parts_used.txt
@@ -0,0 +1,6 @@
+MT62F512M32D2DR-031 WT:B,
+H9JCNNNBK3MLYR-N6E,
+MT62F1G32D4DR-031 WT:B,
+H9JCNNNCP3MLYR-N6E,
+MT62F2G32D8DR-031 WT:B,
+H9JCNNNFA5MLYR-N6E,