From 6dc6ee6e72bb302740ea50782981f17635dbf6e5 Mon Sep 17 00:00:00 2001 From: chenzanxi Date: Mon, 25 Jan 2021 20:04:30 +0800 Subject: mb/google/dedede/var/sasukette: Generate SPD ID for supported memory parts Add supported memory parts in the mem_parts_used.txt and generate the SPD ID for the memory parts. The memory parts being added are: K4U6E3S4AA-MGCR BUG=None TEST=Build the sasukette board. Change-Id: I57c9d22ae655032120f19add98ef454853428af5 Signed-off-by: chenzanxi Reviewed-on: https://review.coreboot.org/c/coreboot/+/49900 Tested-by: build bot (Jenkins) Reviewed-by: Karthik Ramasubramanian Reviewed-by: Paul Fagerburg --- src/mainboard/google/dedede/variants/sasukette/memory/Makefile.inc | 4 ++-- .../google/dedede/variants/sasukette/memory/dram_id.generated.txt | 1 + .../google/dedede/variants/sasukette/memory/mem_parts_used.txt | 7 +------ 3 files changed, 4 insertions(+), 8 deletions(-) (limited to 'src/mainboard/google/dedede/variants/sasukette') diff --git a/src/mainboard/google/dedede/variants/sasukette/memory/Makefile.inc b/src/mainboard/google/dedede/variants/sasukette/memory/Makefile.inc index b0ca2223a8..1d39fbc6b4 100644 --- a/src/mainboard/google/dedede/variants/sasukette/memory/Makefile.inc +++ b/src/mainboard/google/dedede/variants/sasukette/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/sasukette/memory/dram_id.generated.txt b/src/mainboard/google/dedede/variants/sasukette/memory/dram_id.generated.txt index fa247902ee..da0441c353 100644 --- a/src/mainboard/google/dedede/variants/sasukette/memory/dram_id.generated.txt +++ b/src/mainboard/google/dedede/variants/sasukette/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/sasukette/memory/mem_parts_used.txt b/src/mainboard/google/dedede/variants/sasukette/memory/mem_parts_used.txt index 59381dcf5b..e916160610 100644 --- a/src/mainboard/google/dedede/variants/sasukette/memory/mem_parts_used.txt +++ b/src/mainboard/google/dedede/variants/sasukette/memory/mem_parts_used.txt @@ -1,6 +1 @@ -# This is a CSV file containing a list of memory parts used by this variant. -# Generate an updated Makefile.inc and dram_id.generated.txt by running the -# gen_part_id tool from util/spd_tools/lp4x -# See util/spd_tools/lp4x/README.md for more details and instructions. - -# Part Name +K4U6E3S4AA-MGCR -- cgit v1.2.3