summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAmanda Huang <amanda_hwang@compal.corp-partner.google.com>2023-01-09 16:36:32 +0800
committerEric Lai <eric_lai@quanta.corp-partner.google.com>2023-01-11 00:33:41 +0000
commit2475e022e2e7e756652da9db8c245370864af4ef (patch)
tree3c5fb9738f3268317d841d80665e747fb37177aa /src
parent64c0df58e29a1985dd358778615f70e240813877 (diff)
mb/google/brya/var/omnigul: 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) Samsung K3KL8L80CM-MGCT 2) Hynix H58G56BK7BX068 3) Micron MT62F1G32D2DS-026 WT:B 4) Micron MT62F512M32D2DR-031 WT:B BUG=b:264340545 BRANCH=firmware-brya-14505.B TEST=FW_NAME=omnigul emerge-brya coreboot Change-Id: I699070596a77c975254660a1ba74b0f40026186d Signed-off-by: Amanda Huang <amanda_hwang@compal.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71756 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/brya/variants/omnigul/memory/Makefile.inc7
-rw-r--r--src/mainboard/google/brya/variants/omnigul/memory/dram_id.generated.txt9
-rw-r--r--src/mainboard/google/brya/variants/omnigul/memory/mem_parts_used.txt4
3 files changed, 18 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/omnigul/memory/Makefile.inc b/src/mainboard/google/brya/variants/omnigul/memory/Makefile.inc
index eace2e443e..5c07a4d559 100644
--- a/src/mainboard/google/brya/variants/omnigul/memory/Makefile.inc
+++ b/src/mainboard/google/brya/variants/omnigul/memory/Makefile.inc
@@ -1,5 +1,8 @@
# 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/omnigul/memory/ src/mainboard/google/brya/variants/omnigul/memory/mem_parts_used.txt
-SPD_SOURCES = placeholder
+SPD_SOURCES =
+SPD_SOURCES += spd/lp5/set-0/spd-7.hex # ID = 0(0b0000) Parts = K3KL8L80CM-MGCT, H58G56BK7BX068, MT62F1G32D2DS-026 WT:B
+SPD_SOURCES += spd/lp5/set-0/spd-1.hex # ID = 1(0b0001) Parts = MT62F512M32D2DR-031 WT:B
diff --git a/src/mainboard/google/brya/variants/omnigul/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/omnigul/memory/dram_id.generated.txt
index fa247902ee..54ca03ef71 100644
--- a/src/mainboard/google/brya/variants/omnigul/memory/dram_id.generated.txt
+++ b/src/mainboard/google/brya/variants/omnigul/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/omnigul/memory/ src/mainboard/google/brya/variants/omnigul/memory/mem_parts_used.txt
+
DRAM Part Name ID to assign
+K3KL8L80CM-MGCT 0 (0000)
+H58G56BK7BX068 0 (0000)
+MT62F1G32D2DS-026 WT:B 0 (0000)
+MT62F512M32D2DR-031 WT:B 1 (0001)
diff --git a/src/mainboard/google/brya/variants/omnigul/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/omnigul/memory/mem_parts_used.txt
index 96211370d9..fe38148553 100644
--- a/src/mainboard/google/brya/variants/omnigul/memory/mem_parts_used.txt
+++ b/src/mainboard/google/brya/variants/omnigul/memory/mem_parts_used.txt
@@ -9,3 +9,7 @@
# See util/spd_tools/README.md for more details and instructions.
# Part Name
+K3KL8L80CM-MGCT
+H58G56BK7BX068
+MT62F1G32D2DS-026 WT:B
+MT62F512M32D2DR-031 WT:B