From e27bd13088dc597c32e46b88d93ff74c31dca792 Mon Sep 17 00:00:00 2001 From: Jakub Czapiga Date: Tue, 30 May 2023 09:32:01 +0000 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75501 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/mainboard/google/rex/variants/ovis/memory/Makefile.inc | 9 +++++++-- .../google/rex/variants/ovis/memory/dram_id.generated.txt | 8 ++++++++ src/mainboard/google/rex/variants/ovis/memory/mem_parts_used.txt | 5 +++++ 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 -- cgit v1.2.3