From e8284e42c55f3dd62f5b62cff5f85a763a5cc95a Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Thu, 18 Jul 2024 12:38:34 +0530 Subject: mb/google/brya/var/trulo: Add LPDDR5 DRAM (MT62F512M32D2DR-031) This patch adds Micron Technology LPDDR5 DRAM (part: MT62F512M32D2DR-031) for Trulo. Make use of spd_tools to generate SPD file after following the below steps: 1. make -C util/spd_tools 2. ./util/spd_tools/bin/part_id_gen ADL lp5 src/mainboard/google/brya/variants/trulo/memory src/mainboard/google/brya/variants/trulo/memory/mem_parts_used.txt Output files are: 1. dram_id.generated.txt 2. Makefile.mk BUG=b:351976770 TEST=Able to build google/trulo. Change-Id: Id35f6b57b716375abb66db187413f0f82361d962 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/83539 Reviewed-by: Dinesh Gehlot Tested-by: build bot (Jenkins) --- src/mainboard/google/brya/variants/trulo/memory/Makefile.mk | 5 +++-- .../google/brya/variants/trulo/memory/dram_id.generated.txt | 3 ++- src/mainboard/google/brya/variants/trulo/memory/mem_parts_used.txt | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/mainboard/google/brya/variants/trulo/memory/Makefile.mk b/src/mainboard/google/brya/variants/trulo/memory/Makefile.mk index 850a62cca2..5cb4476c3a 100644 --- a/src/mainboard/google/brya/variants/trulo/memory/Makefile.mk +++ b/src/mainboard/google/brya/variants/trulo/memory/Makefile.mk @@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-or-later # This is an auto-generated file. Do not edit!! # Generated by: -# /tmp/go-build204585115/b001/exe/part_id_gen ADL lp5 src/mainboard/google/brya/variants/trulo/memory src/mainboard/google/brya/variants/trulo/memory/mem_parts_used.txt +# ./util/spd_tools/bin/part_id_gen ADL lp5 src/mainboard/google/brya/variants/trulo/memory src/mainboard/google/brya/variants/trulo/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 diff --git a/src/mainboard/google/brya/variants/trulo/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/trulo/memory/dram_id.generated.txt index 8ce2480eec..8790f22b46 100644 --- a/src/mainboard/google/brya/variants/trulo/memory/dram_id.generated.txt +++ b/src/mainboard/google/brya/variants/trulo/memory/dram_id.generated.txt @@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-or-later # This is an auto-generated file. Do not edit!! # Generated by: -# /tmp/go-build204585115/b001/exe/part_id_gen ADL lp5 src/mainboard/google/brya/variants/trulo/memory src/mainboard/google/brya/variants/trulo/memory/mem_parts_used.txt +# ./util/spd_tools/bin/part_id_gen ADL lp5 src/mainboard/google/brya/variants/trulo/memory src/mainboard/google/brya/variants/trulo/memory/mem_parts_used.txt DRAM Part Name ID to assign +MT62F512M32D2DR-031 WT:B 0 (0000) diff --git a/src/mainboard/google/brya/variants/trulo/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/trulo/memory/mem_parts_used.txt index 2499005682..fc41c85c33 100644 --- a/src/mainboard/google/brya/variants/trulo/memory/mem_parts_used.txt +++ b/src/mainboard/google/brya/variants/trulo/memory/mem_parts_used.txt @@ -9,3 +9,4 @@ # See util/spd_tools/README.md for more details and instructions. # Part Name +MT62F512M32D2DR-031 WT:B -- cgit v1.2.3