summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Chou <leo.chou@lcfc.corp-partner.google.com>2024-04-01 13:35:23 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-04-02 12:38:49 +0000
commit82d080e850f89cdcc4d3f412c464e99ea23aefe8 (patch)
tree0f1af373d5690acdd5d98c58a88416138bb4720d
parent42cb9f3de0161870c452cb6740101419e39a524e (diff)
mb/google/nissa/var/sundance: Generate SPD ID for 4 supported memory parts
Add sundance supported memory parts in mem_parts_used.txt, generate SPD id for this part. 1. Samsung K3KL6L60GM-MGCT, K3KL8L80CM-MGCT 2. Hynix H58G56AK6BX069, H9JCNNNBK3MLYR-N6EE BUG=b:332201349 TEST=Use part_id_gen to generate related settings Change-Id: Ieece88b0b2b2ea5f0d6192ee8441e50d3f22a972 Signed-off-by: Leo Chou <leo.chou@lcfc.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81612 Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
-rw-r--r--src/mainboard/google/brya/variants/sundance/memory/Makefile.mk9
-rw-r--r--src/mainboard/google/brya/variants/sundance/memory/dram_id.generated.txt9
-rw-r--r--src/mainboard/google/brya/variants/sundance/memory/mem_parts_used.txt4
3 files changed, 20 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/sundance/memory/Makefile.mk b/src/mainboard/google/brya/variants/sundance/memory/Makefile.mk
index eace2e443e..26dc4b0c88 100644
--- a/src/mainboard/google/brya/variants/sundance/memory/Makefile.mk
+++ b/src/mainboard/google/brya/variants/sundance/memory/Makefile.mk
@@ -1,5 +1,10 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# This is an auto-generated file. Do not edit!!
-# Add memory parts in mem_parts_used.txt and run spd_tools to regenerate.
+# Generated by:
+# ./util/spd_tools/bin/part_id_gen ADL lp5 src/mainboard/google/brya/variants/sundance/memory/ src/mainboard/google/brya/variants/sundance/memory/mem_parts_used.txt
-SPD_SOURCES = placeholder
+SPD_SOURCES =
+SPD_SOURCES += spd/lp5/set-0/spd-3.hex # ID = 0(0b0000) Parts = H58G56AK6BX069
+SPD_SOURCES += spd/lp5/set-0/spd-1.hex # ID = 1(0b0001) Parts = H9JCNNNBK3MLYR-N6E
+SPD_SOURCES += spd/lp5/set-0/spd-9.hex # ID = 2(0b0010) Parts = K3KL6L60GM-MGCT
+SPD_SOURCES += spd/lp5/set-0/spd-7.hex # ID = 3(0b0011) Parts = K3KL8L80CM-MGCT
diff --git a/src/mainboard/google/brya/variants/sundance/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/sundance/memory/dram_id.generated.txt
index fa247902ee..fee3476f9b 100644
--- a/src/mainboard/google/brya/variants/sundance/memory/dram_id.generated.txt
+++ b/src/mainboard/google/brya/variants/sundance/memory/dram_id.generated.txt
@@ -1 +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 ADL lp5 src/mainboard/google/brya/variants/sundance/memory/ src/mainboard/google/brya/variants/sundance/memory/mem_parts_used.txt
+
DRAM Part Name ID to assign
+H58G56AK6BX069 0 (0000)
+H9JCNNNBK3MLYR-N6E 1 (0001)
+K3KL6L60GM-MGCT 2 (0010)
+K3KL8L80CM-MGCT 3 (0011)
diff --git a/src/mainboard/google/brya/variants/sundance/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/sundance/memory/mem_parts_used.txt
index 2499005682..83001c19fd 100644
--- a/src/mainboard/google/brya/variants/sundance/memory/mem_parts_used.txt
+++ b/src/mainboard/google/brya/variants/sundance/memory/mem_parts_used.txt
@@ -9,3 +9,7 @@
# See util/spd_tools/README.md for more details and instructions.
# Part Name
+H58G56AK6BX069
+H9JCNNNBK3MLYR-N6E
+K3KL6L60GM-MGCT
+K3KL8L80CM-MGCT