summaryrefslogtreecommitdiff
path: root/src/mainboard/google/volteer/variants/elemi
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/elemi
parent2d501aa0fd82a58d138e28256a4b96eab4c825c2 (diff)
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/elemi')
-rw-r--r--src/mainboard/google/volteer/variants/elemi/memory/Makefile.inc14
-rw-r--r--src/mainboard/google/volteer/variants/elemi/memory/dram_id.generated.txt5
2 files changed, 13 insertions, 6 deletions
diff --git a/src/mainboard/google/volteer/variants/elemi/memory/Makefile.inc b/src/mainboard/google/volteer/variants/elemi/memory/Makefile.inc
index a70a7d90bd..c342cdc50b 100644
--- a/src/mainboard/google/volteer/variants/elemi/memory/Makefile.inc
+++ b/src/mainboard/google/volteer/variants/elemi/memory/Makefile.inc
@@ -1,8 +1,10 @@
-## 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/elemi/memory src/mainboard/google/volteer/variants/elemi/memory/mem_list_variant.txt
SPD_SOURCES =
-SPD_SOURCES += ddr4-spd-2.hex # ID = 0(0b0000) Parts = H5ANAG6NCMR-XNC
-SPD_SOURCES += ddr4-spd-7.hex # ID = 1(0b0001) Parts = MT40A1G16KD-062E:E, K4AAG165WA-BCWE
-SPD_SOURCES += ddr4-spd-1.hex # ID = 2(0b0010) Parts = H5AN8G6NDJR-XNC, MT40A512M16TB-062E:J, K4A8G165WC-BCWE, MT40A512M16TB-062E:R
-SPD_SOURCES += ddr4-spd-9.hex # ID = 3(0b0011) Parts = H5ANAG6NCJR-XNC, K4AAG165WB-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-2.hex # ID = 0(0b0000) Parts = H5ANAG6NCMR-XNC
+SPD_SOURCES += spd/ddr4/set-0/spd-7.hex # ID = 1(0b0001) Parts = MT40A1G16KD-062E:E, K4AAG165WA-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 2(0b0010) Parts = H5AN8G6NDJR-XNC, MT40A512M16TB-062E:J, K4A8G165WC-BCWE, MT40A512M16TB-062E:R
+SPD_SOURCES += spd/ddr4/set-0/spd-9.hex # ID = 3(0b0011) Parts = H5ANAG6NCJR-XNC, K4AAG165WB-BCWE
diff --git a/src/mainboard/google/volteer/variants/elemi/memory/dram_id.generated.txt b/src/mainboard/google/volteer/variants/elemi/memory/dram_id.generated.txt
index 2e12affc3c..9b2b158038 100644
--- a/src/mainboard/google/volteer/variants/elemi/memory/dram_id.generated.txt
+++ b/src/mainboard/google/volteer/variants/elemi/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/elemi/memory src/mainboard/google/volteer/variants/elemi/memory/mem_list_variant.txt
+
DRAM Part Name ID to assign
H5ANAG6NCMR-XNC 0 (0000)
MT40A1G16KD-062E:E 1 (0001)