diff options
author | Reka Norman <rekanorman@google.com> | 2021-09-16 13:52:53 +1000 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-09-23 06:23:01 +0000 |
commit | ad3962a21b9822f725743d2f40e8d3069d8ee1fe (patch) | |
tree | 964c52cca9d8ba399c0fe83dd94cbf94b9e55b75 /src/mainboard/google/dedede/variants/magolor | |
parent | d642bb7f6a65e97451095e6423fbf23d3e79e100 (diff) |
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 <rekanorman@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57734
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/dedede/variants/magolor')
-rw-r--r-- | src/mainboard/google/dedede/variants/magolor/memory/Makefile.inc | 12 | ||||
-rw-r--r-- | src/mainboard/google/dedede/variants/magolor/memory/dram_id.generated.txt | 5 |
2 files changed, 12 insertions, 5 deletions
diff --git a/src/mainboard/google/dedede/variants/magolor/memory/Makefile.inc b/src/mainboard/google/dedede/variants/magolor/memory/Makefile.inc index e5276f0c11..2a4c741842 100644 --- a/src/mainboard/google/dedede/variants/magolor/memory/Makefile.inc +++ b/src/mainboard/google/dedede/variants/magolor/memory/Makefile.inc @@ -1,7 +1,9 @@ -## 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/magolor/memory src/mainboard/google/dedede/variants/magolor/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, K4U6E3S4AB-MGCL, H54G46CYRBX267 -SPD_SOURCES += lp4x-spd-4.hex # ID = 1(0b0001) Parts = MT53E1G32D2NP-046 WT:A -SPD_SOURCES += lp4x-spd-3.hex # ID = 2(0b0010) Parts = K4UBE3D4AA-MGCR +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, K4U6E3S4AB-MGCL, H54G46CYRBX267 +SPD_SOURCES += spd/lp4x/set-1/spd-4.hex # ID = 1(0b0001) Parts = MT53E1G32D2NP-046 WT:A +SPD_SOURCES += spd/lp4x/set-1/spd-3.hex # ID = 2(0b0010) Parts = K4UBE3D4AA-MGCR diff --git a/src/mainboard/google/dedede/variants/magolor/memory/dram_id.generated.txt b/src/mainboard/google/dedede/variants/magolor/memory/dram_id.generated.txt index cf053ecbc8..9194c30d01 100644 --- a/src/mainboard/google/dedede/variants/magolor/memory/dram_id.generated.txt +++ b/src/mainboard/google/dedede/variants/magolor/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/magolor/memory src/mainboard/google/dedede/variants/magolor/memory/mem_list_variant.txt + DRAM Part Name ID to assign MT53E512M32D2NP-046 WT:E 0 (0000) K4U6E3S4AA-MGCR 0 (0000) |