From 572db7f4c78cdae0380b671a3c967c2b4f888bc7 Mon Sep 17 00:00:00 2001 From: Seunghwan Kim Date: Wed, 2 Aug 2023 18:39:44 +0900 Subject: [PATCH] mb/google/nissa/var/pirrha: Generate SPD ID for supported memory part Add pirrha supported memory parts in mem_parts_used.txt, generate SPD IDs for them. 1. K3KL8L80CM-MGCT (Samsung) 2. K3KL6L60GM-MGCT (Samsung) BUG=b:292134655 BRANCH=nissa TEST=FW_NAME=pirrha emerge-nissa coreboot chromeos-bootimage Change-Id: Ib3f5a5e5c8296f976d92f0196026d7bb63845664 Signed-off-by: Seunghwan Kim Reviewed-on: https://review.coreboot.org/c/coreboot/+/76881 Reviewed-by: Derek Huang Tested-by: build bot (Jenkins) --- .../google/brya/variants/pirrha/memory/Makefile.inc | 7 +++++-- .../brya/variants/pirrha/memory/dram_id.generated.txt | 7 +++++++ .../google/brya/variants/pirrha/memory/mem_parts_used.txt | 2 ++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/brya/variants/pirrha/memory/Makefile.inc b/src/mainboard/google/brya/variants/pirrha/memory/Makefile.inc index eace2e443e..248011d2ba 100644 --- a/src/mainboard/google/brya/variants/pirrha/memory/Makefile.inc +++ b/src/mainboard/google/brya/variants/pirrha/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/pirrha/memory src/mainboard/google/brya/variants/pirrha/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 +SPD_SOURCES += spd/lp5/set-0/spd-9.hex # ID = 1(0b0001) Parts = K3KL6L60GM-MGCT diff --git a/src/mainboard/google/brya/variants/pirrha/memory/dram_id.generated.txt b/src/mainboard/google/brya/variants/pirrha/memory/dram_id.generated.txt index fa247902ee..2e5b4ad361 100644 --- a/src/mainboard/google/brya/variants/pirrha/memory/dram_id.generated.txt +++ b/src/mainboard/google/brya/variants/pirrha/memory/dram_id.generated.txt @@ -1 +1,8 @@ +# 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/pirrha/memory src/mainboard/google/brya/variants/pirrha/memory/mem_parts_used.txt + DRAM Part Name ID to assign +K3KL8L80CM-MGCT 0 (0000) +K3KL6L60GM-MGCT 1 (0001) diff --git a/src/mainboard/google/brya/variants/pirrha/memory/mem_parts_used.txt b/src/mainboard/google/brya/variants/pirrha/memory/mem_parts_used.txt index 96211370d9..9de4d15120 100644 --- a/src/mainboard/google/brya/variants/pirrha/memory/mem_parts_used.txt +++ b/src/mainboard/google/brya/variants/pirrha/memory/mem_parts_used.txt @@ -9,3 +9,5 @@ # See util/spd_tools/README.md for more details and instructions. # Part Name +K3KL8L80CM-MGCT +K3KL6L60GM-MGCT