summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2023-05-30 09:32:01 +0000
committerFelix Held <felix-coreboot@felixheld.de>2023-06-06 12:18:07 +0000
commite27bd13088dc597c32e46b88d93ff74c31dca792 (patch)
treeaa14d50af933420a421f6075585352a3f709450b
parentd95d2645f4fececf70ae96c97edd0e92111ade3e (diff)
mb/google/rex/variants/ovis: Add RAM IDs
BUG=b:274421383 TEST=util/abuild/abuild -p none -t google/rex -x -a -b ovis Change-Id: Ic555fac846ebf1e9dad81b5847334c03d6804b5b Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75501 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
-rw-r--r--src/mainboard/google/rex/variants/ovis/memory/Makefile.inc9
-rw-r--r--src/mainboard/google/rex/variants/ovis/memory/dram_id.generated.txt8
-rw-r--r--src/mainboard/google/rex/variants/ovis/memory/mem_parts_used.txt5
3 files changed, 20 insertions, 2 deletions
diff --git a/src/mainboard/google/rex/variants/ovis/memory/Makefile.inc b/src/mainboard/google/rex/variants/ovis/memory/Makefile.inc
index eace2e443e..2083b18608 100644
--- a/src/mainboard/google/rex/variants/ovis/memory/Makefile.inc
+++ b/src/mainboard/google/rex/variants/ovis/memory/Makefile.inc
@@ -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 MTL lp5 src/mainboard/google/rex/variants/ovis/memory src/mainboard/google/rex/variants/ovis/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
+SPD_SOURCES += spd/lp5/set-0/spd-7.hex # ID = 1(0b0001) Parts = MT62F1G32D2DS-026 WT:B, H58G56BK7BX068
+SPD_SOURCES += spd/lp5/set-0/spd-8.hex # ID = 2(0b0010) Parts = MT62F2G32D4DS-026 WT:B
+SPD_SOURCES += spd/lp5/set-0/spd-9.hex # ID = 3(0b0011) Parts = K3KL6L60GM-MGCT
diff --git a/src/mainboard/google/rex/variants/ovis/memory/dram_id.generated.txt b/src/mainboard/google/rex/variants/ovis/memory/dram_id.generated.txt
index b243b02bf0..8e847883f4 100644
--- a/src/mainboard/google/rex/variants/ovis/memory/dram_id.generated.txt
+++ b/src/mainboard/google/rex/variants/ovis/memory/dram_id.generated.txt
@@ -1,3 +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 MTL lp5 src/mainboard/google/rex/variants/ovis/memory src/mainboard/google/rex/variants/ovis/memory/mem_parts_used.txt
DRAM Part Name ID to assign
+MT62F512M32D2DR-031 WT:B 0 (0000)
+MT62F1G32D2DS-026 WT:B 1 (0001)
+MT62F2G32D4DS-026 WT:B 2 (0010)
+H58G56BK7BX068 1 (0001)
+K3KL6L60GM-MGCT 3 (0011)
diff --git a/src/mainboard/google/rex/variants/ovis/memory/mem_parts_used.txt b/src/mainboard/google/rex/variants/ovis/memory/mem_parts_used.txt
index 96211370d9..c952558ebb 100644
--- a/src/mainboard/google/rex/variants/ovis/memory/mem_parts_used.txt
+++ b/src/mainboard/google/rex/variants/ovis/memory/mem_parts_used.txt
@@ -9,3 +9,8 @@
# See util/spd_tools/README.md for more details and instructions.
# Part Name
+MT62F512M32D2DR-031 WT:B
+MT62F1G32D2DS-026 WT:B
+MT62F2G32D4DS-026 WT:B
+H58G56BK7BX068
+K3KL6L60GM-MGCT