summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2023-04-25 16:42:50 -0600
committerKarthik Ramasubramanian <kramasub@google.com>2023-05-02 21:43:42 +0000
commit7803190d9e8c2f17edbb1e6174a3b2c29b92a260 (patch)
tree09bf654f5e9198a1de94e2e6e8a753b25bbcf8bc
parentea2a38be323173075db3b13729a4006ea1fef72d (diff)
mb/google/myst: Add initial memory configuration
Generate the RAM Strap IDs based on the initial memory configuration. BUG=b:272746814 TEST=Build Myst BIOS image. Change-Id: I8a4fe9a41f101ac10391756f1b815220c8b98612 Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74745 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Jon Murphy <jpmurphy@google.com> Reviewed-by: Martin L Roth <gaumless@gmail.com>
-rw-r--r--src/mainboard/google/myst/variants/myst/memory/Makefile.inc7
-rw-r--r--src/mainboard/google/myst/variants/myst/memory/dram_id.generated.txt8
-rw-r--r--src/mainboard/google/myst/variants/myst/memory/mem_parts_used.txt2
3 files changed, 17 insertions, 0 deletions
diff --git a/src/mainboard/google/myst/variants/myst/memory/Makefile.inc b/src/mainboard/google/myst/variants/myst/memory/Makefile.inc
new file mode 100644
index 0000000000..70188b4889
--- /dev/null
+++ b/src/mainboard/google/myst/variants/myst/memory/Makefile.inc
@@ -0,0 +1,7 @@
+# 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 PHX lp5 src/mainboard/google/myst/variants/myst/memory src/mainboard/google/myst/variants/myst/memory/mem_parts_used.txt
+
+SPD_SOURCES =
+SPD_SOURCES += spd/lp5/set-1/spd-2.hex # ID = 0(0b0000) Parts = MT62F1G32D4DR-031 WT:B, H9JCNNNCP3MLYR-N6E
diff --git a/src/mainboard/google/myst/variants/myst/memory/dram_id.generated.txt b/src/mainboard/google/myst/variants/myst/memory/dram_id.generated.txt
new file mode 100644
index 0000000000..82768715fa
--- /dev/null
+++ b/src/mainboard/google/myst/variants/myst/memory/dram_id.generated.txt
@@ -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 PHX lp5 src/mainboard/google/myst/variants/myst/memory src/mainboard/google/myst/variants/myst/memory/mem_parts_used.txt
+
+DRAM Part Name ID to assign
+MT62F1G32D4DR-031 WT:B 0 (0000)
+H9JCNNNCP3MLYR-N6E 0 (0000)
diff --git a/src/mainboard/google/myst/variants/myst/memory/mem_parts_used.txt b/src/mainboard/google/myst/variants/myst/memory/mem_parts_used.txt
new file mode 100644
index 0000000000..283740b175
--- /dev/null
+++ b/src/mainboard/google/myst/variants/myst/memory/mem_parts_used.txt
@@ -0,0 +1,2 @@
+MT62F1G32D4DR-031 WT:B,
+H9JCNNNCP3MLYR-N6E,