summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRex Chou <rex_chou@compal.corp-partner.google.com>2023-07-24 16:30:13 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-07-27 13:58:59 +0000
commitc364f42147479fffd4d3410c0013722e711761b9 (patch)
treebba71fee6c1683d82d0af9f11f703cf83e514a57
parentd8f669ef555e60cd0785bd5a56d2fff947cc27d8 (diff)
mb/google/nissa/var/craaskov: Add memory parts support
Add new memory parts in the mem_parts_used.txt and generate the SPD ID for the parts. The memory parts being added are: 1) LP5 Memory - 2GB Micron MT62F512M32D2DR-031 WT:B 2) LP5 Memory - 2GB Hynix H9JCNNNBK3MLYR-N6E 3) LP5 Memory - 4GB Samsung K3LKBKB0BM-MGCP 4) LP5 Memory - 4GB Hynix H9JCNNNCP3MLYR-N6E DRAM Part Name ID to assign MT62F512M32D2DR-031 WT:B 0 (0000) H9JCNNNBK3MLYR-N6E 0 (0000) K3LKBKB0BM-MGCP 1 (0001) H9JCNNNCP3MLYR-N6E 2 (0010) BUG=b:292461498 BRANCH=firmware-nissa-15217.B TEST=emerge-nissa coreboot Change-Id: I02e49d60e43c4fed8356556ec194d726c30cd609 Signed-off-by: Rex Chou <rex_chou@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76673 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Ian Feng <ian_feng@compal.corp-partner.google.com> Reviewed-by: Derek Huang <derekhuang@google.com>
-rw-r--r--src/mainboard/google/brya/variants/craaskov/memory/Makefile.inc8
-rw-r--r--src/mainboard/google/brya/variants/craaskov/memory/dram_id.generated.txt9
-rw-r--r--src/mainboard/google/brya/variants/craaskov/memory/mem_parts_used.txt4
3 files changed, 19 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/craaskov/memory/Makefile.inc b/src/mainboard/google/brya/variants/craaskov/memory/Makefile.inc
index eace2e443e..1f61b5765c 100644
--- a/src/mainboard/google/brya/variants/craaskov/memory/Makefile.inc
+++ b/src/mainboard/google/brya/variants/craaskov/memory/Makefile.inc
@@ -1,5 +1,9 @@
# 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/craaskov/memory/ src/mainboard/google/brya/variants/craaskov/memory/mem_parts_used.txt
-SPD_SOURCES = placeholder
+SPD_SOURCES =
+SPD_SOURCES += spd/lp5/set-0/spd-1.hex # ID = 0(0b0000) Parts = MT62F512M32D2DR-031 WT:B, H9JCNNNBK3MLYR-N6E
+SPD_SOURCES += spd/lp5/set-0/spd-3.hex # ID = 1(0b0001) Parts = K3LKBKB0BM-MGCP
+SPD_SOURCES += spd/lp5/set-0/spd-2.hex # ID = 2(0b0010) Parts = H9JCNNNCP3MLYR-N6E
diff --git a/src/mainboard/google/brya/variants/craaskov/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/craaskov/memory/dram_id.generated.txt
index fa247902ee..d65974369a 100644
--- a/src/mainboard/google/brya/variants/craaskov/memory/dram_id.generated.txt
+++ b/src/mainboard/google/brya/variants/craaskov/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/craaskov/memory/ src/mainboard/google/brya/variants/craaskov/memory/mem_parts_used.txt
+
DRAM Part Name ID to assign
+MT62F512M32D2DR-031 WT:B 0 (0000)
+H9JCNNNBK3MLYR-N6E 0 (0000)
+K3LKBKB0BM-MGCP 1 (0001)
+H9JCNNNCP3MLYR-N6E 2 (0010)
diff --git a/src/mainboard/google/brya/variants/craaskov/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/craaskov/memory/mem_parts_used.txt
index 96211370d9..126d067c65 100644
--- a/src/mainboard/google/brya/variants/craaskov/memory/mem_parts_used.txt
+++ b/src/mainboard/google/brya/variants/craaskov/memory/mem_parts_used.txt
@@ -9,3 +9,7 @@
# See util/spd_tools/README.md for more details and instructions.
# Part Name
+MT62F512M32D2DR-031 WT:B
+H9JCNNNBK3MLYR-N6E
+K3LKBKB0BM-MGCP
+H9JCNNNCP3MLYR-N6E