From e279fe7070ef6f7ad38240ff8e5758075b976386 Mon Sep 17 00:00:00 2001 From: "kevin3.yang" Date: Thu, 20 Apr 2023 17:32:24 +0800 Subject: mb/google/dedede/var/boxy: Generate SPD ID for supported memory part Add boxy supported memory parts in mem_parts_used.txt, generate SPD id for this part. 1. Samsung K4U6E3S4AB-MGCL 2. Hynix H54G46CYRBX267 3. Micron MT53E512M32D1NP-046 WT:B BUG=b:278983561 TEST=Use part_id_gen to generate related settings Signed-off-by: kevin3.yang Change-Id: I317f2b31774627706babdea10776af05ab692d1e Reviewed-on: https://review.coreboot.org/c/coreboot/+/74586 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: Derek Huang --- src/mainboard/google/dedede/variants/boxy/memory/Makefile.inc | 6 ++++-- .../google/dedede/variants/boxy/memory/dram_id.generated.txt | 8 ++++++++ .../google/dedede/variants/boxy/memory/mem_parts_used.txt | 3 +++ 3 files changed, 15 insertions(+), 2 deletions(-) (limited to 'src/mainboard/google/dedede/variants') diff --git a/src/mainboard/google/dedede/variants/boxy/memory/Makefile.inc b/src/mainboard/google/dedede/variants/boxy/memory/Makefile.inc index eace2e443e..fa024d437d 100644 --- a/src/mainboard/google/dedede/variants/boxy/memory/Makefile.inc +++ b/src/mainboard/google/dedede/variants/boxy/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/boxy/memory/ src/mainboard/google/dedede/variants/boxy/memory/mem_parts_used.txt -SPD_SOURCES = placeholder +SPD_SOURCES = +SPD_SOURCES += spd/lp4x/set-1/spd-1.hex # ID = 0(0b0000) Parts = K4U6E3S4AB-MGCL, H54G46CYRBX267, MT53E512M32D1NP-046 WT:B diff --git a/src/mainboard/google/dedede/variants/boxy/memory/dram_id.generated.txt b/src/mainboard/google/dedede/variants/boxy/memory/dram_id.generated.txt index fa247902ee..52ffb42ae0 100644 --- a/src/mainboard/google/dedede/variants/boxy/memory/dram_id.generated.txt +++ b/src/mainboard/google/dedede/variants/boxy/memory/dram_id.generated.txt @@ -1 +1,9 @@ +# 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/boxy/memory/ src/mainboard/google/dedede/variants/boxy/memory/mem_parts_used.txt + DRAM Part Name ID to assign +K4U6E3S4AB-MGCL 0 (0000) +H54G46CYRBX267 0 (0000) +MT53E512M32D1NP-046 WT:B 0 (0000) diff --git a/src/mainboard/google/dedede/variants/boxy/memory/mem_parts_used.txt b/src/mainboard/google/dedede/variants/boxy/memory/mem_parts_used.txt index 96211370d9..f971a013e4 100644 --- a/src/mainboard/google/dedede/variants/boxy/memory/mem_parts_used.txt +++ b/src/mainboard/google/dedede/variants/boxy/memory/mem_parts_used.txt @@ -9,3 +9,6 @@ # See util/spd_tools/README.md for more details and instructions. # Part Name +K4U6E3S4AB-MGCL +H54G46CYRBX267 +MT53E512M32D1NP-046 WT:B -- cgit v1.2.3