From 211b64eeebc8ae18587d79a0dc9147dbffbd8249 Mon Sep 17 00:00:00 2001 From: Tony Huang Date: Fri, 10 Jun 2022 11:39:34 +0800 Subject: mb/google/dedede/var/shotzo: Generate SPD ID for supported parts Add supported memory parts in the mem_list_variant.txt and generate the SPD ID for the parts. The memory parts being added are: - MT53E512M32D2NP-046 WT:E - H9HCNNNBKMMLXR-NEE - K4U6E3S4AA-MGCR - MT53E512M32D1NP-046 WT:B - H54G46CYRBX267 - K4U6E3S4AB-MGCL - K4U6E3S4AA-MGCL BUG=b:235303242 BRANCH=dedede TEST=build Change-Id: Ie0ffdfed47b1791b990affd9eee262faede4b0c8 Signed-off-by: Tony Huang Reviewed-on: https://review.coreboot.org/c/coreboot/+/65081 Reviewed-by: Tim Wawrzynczak Tested-by: build bot (Jenkins) Reviewed-by: Henry Sun --- .../google/dedede/variants/shotzo/memory/Makefile.inc | 6 ++++-- .../variants/shotzo/memory/dram_id.generated.txt | 12 ++++++++++++ .../dedede/variants/shotzo/memory/mem_parts_used.txt | 18 +++++++----------- 3 files changed, 23 insertions(+), 13 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/google/dedede/variants/shotzo/memory/Makefile.inc b/src/mainboard/google/dedede/variants/shotzo/memory/Makefile.inc index eace2e443e..23779f4701 100644 --- a/src/mainboard/google/dedede/variants/shotzo/memory/Makefile.inc +++ b/src/mainboard/google/dedede/variants/shotzo/memory/Makefile.inc @@ -1,5 +1,7 @@ # 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 JSL lp4x src/mainboard/google/dedede/variants/shotzo/memory/ src/mainboard/google/dedede/variants/shotzo/memory/mem_parts_used.txt -SPD_SOURCES = placeholder +SPD_SOURCES = +SPD_SOURCES += spd/lp4x/set-1/spd-1.hex # ID = 0(0b0000) Parts = MT53E512M32D2NP-046 WT:E, H9HCNNNBKMMLXR-NEE, K4U6E3S4AA-MGCR, MT53E512M32D1NP-046 WT:B, H54G46CYRBX267, K4U6E3S4AB-MGCL, K4U6E3S4AA-MGCL diff --git a/src/mainboard/google/dedede/variants/shotzo/memory/dram_id.generated.txt b/src/mainboard/google/dedede/variants/shotzo/memory/dram_id.generated.txt index fa247902ee..4ee3c55fbe 100644 --- a/src/mainboard/google/dedede/variants/shotzo/memory/dram_id.generated.txt +++ b/src/mainboard/google/dedede/variants/shotzo/memory/dram_id.generated.txt @@ -1 +1,13 @@ +# 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 JSL lp4x src/mainboard/google/dedede/variants/shotzo/memory/ src/mainboard/google/dedede/variants/shotzo/memory/mem_parts_used.txt + DRAM Part Name ID to assign +MT53E512M32D2NP-046 WT:E 0 (0000) +H9HCNNNBKMMLXR-NEE 0 (0000) +K4U6E3S4AA-MGCR 0 (0000) +MT53E512M32D1NP-046 WT:B 0 (0000) +H54G46CYRBX267 0 (0000) +K4U6E3S4AB-MGCL 0 (0000) +K4U6E3S4AA-MGCL 0 (0000) diff --git a/src/mainboard/google/dedede/variants/shotzo/memory/mem_parts_used.txt b/src/mainboard/google/dedede/variants/shotzo/memory/mem_parts_used.txt index 96211370d9..4a3e217521 100644 --- a/src/mainboard/google/dedede/variants/shotzo/memory/mem_parts_used.txt +++ b/src/mainboard/google/dedede/variants/shotzo/memory/mem_parts_used.txt @@ -1,11 +1,7 @@ -# This is a CSV file containing a list of memory parts used by this variant. -# One part per line with an optional fixed ID in column 2. -# Only include a fixed ID if it is required for legacy reasons! -# Generated IDs are dependent on the order of parts in this file, -# so new parts must always be added at the end of the file! -# -# Generate an updated Makefile.inc and dram_id.generated.txt by running the -# part_id_gen tool from util/spd_tools. -# See util/spd_tools/README.md for more details and instructions. - -# Part Name +MT53E512M32D2NP-046 WT:E +H9HCNNNBKMMLXR-NEE +K4U6E3S4AA-MGCR +MT53E512M32D1NP-046 WT:B +H54G46CYRBX267 +K4U6E3S4AB-MGCL +K4U6E3S4AA-MGCL -- cgit v1.2.3