From ad3962a21b9822f725743d2f40e8d3069d8ee1fe Mon Sep 17 00:00:00 2001 From: Reka Norman Date: Thu, 16 Sep 2021 13:52:53 +1000 Subject: mb/google/dedede: Migrate dedede to use SPD files under spd/ SPD files are being moved from the soc and mainboard directories to a centralised spd/ directory. This change migrates all dedede variants to use this new location. The contents of the new SPDs are identical, only their file paths have changed. The variant Makefile.inc and dram_id.generated.txt files were generated using the part_id_gen tool. E.g. for cret: util/spd_tools/bin/part_id_gen \ JSL \ lp4x \ src/mainboard/google/dedede/variants/cret/memory \ src/mainboard/google/dedede/variants/cret/memory/mem_parts_used.txt For cappy, the Makefile.inc was manually modified to use the new placeholder value. BUG=b:191776301 TEST=Check that each variant's coreboot.rom is the same with and without this change. Built using: abuild -p none -t google/dedede -a -x --timeless Change-Id: I2871ff45d6202520d4466b68a4d5bb283faf2b63 Signed-off-by: Reka Norman Reviewed-on: https://review.coreboot.org/c/coreboot/+/57734 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/mainboard/google/dedede/variants/gooey/memory/Makefile.inc | 8 +++++--- .../google/dedede/variants/gooey/memory/dram_id.generated.txt | 5 +++++ 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'src/mainboard/google/dedede/variants/gooey') diff --git a/src/mainboard/google/dedede/variants/gooey/memory/Makefile.inc b/src/mainboard/google/dedede/variants/gooey/memory/Makefile.inc index c0c0902aa2..9c1882a51f 100644 --- a/src/mainboard/google/dedede/variants/gooey/memory/Makefile.inc +++ b/src/mainboard/google/dedede/variants/gooey/memory/Makefile.inc @@ -1,5 +1,7 @@ -## SPDX-License-Identifier: GPL-2.0-or-later -## This is an auto-generated file. Do not edit!! +# 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/gooey/memory src/mainboard/google/dedede/variants/gooey/memory/mem_list_variant.txt SPD_SOURCES = -SPD_SOURCES += lp4x-spd-1.hex # ID = 0(0b0000) Parts = MT53E512M32D2NP-046 WT:E, K4U6E3S4AA-MGCR, H9HCNNNBKMMLXR-NEE, MT53E512M32D1NP-046 WT:B +SPD_SOURCES += spd/lp4x/set-1/spd-1.hex # ID = 0(0b0000) Parts = MT53E512M32D2NP-046 WT:E, K4U6E3S4AA-MGCR, H9HCNNNBKMMLXR-NEE, MT53E512M32D1NP-046 WT:B diff --git a/src/mainboard/google/dedede/variants/gooey/memory/dram_id.generated.txt b/src/mainboard/google/dedede/variants/gooey/memory/dram_id.generated.txt index 7576d179b7..7803113128 100644 --- a/src/mainboard/google/dedede/variants/gooey/memory/dram_id.generated.txt +++ b/src/mainboard/google/dedede/variants/gooey/memory/dram_id.generated.txt @@ -1,3 +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 JSL lp4x src/mainboard/google/dedede/variants/gooey/memory src/mainboard/google/dedede/variants/gooey/memory/mem_list_variant.txt + DRAM Part Name ID to assign MT53E512M32D2NP-046 WT:E 0 (0000) K4U6E3S4AA-MGCR 0 (0000) -- cgit v1.2.3