From 7aeb1e627c9a670988137f85fa450a1c5165448c Mon Sep 17 00:00:00 2001 From: Sunwei Li Date: Thu, 22 Jul 2021 17:42:51 +0800 Subject: [PATCH] mb/google/dedede/var/cappy2: Generate SPD ID for supported memory parts Add supported memory 'K4U6E3S4AA-MGCR' for cappy2 BUG=None TEST=Build the cappy2 board. Signed-off-by: Sunwei Li Change-Id: Ie76a4dca607bb2c3261bbe5478209a43e8430591 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56514 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Karthik Ramasubramanian --- .../google/dedede/variants/cappy2/memory/Makefile.inc | 4 ++-- .../dedede/variants/cappy2/memory/dram_id.generated.txt | 1 + .../google/dedede/variants/cappy2/memory/mem_parts_used.txt | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/dedede/variants/cappy2/memory/Makefile.inc b/src/mainboard/google/dedede/variants/cappy2/memory/Makefile.inc index b0ca2223a8..1d39fbc6b4 100644 --- a/src/mainboard/google/dedede/variants/cappy2/memory/Makefile.inc +++ b/src/mainboard/google/dedede/variants/cappy2/memory/Makefile.inc @@ -1,5 +1,5 @@ ## 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. -SPD_SOURCES = placeholder.spd.hex +SPD_SOURCES = +SPD_SOURCES += lp4x-spd-1.hex # ID = 0(0b0000) Parts = K4U6E3S4AA-MGCR diff --git a/src/mainboard/google/dedede/variants/cappy2/memory/dram_id.generated.txt b/src/mainboard/google/dedede/variants/cappy2/memory/dram_id.generated.txt index fa247902ee..da0441c353 100644 --- a/src/mainboard/google/dedede/variants/cappy2/memory/dram_id.generated.txt +++ b/src/mainboard/google/dedede/variants/cappy2/memory/dram_id.generated.txt @@ -1 +1,2 @@ DRAM Part Name ID to assign +K4U6E3S4AA-MGCR 0 (0000) diff --git a/src/mainboard/google/dedede/variants/cappy2/memory/mem_parts_used.txt b/src/mainboard/google/dedede/variants/cappy2/memory/mem_parts_used.txt index e4258b530d..68284458e5 100644 --- a/src/mainboard/google/dedede/variants/cappy2/memory/mem_parts_used.txt +++ b/src/mainboard/google/dedede/variants/cappy2/memory/mem_parts_used.txt @@ -9,3 +9,4 @@ # See util/spd_tools/{ddr4,lp4x}/README.md for more details and instructions. # Part Name +K4U6E3S4AA-MGCR