aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeo Chou <leo.chou@lcfc.corp-partner.google.com>2022-06-13 13:16:43 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-06-17 14:33:46 +0000
commit031c40a7853ab156d54e5f554cfe1031ffde7662 (patch)
treef59bb6ef5b801ab38a8788bceefe7f0418e60df4 /src
parent78b39dd99976fbd56e8161051302c4d8fda1f6ee (diff)
mb/google/nissa/var/pujjo: Generate SPD ID for supported memory part
Add pujjo supported memory parts in mem_parts_used.txt, generate SPD id for this part. 1. Samsung K3LKBKB0BM-MGCP, K3LKCKC0BM-MGCP 2. Hynix H58G56AK6BX069, H9JCNNNBK3MLYR-N6E 3. Micron MT62F512M32D2DR-031 WT:B BUG=b:235765890 TEST=Use part_id_gen to generate related settings Signed-off-by: Leo Chou <leo.chou@lcfc.corp-partner.google.com> Change-Id: I929527a219452082e416803f7a74d470be5a188c Reviewed-on: https://review.coreboot.org/c/coreboot/+/65100 Reviewed-by: Reka Norman <rekanorman@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/variants/pujjo/memory/Makefile.inc9
-rw-r--r--src/mainboard/google/brya/variants/pujjo/memory/dram_id.generated.txt11
-rw-r--r--src/mainboard/google/brya/variants/pujjo/memory/mem_parts_used.txt16
3 files changed, 36 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/pujjo/memory/Makefile.inc b/src/mainboard/google/brya/variants/pujjo/memory/Makefile.inc
new file mode 100644
index 0000000000..3d26e33b98
--- /dev/null
+++ b/src/mainboard/google/brya/variants/pujjo/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 ADL lp5 src/mainboard/google/brya/variants/pujjo/memory/ src/mainboard/google/brya/variants/pujjo/memory/mem_parts_used.txt
+
+SPD_SOURCES =
+SPD_SOURCES += spd/lp5/set-0/spd-3.hex # ID = 0(0b0000) Parts = H58G56AK6BX069, K3LKBKB0BM-MGCP
+SPD_SOURCES += spd/lp5/set-0/spd-1.hex # ID = 1(0b0001) Parts = H9JCNNNBK3MLYR-N6E, MT62F512M32D2DR-031 WT:B
+SPD_SOURCES += spd/lp5/set-0/spd-6.hex # ID = 2(0b0010) Parts = K3LKCKC0BM-MGCP
diff --git a/src/mainboard/google/brya/variants/pujjo/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/pujjo/memory/dram_id.generated.txt
new file mode 100644
index 0000000000..2bbb639e8c
--- /dev/null
+++ b/src/mainboard/google/brya/variants/pujjo/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 ADL lp5 src/mainboard/google/brya/variants/pujjo/memory/ src/mainboard/google/brya/variants/pujjo/memory/mem_parts_used.txt
+
+DRAM Part Name ID to assign
+H58G56AK6BX069 0 (0000)
+H9JCNNNBK3MLYR-N6E 1 (0001)
+K3LKBKB0BM-MGCP 0 (0000)
+K3LKCKC0BM-MGCP 2 (0010)
+MT62F512M32D2DR-031 WT:B 1 (0001)
diff --git a/src/mainboard/google/brya/variants/pujjo/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/pujjo/memory/mem_parts_used.txt
new file mode 100644
index 0000000000..784e909b43
--- /dev/null
+++ b/src/mainboard/google/brya/variants/pujjo/memory/mem_parts_used.txt
@@ -0,0 +1,16 @@
+# This is a CSV file containing a list of memory parts used by this variant.
+# One part per line with an optional fixed ID in column 2.
+# Only include a fixed ID if it is required for legacy reasons!
+# Generated IDs are dependent on the order of parts in this file,
+# so new parts must always be added at the end of the file!
+#
+# Generate an updated Makefile.inc and dram_id.generated.txt by running the
+# part_id_gen tool from util/spd_tools.
+# See util/spd_tools/README.md for more details and instructions.
+
+# Part Name
+H58G56AK6BX069
+H9JCNNNBK3MLYR-N6E
+K3LKBKB0BM-MGCP
+K3LKCKC0BM-MGCP
+MT62F512M32D2DR-031 WT:B