summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/volteer/variants/eldrid
diff options
context:
space:
mode:
authorReka Norman <rekanorman@google.com>2021-09-15 16:33:51 +1000
committerPatrick Georgi <pgeorgi@google.com>2021-09-23 06:22:40 +0000
commit102a71c0d242cadba3ee645878af99f9cdacc431 (patch)
tree174eb0a8bce399a51be0490034937901ab6e96bb /src/mainboard/google/volteer/variants/eldrid
parent2d501aa0fd82a58d138e28256a4b96eab4c825c2 (diff)
downloadcoreboot-102a71c0d242cadba3ee645878af99f9cdacc431.tar.gz
coreboot-102a71c0d242cadba3ee645878af99f9cdacc431.tar.bz2
coreboot-102a71c0d242cadba3ee645878af99f9cdacc431.zip
mb/google/volteer: Migrate volteer 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 volteer 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 voema: util/spd_tools/bin/part_id_gen \ TGL \ lp4x \ src/mainboard/google/volteer/variants/voema/memory \ src/mainboard/google/volteer/variants/voema/memory/mem_parts_used.txt 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/volteer -a -x --timeless Change-Id: Ibd4f42fd421bfa58354b532fe7a67ee59dac5e1d Signed-off-by: Reka Norman <rekanorman@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57695 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/google/volteer/variants/eldrid')
-rw-r--r--src/mainboard/google/volteer/variants/eldrid/memory/Makefile.inc16
-rw-r--r--src/mainboard/google/volteer/variants/eldrid/memory/dram_id.generated.txt5
2 files changed, 14 insertions, 7 deletions
diff --git a/src/mainboard/google/volteer/variants/eldrid/memory/Makefile.inc b/src/mainboard/google/volteer/variants/eldrid/memory/Makefile.inc
index 7fedb428987b..1749b57fe8ce 100644
--- a/src/mainboard/google/volteer/variants/eldrid/memory/Makefile.inc
+++ b/src/mainboard/google/volteer/variants/eldrid/memory/Makefile.inc
@@ -1,9 +1,11 @@
-## 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 TGL ddr4 src/mainboard/google/volteer/variants/eldrid/memory src/mainboard/google/volteer/variants/eldrid/memory/mem_list_variant.txt
SPD_SOURCES =
-SPD_SOURCES += ddr4-spd-1.hex # ID = 0(0b0000) Parts = H5AN8G6NDJR-XNC, K4A8G165WC-BCWE, MT40A512M16TB-062E:R
-SPD_SOURCES += ddr4-spd-1.hex # ID = 1(0b0001) Parts = MT40A512M16TB-062E:J
-SPD_SOURCES += ddr4-spd-2.hex # ID = 2(0b0010) Parts = H5ANAG6NCMR-XNC
-SPD_SOURCES += ddr4-spd-7.hex # ID = 3(0b0011) Parts = K4AAG165WA-BCWE, MT40A1G16KD-062E:E
-SPD_SOURCES += ddr4-spd-9.hex # ID = 4(0b0100) Parts = H5ANAG6NCJR-XNC, K4AAG165WB-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 0(0b0000) Parts = H5AN8G6NDJR-XNC, K4A8G165WC-BCWE, MT40A512M16TB-062E:R
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 1(0b0001) Parts = MT40A512M16TB-062E:J
+SPD_SOURCES += spd/ddr4/set-0/spd-2.hex # ID = 2(0b0010) Parts = H5ANAG6NCMR-XNC
+SPD_SOURCES += spd/ddr4/set-0/spd-7.hex # ID = 3(0b0011) Parts = K4AAG165WA-BCWE, MT40A1G16KD-062E:E
+SPD_SOURCES += spd/ddr4/set-0/spd-9.hex # ID = 4(0b0100) Parts = H5ANAG6NCJR-XNC, K4AAG165WB-BCWE
diff --git a/src/mainboard/google/volteer/variants/eldrid/memory/dram_id.generated.txt b/src/mainboard/google/volteer/variants/eldrid/memory/dram_id.generated.txt
index 4b316d0094b4..b8de9fa2c443 100644
--- a/src/mainboard/google/volteer/variants/eldrid/memory/dram_id.generated.txt
+++ b/src/mainboard/google/volteer/variants/eldrid/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 TGL ddr4 src/mainboard/google/volteer/variants/eldrid/memory src/mainboard/google/volteer/variants/eldrid/memory/mem_list_variant.txt
+
DRAM Part Name ID to assign
H5AN8G6NDJR-XNC 0 (0000)
MT40A512M16TB-062E:J 1 (0001)