summaryrefslogtreecommitdiff
path: root/src/mainboard/google/zork/variants
diff options
context:
space:
mode:
authorReka Norman <rekanorman@google.com>2021-09-17 20:25:37 +1000
committerFurquan Shaikh <furquan@google.com>2021-09-23 06:51:50 +0000
commitafedc210ffdb4fc54f9276c0512c61202bd7bdcb (patch)
tree902b31a0339e0ea70892aac475493e326cb0a439 /src/mainboard/google/zork/variants
parentffa61b0f60d8e988a72ea8d2777b9efa6c35d304 (diff)
mb/google/zork: Migrate zork 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 zork 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 dalboz: util/spd_tools/bin/part_id_gen \ PCO \ ddr4 \ src/mainboard/google/zork/variants/dalboz/spd \ src/mainboard/google/zork/variants/dalboz/spd/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/zork -a -x --timeless Signed-off-by: Reka Norman <rekanorman@google.com> Change-Id: I305a24f9345bab28ff35e317b6e7fd7efba22413 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57772 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/zork/variants')
-rw-r--r--src/mainboard/google/zork/variants/berknip/Makefile.inc2
-rw-r--r--src/mainboard/google/zork/variants/berknip/spd/Makefile.inc24
-rw-r--r--src/mainboard/google/zork/variants/berknip/spd/dram_id.generated.txt5
-rw-r--r--src/mainboard/google/zork/variants/dalboz/Makefile.inc2
-rw-r--r--src/mainboard/google/zork/variants/dalboz/spd/Makefile.inc16
-rw-r--r--src/mainboard/google/zork/variants/dalboz/spd/dram_id.generated.txt5
-rw-r--r--src/mainboard/google/zork/variants/dirinboz/Makefile.inc2
-rw-r--r--src/mainboard/google/zork/variants/dirinboz/spd/Makefile.inc28
-rw-r--r--src/mainboard/google/zork/variants/dirinboz/spd/dram_id.generated.txt5
-rw-r--r--src/mainboard/google/zork/variants/ezkinil/Makefile.inc2
-rw-r--r--src/mainboard/google/zork/variants/ezkinil/spd/Makefile.inc16
-rw-r--r--src/mainboard/google/zork/variants/ezkinil/spd/dram_id.generated.txt5
-rw-r--r--src/mainboard/google/zork/variants/gumboz/Makefile.inc2
-rw-r--r--src/mainboard/google/zork/variants/gumboz/spd/Makefile.inc28
-rw-r--r--src/mainboard/google/zork/variants/gumboz/spd/dram_id.generated.txt5
-rw-r--r--src/mainboard/google/zork/variants/morphius/Makefile.inc2
-rw-r--r--src/mainboard/google/zork/variants/morphius/spd/Makefile.inc26
-rw-r--r--src/mainboard/google/zork/variants/morphius/spd/dram_id.generated.txt5
-rw-r--r--src/mainboard/google/zork/variants/shuboz/Makefile.inc1
-rw-r--r--src/mainboard/google/zork/variants/shuboz/spd/Makefile.inc14
-rw-r--r--src/mainboard/google/zork/variants/shuboz/spd/dram_id.generated.txt5
-rw-r--r--src/mainboard/google/zork/variants/trembyle/Makefile.inc2
-rw-r--r--src/mainboard/google/zork/variants/trembyle/spd/Makefile.inc10
-rw-r--r--src/mainboard/google/zork/variants/trembyle/spd/dram_id.generated.txt5
-rw-r--r--src/mainboard/google/zork/variants/vilboz/Makefile.inc2
-rw-r--r--src/mainboard/google/zork/variants/vilboz/spd/Makefile.inc24
-rw-r--r--src/mainboard/google/zork/variants/vilboz/spd/dram_id.generated.txt5
-rw-r--r--src/mainboard/google/zork/variants/woomax/Makefile.inc2
-rw-r--r--src/mainboard/google/zork/variants/woomax/spd/Makefile.inc30
-rw-r--r--src/mainboard/google/zork/variants/woomax/spd/dram_id.generated.txt5
30 files changed, 168 insertions, 117 deletions
diff --git a/src/mainboard/google/zork/variants/berknip/Makefile.inc b/src/mainboard/google/zork/variants/berknip/Makefile.inc
index 51d19fe9ba..87bc511877 100644
--- a/src/mainboard/google/zork/variants/berknip/Makefile.inc
+++ b/src/mainboard/google/zork/variants/berknip/Makefile.inc
@@ -1,6 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
-subdirs-y += ./spd
-
ramstage-y += gpio.c
ramstage-y += variant.c
diff --git a/src/mainboard/google/zork/variants/berknip/spd/Makefile.inc b/src/mainboard/google/zork/variants/berknip/spd/Makefile.inc
index b58483803c..019318344e 100644
--- a/src/mainboard/google/zork/variants/berknip/spd/Makefile.inc
+++ b/src/mainboard/google/zork/variants/berknip/spd/Makefile.inc
@@ -1,13 +1,15 @@
-## 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 PCO ddr4 src/mainboard/google/zork/variants/berknip/spd src/mainboard/google/zork/variants/berknip/spd/mem_parts_used.txt
SPD_SOURCES =
-SPD_SOURCES += ddr4-spd-3.hex # ID = 0(0b0000) Parts = K4A8G165WC-BCTD
-SPD_SOURCES += ddr4-spd-8.hex # ID = 1(0b0001) Parts = K4AAG165WA-BCTD
-SPD_SOURCES += ddr4-spd-1.hex # ID = 2(0b0010) Parts = MT40A512M16TB-062E:J
-SPD_SOURCES += ddr4-spd-1.hex # ID = 3(0b0011) Parts = H5AN8G6NDJR-XNC
-SPD_SOURCES += ddr4-spd-9.hex # ID = 4(0b0100) Parts = H5ANAG6NCJR-XNC, K4AAG165WB-BCWE
-SPD_SOURCES += ddr4-spd-1.hex # ID = 5(0b0101) Parts = K4A8G165WC-BCWE
-SPD_SOURCES += ddr4-spd-7.hex # ID = 6(0b0110) Parts = MT40A1G16KD-062E:E
-SPD_SOURCES += ddr4-spd-2.hex # ID = 7(0b0111) Parts = H5ANAG6NCMR-XNC
-SPD_SOURCES += ddr4-spd-7.hex # ID = 8(0b1000) Parts = K4AAG165WA-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-3.hex # ID = 0(0b0000) Parts = K4A8G165WC-BCTD
+SPD_SOURCES += spd/ddr4/set-0/spd-8.hex # ID = 1(0b0001) Parts = K4AAG165WA-BCTD
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 2(0b0010) Parts = MT40A512M16TB-062E:J
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 3(0b0011) Parts = H5AN8G6NDJR-XNC
+SPD_SOURCES += spd/ddr4/set-0/spd-9.hex # ID = 4(0b0100) Parts = H5ANAG6NCJR-XNC, K4AAG165WB-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 5(0b0101) Parts = K4A8G165WC-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-7.hex # ID = 6(0b0110) Parts = MT40A1G16KD-062E:E
+SPD_SOURCES += spd/ddr4/set-0/spd-2.hex # ID = 7(0b0111) Parts = H5ANAG6NCMR-XNC
+SPD_SOURCES += spd/ddr4/set-0/spd-7.hex # ID = 8(0b1000) Parts = K4AAG165WA-BCWE
diff --git a/src/mainboard/google/zork/variants/berknip/spd/dram_id.generated.txt b/src/mainboard/google/zork/variants/berknip/spd/dram_id.generated.txt
index 090dc3ecf2..b9e8393905 100644
--- a/src/mainboard/google/zork/variants/berknip/spd/dram_id.generated.txt
+++ b/src/mainboard/google/zork/variants/berknip/spd/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 PCO ddr4 src/mainboard/google/zork/variants/berknip/spd src/mainboard/google/zork/variants/berknip/spd/mem_parts_used.txt
+
DRAM Part Name ID to assign
K4A8G165WC-BCTD 0 (0000)
MT40A512M16TB-062E:J 2 (0010)
diff --git a/src/mainboard/google/zork/variants/dalboz/Makefile.inc b/src/mainboard/google/zork/variants/dalboz/Makefile.inc
index 51d19fe9ba..87bc511877 100644
--- a/src/mainboard/google/zork/variants/dalboz/Makefile.inc
+++ b/src/mainboard/google/zork/variants/dalboz/Makefile.inc
@@ -1,6 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
-subdirs-y += ./spd
-
ramstage-y += gpio.c
ramstage-y += variant.c
diff --git a/src/mainboard/google/zork/variants/dalboz/spd/Makefile.inc b/src/mainboard/google/zork/variants/dalboz/spd/Makefile.inc
index e8ed39da29..e5f439c2d2 100644
--- a/src/mainboard/google/zork/variants/dalboz/spd/Makefile.inc
+++ b/src/mainboard/google/zork/variants/dalboz/spd/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 PCO ddr4 src/mainboard/google/zork/variants/dalboz/spd src/mainboard/google/zork/variants/dalboz/spd/mem_parts_used.txt
SPD_SOURCES =
-SPD_SOURCES += ddr4-spd-3.hex # ID = 0(0b0000) Parts = HMA851S6CJR6N-VK
-SPD_SOURCES += ddr4-spd-6.hex # ID = 1(0b0001) Parts = H5ANAG6NCMR-VKC
-SPD_SOURCES += ddr4-spd-3.hex # ID = 2(0b0010) Parts = K4A8G165WC-BCTD
-SPD_SOURCES += ddr4-spd-5.hex # ID = 3(0b0011) Parts = K4AAG165WB-MCTD
-SPD_SOURCES += ddr4-spd-1.hex # ID = 4(0b0100) Parts = K4A8G165WC-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-3.hex # ID = 0(0b0000) Parts = HMA851S6CJR6N-VK
+SPD_SOURCES += spd/ddr4/set-0/spd-6.hex # ID = 1(0b0001) Parts = H5ANAG6NCMR-VKC
+SPD_SOURCES += spd/ddr4/set-0/spd-3.hex # ID = 2(0b0010) Parts = K4A8G165WC-BCTD
+SPD_SOURCES += spd/ddr4/set-0/spd-5.hex # ID = 3(0b0011) Parts = K4AAG165WB-MCTD
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 4(0b0100) Parts = K4A8G165WC-BCWE
diff --git a/src/mainboard/google/zork/variants/dalboz/spd/dram_id.generated.txt b/src/mainboard/google/zork/variants/dalboz/spd/dram_id.generated.txt
index f70d7f34d4..6276d19982 100644
--- a/src/mainboard/google/zork/variants/dalboz/spd/dram_id.generated.txt
+++ b/src/mainboard/google/zork/variants/dalboz/spd/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 PCO ddr4 src/mainboard/google/zork/variants/dalboz/spd src/mainboard/google/zork/variants/dalboz/spd/mem_parts_used.txt
+
DRAM Part Name ID to assign
HMA851S6CJR6N-VK 0 (0000)
H5ANAG6NCMR-VKC 1 (0001)
diff --git a/src/mainboard/google/zork/variants/dirinboz/Makefile.inc b/src/mainboard/google/zork/variants/dirinboz/Makefile.inc
index 51d19fe9ba..87bc511877 100644
--- a/src/mainboard/google/zork/variants/dirinboz/Makefile.inc
+++ b/src/mainboard/google/zork/variants/dirinboz/Makefile.inc
@@ -1,6 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
-subdirs-y += ./spd
-
ramstage-y += gpio.c
ramstage-y += variant.c
diff --git a/src/mainboard/google/zork/variants/dirinboz/spd/Makefile.inc b/src/mainboard/google/zork/variants/dirinboz/spd/Makefile.inc
index 6d8e7495ba..605e49da40 100644
--- a/src/mainboard/google/zork/variants/dirinboz/spd/Makefile.inc
+++ b/src/mainboard/google/zork/variants/dirinboz/spd/Makefile.inc
@@ -1,15 +1,17 @@
-## 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 PCO ddr4 src/mainboard/google/zork/variants/dirinboz/spd src/mainboard/google/zork/variants/dirinboz/spd/mem_parts_used.txt
SPD_SOURCES =
-SPD_SOURCES += ddr4-spd-9.hex # ID = 0(0b0000) Parts = H5ANAG6NCJR-XNC, K4AAG165WB-BCWE
-SPD_SOURCES += ddr4-spd-empty.hex # ID = 1(0b0001)
-SPD_SOURCES += ddr4-spd-3.hex # ID = 2(0b0010) Parts = K4A8G165WC-BCTD
-SPD_SOURCES += ddr4-spd-empty.hex # ID = 3(0b0011)
-SPD_SOURCES += ddr4-spd-1.hex # ID = 4(0b0100) Parts = K4A8G165WC-BCWE
-SPD_SOURCES += ddr4-spd-1.hex # ID = 5(0b0101) Parts = H5AN8G6NDJR-XNC
-SPD_SOURCES += ddr4-spd-2.hex # ID = 6(0b0110) Parts = H5ANAG6NCMR-XNC
-SPD_SOURCES += ddr4-spd-1.hex # ID = 7(0b0111) Parts = MT40A512M16TB-062E:J
-SPD_SOURCES += ddr4-spd-7.hex # ID = 8(0b1000) Parts = MT40A1G16KD-062E:E
-SPD_SOURCES += ddr4-spd-8.hex # ID = 9(0b1001) Parts = K4AAG165WA-BCTD
-SPD_SOURCES += ddr4-spd-7.hex # ID = 10(0b1010) Parts = K4AAG165WA-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-9.hex # ID = 0(0b0000) Parts = H5ANAG6NCJR-XNC, K4AAG165WB-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-empty.hex # ID = 1(0b0001)
+SPD_SOURCES += spd/ddr4/set-0/spd-3.hex # ID = 2(0b0010) Parts = K4A8G165WC-BCTD
+SPD_SOURCES += spd/ddr4/set-0/spd-empty.hex # ID = 3(0b0011)
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 4(0b0100) Parts = K4A8G165WC-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 5(0b0101) Parts = H5AN8G6NDJR-XNC
+SPD_SOURCES += spd/ddr4/set-0/spd-2.hex # ID = 6(0b0110) Parts = H5ANAG6NCMR-XNC
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 7(0b0111) Parts = MT40A512M16TB-062E:J
+SPD_SOURCES += spd/ddr4/set-0/spd-7.hex # ID = 8(0b1000) Parts = MT40A1G16KD-062E:E
+SPD_SOURCES += spd/ddr4/set-0/spd-8.hex # ID = 9(0b1001) Parts = K4AAG165WA-BCTD
+SPD_SOURCES += spd/ddr4/set-0/spd-7.hex # ID = 10(0b1010) Parts = K4AAG165WA-BCWE
diff --git a/src/mainboard/google/zork/variants/dirinboz/spd/dram_id.generated.txt b/src/mainboard/google/zork/variants/dirinboz/spd/dram_id.generated.txt
index 9f9949cf87..f4e6597d3d 100644
--- a/src/mainboard/google/zork/variants/dirinboz/spd/dram_id.generated.txt
+++ b/src/mainboard/google/zork/variants/dirinboz/spd/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 PCO ddr4 src/mainboard/google/zork/variants/dirinboz/spd src/mainboard/google/zork/variants/dirinboz/spd/mem_parts_used.txt
+
DRAM Part Name ID to assign
K4A8G165WC-BCTD 2 (0010)
K4A8G165WC-BCWE 4 (0100)
diff --git a/src/mainboard/google/zork/variants/ezkinil/Makefile.inc b/src/mainboard/google/zork/variants/ezkinil/Makefile.inc
index 51d19fe9ba..87bc511877 100644
--- a/src/mainboard/google/zork/variants/ezkinil/Makefile.inc
+++ b/src/mainboard/google/zork/variants/ezkinil/Makefile.inc
@@ -1,6 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
-subdirs-y += ./spd
-
ramstage-y += gpio.c
ramstage-y += variant.c
diff --git a/src/mainboard/google/zork/variants/ezkinil/spd/Makefile.inc b/src/mainboard/google/zork/variants/ezkinil/spd/Makefile.inc
index 10dea1cd35..51330a60e6 100644
--- a/src/mainboard/google/zork/variants/ezkinil/spd/Makefile.inc
+++ b/src/mainboard/google/zork/variants/ezkinil/spd/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 PCO ddr4 src/mainboard/google/zork/variants/ezkinil/spd src/mainboard/google/zork/variants/ezkinil/spd/mem_parts_used.txt
SPD_SOURCES =
-SPD_SOURCES += ddr4-spd-3.hex # ID = 0(0b0000) Parts = H5AN8G6NCJR-VKC
-SPD_SOURCES += ddr4-spd-empty.hex # ID = 1(0b0001)
-SPD_SOURCES += ddr4-spd-1.hex # ID = 2(0b0010) Parts = MT40A512M16TB-062E:J
-SPD_SOURCES += ddr4-spd-7.hex # ID = 3(0b0011) Parts = MT40A1G16KD-062E:E
-SPD_SOURCES += ddr4-spd-3.hex # ID = 4(0b0100) Parts = K4A8G165WC-BCTD
+SPD_SOURCES += spd/ddr4/set-0/spd-3.hex # ID = 0(0b0000) Parts = H5AN8G6NCJR-VKC
+SPD_SOURCES += spd/ddr4/set-0/spd-empty.hex # ID = 1(0b0001)
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 2(0b0010) Parts = MT40A512M16TB-062E:J
+SPD_SOURCES += spd/ddr4/set-0/spd-7.hex # ID = 3(0b0011) Parts = MT40A1G16KD-062E:E
+SPD_SOURCES += spd/ddr4/set-0/spd-3.hex # ID = 4(0b0100) Parts = K4A8G165WC-BCTD
diff --git a/src/mainboard/google/zork/variants/ezkinil/spd/dram_id.generated.txt b/src/mainboard/google/zork/variants/ezkinil/spd/dram_id.generated.txt
index 7e54cc1b08..c100cea79a 100644
--- a/src/mainboard/google/zork/variants/ezkinil/spd/dram_id.generated.txt
+++ b/src/mainboard/google/zork/variants/ezkinil/spd/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 PCO ddr4 src/mainboard/google/zork/variants/ezkinil/spd src/mainboard/google/zork/variants/ezkinil/spd/mem_parts_used.txt
+
DRAM Part Name ID to assign
H5AN8G6NCJR-VKC 0 (0000)
MT40A512M16TB-062E:J 2 (0010)
diff --git a/src/mainboard/google/zork/variants/gumboz/Makefile.inc b/src/mainboard/google/zork/variants/gumboz/Makefile.inc
index 51d19fe9ba..87bc511877 100644
--- a/src/mainboard/google/zork/variants/gumboz/Makefile.inc
+++ b/src/mainboard/google/zork/variants/gumboz/Makefile.inc
@@ -1,6 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
-subdirs-y += ./spd
-
ramstage-y += gpio.c
ramstage-y += variant.c
diff --git a/src/mainboard/google/zork/variants/gumboz/spd/Makefile.inc b/src/mainboard/google/zork/variants/gumboz/spd/Makefile.inc
index 6d8e7495ba..dba2027b65 100644
--- a/src/mainboard/google/zork/variants/gumboz/spd/Makefile.inc
+++ b/src/mainboard/google/zork/variants/gumboz/spd/Makefile.inc
@@ -1,15 +1,17 @@
-## 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 PCO ddr4 src/mainboard/google/zork/variants/gumboz/spd src/mainboard/google/zork/variants/gumboz/spd/mem_parts_used.txt
SPD_SOURCES =
-SPD_SOURCES += ddr4-spd-9.hex # ID = 0(0b0000) Parts = H5ANAG6NCJR-XNC, K4AAG165WB-BCWE
-SPD_SOURCES += ddr4-spd-empty.hex # ID = 1(0b0001)
-SPD_SOURCES += ddr4-spd-3.hex # ID = 2(0b0010) Parts = K4A8G165WC-BCTD
-SPD_SOURCES += ddr4-spd-empty.hex # ID = 3(0b0011)
-SPD_SOURCES += ddr4-spd-1.hex # ID = 4(0b0100) Parts = K4A8G165WC-BCWE
-SPD_SOURCES += ddr4-spd-1.hex # ID = 5(0b0101) Parts = H5AN8G6NDJR-XNC
-SPD_SOURCES += ddr4-spd-2.hex # ID = 6(0b0110) Parts = H5ANAG6NCMR-XNC
-SPD_SOURCES += ddr4-spd-1.hex # ID = 7(0b0111) Parts = MT40A512M16TB-062E:J
-SPD_SOURCES += ddr4-spd-7.hex # ID = 8(0b1000) Parts = MT40A1G16KD-062E:E
-SPD_SOURCES += ddr4-spd-8.hex # ID = 9(0b1001) Parts = K4AAG165WA-BCTD
-SPD_SOURCES += ddr4-spd-7.hex # ID = 10(0b1010) Parts = K4AAG165WA-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-9.hex # ID = 0(0b0000) Parts = H5ANAG6NCJR-XNC, K4AAG165WB-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-empty.hex # ID = 1(0b0001)
+SPD_SOURCES += spd/ddr4/set-0/spd-3.hex # ID = 2(0b0010) Parts = K4A8G165WC-BCTD
+SPD_SOURCES += spd/ddr4/set-0/spd-empty.hex # ID = 3(0b0011)
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 4(0b0100) Parts = K4A8G165WC-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 5(0b0101) Parts = H5AN8G6NDJR-XNC
+SPD_SOURCES += spd/ddr4/set-0/spd-2.hex # ID = 6(0b0110) Parts = H5ANAG6NCMR-XNC
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 7(0b0111) Parts = MT40A512M16TB-062E:J
+SPD_SOURCES += spd/ddr4/set-0/spd-7.hex # ID = 8(0b1000) Parts = MT40A1G16KD-062E:E
+SPD_SOURCES += spd/ddr4/set-0/spd-8.hex # ID = 9(0b1001) Parts = K4AAG165WA-BCTD
+SPD_SOURCES += spd/ddr4/set-0/spd-7.hex # ID = 10(0b1010) Parts = K4AAG165WA-BCWE
diff --git a/src/mainboard/google/zork/variants/gumboz/spd/dram_id.generated.txt b/src/mainboard/google/zork/variants/gumboz/spd/dram_id.generated.txt
index 9f9949cf87..685bd3e839 100644
--- a/src/mainboard/google/zork/variants/gumboz/spd/dram_id.generated.txt
+++ b/src/mainboard/google/zork/variants/gumboz/spd/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 PCO ddr4 src/mainboard/google/zork/variants/gumboz/spd src/mainboard/google/zork/variants/gumboz/spd/mem_parts_used.txt
+
DRAM Part Name ID to assign
K4A8G165WC-BCTD 2 (0010)
K4A8G165WC-BCWE 4 (0100)
diff --git a/src/mainboard/google/zork/variants/morphius/Makefile.inc b/src/mainboard/google/zork/variants/morphius/Makefile.inc
index 51d19fe9ba..87bc511877 100644
--- a/src/mainboard/google/zork/variants/morphius/Makefile.inc
+++ b/src/mainboard/google/zork/variants/morphius/Makefile.inc
@@ -1,6 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
-subdirs-y += ./spd
-
ramstage-y += gpio.c
ramstage-y += variant.c
diff --git a/src/mainboard/google/zork/variants/morphius/spd/Makefile.inc b/src/mainboard/google/zork/variants/morphius/spd/Makefile.inc
index 0851ab288c..d07a92ea70 100644
--- a/src/mainboard/google/zork/variants/morphius/spd/Makefile.inc
+++ b/src/mainboard/google/zork/variants/morphius/spd/Makefile.inc
@@ -1,14 +1,16 @@
-## 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 PCO ddr4 src/mainboard/google/zork/variants/morphius/spd src/mainboard/google/zork/variants/morphius/spd/mem_parts_used.txt
SPD_SOURCES =
-SPD_SOURCES += ddr4-spd-9.hex # ID = 0(0b0000) Parts = H5ANAG6NCJR-XNC, MT40A1G16RC-062E:B
-SPD_SOURCES += ddr4-spd-empty.hex # ID = 1(0b0001)
-SPD_SOURCES += ddr4-spd-1.hex # ID = 2(0b0010) Parts = MT40A512M16TB-062E:J
-SPD_SOURCES += ddr4-spd-7.hex # ID = 3(0b0011) Parts = MT40A1G16KD-062E:E
-SPD_SOURCES += ddr4-spd-1.hex # ID = 4(0b0100) Parts = K4A8G165WC-BCWE
-SPD_SOURCES += ddr4-spd-1.hex # ID = 5(0b0101) Parts = H5AN8G6NDJR-XNC
-SPD_SOURCES += ddr4-spd-1.hex # ID = 6(0b0110) Parts = MT40A512M16TB-062E:J
-SPD_SOURCES += ddr4-spd-7.hex # ID = 7(0b0111) Parts = K4AAG165WA-BCWE
-SPD_SOURCES += ddr4-spd-2.hex # ID = 8(0b1000) Parts = H5ANAG6NCMR-XNC
-SPD_SOURCES += ddr4-spd-1.hex # ID = 9(0b1001) Parts = K4A8G165WC-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-9.hex # ID = 0(0b0000) Parts = H5ANAG6NCJR-XNC, MT40A1G16RC-062E:B
+SPD_SOURCES += spd/ddr4/set-0/spd-empty.hex # ID = 1(0b0001)
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 2(0b0010) Parts = MT40A512M16TB-062E:J
+SPD_SOURCES += spd/ddr4/set-0/spd-7.hex # ID = 3(0b0011) Parts = MT40A1G16KD-062E:E
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 4(0b0100) Parts = K4A8G165WC-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 5(0b0101) Parts = H5AN8G6NDJR-XNC
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 6(0b0110) Parts = MT40A512M16TB-062E:J
+SPD_SOURCES += spd/ddr4/set-0/spd-7.hex # ID = 7(0b0111) Parts = K4AAG165WA-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-2.hex # ID = 8(0b1000) Parts = H5ANAG6NCMR-XNC
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 9(0b1001) Parts = K4A8G165WC-BCWE
diff --git a/src/mainboard/google/zork/variants/morphius/spd/dram_id.generated.txt b/src/mainboard/google/zork/variants/morphius/spd/dram_id.generated.txt
index 399228e4bc..f71d78dfe5 100644
--- a/src/mainboard/google/zork/variants/morphius/spd/dram_id.generated.txt
+++ b/src/mainboard/google/zork/variants/morphius/spd/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 PCO ddr4 src/mainboard/google/zork/variants/morphius/spd src/mainboard/google/zork/variants/morphius/spd/mem_parts_used.txt
+
DRAM Part Name ID to assign
MT40A512M16TB-062E:J 2 (0010)
MT40A1G16KD-062E:E 3 (0011)
diff --git a/src/mainboard/google/zork/variants/shuboz/Makefile.inc b/src/mainboard/google/zork/variants/shuboz/Makefile.inc
index e5ec76de14..87bc511877 100644
--- a/src/mainboard/google/zork/variants/shuboz/Makefile.inc
+++ b/src/mainboard/google/zork/variants/shuboz/Makefile.inc
@@ -1,5 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
-subdirs-y += ./spd
ramstage-y += gpio.c
ramstage-y += variant.c
diff --git a/src/mainboard/google/zork/variants/shuboz/spd/Makefile.inc b/src/mainboard/google/zork/variants/shuboz/spd/Makefile.inc
index 87b5aa9797..316880625f 100644
--- a/src/mainboard/google/zork/variants/shuboz/spd/Makefile.inc
+++ b/src/mainboard/google/zork/variants/shuboz/spd/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 PCO ddr4 src/mainboard/google/zork/variants/shuboz/spd src/mainboard/google/zork/variants/shuboz/spd/mem_parts_used.txt
SPD_SOURCES =
-SPD_SOURCES += ddr4-spd-1.hex # ID = 0(0b0000) Parts = MT40A512M16TB-062E:J
-SPD_SOURCES += ddr4-spd-1.hex # ID = 1(0b0001) Parts = H5AN8G6NCJR-XNC
-SPD_SOURCES += ddr4-spd-7.hex # ID = 2(0b0010) Parts = MT40A1G16KD-062E:E
-SPD_SOURCES += ddr4-spd-7.hex # ID = 3(0b0011) Parts = K4AAG165WA-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 0(0b0000) Parts = MT40A512M16TB-062E:J
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 1(0b0001) Parts = H5AN8G6NCJR-XNC
+SPD_SOURCES += spd/ddr4/set-0/spd-7.hex # ID = 2(0b0010) Parts = MT40A1G16KD-062E:E
+SPD_SOURCES += spd/ddr4/set-0/spd-7.hex # ID = 3(0b0011) Parts = K4AAG165WA-BCWE
diff --git a/src/mainboard/google/zork/variants/shuboz/spd/dram_id.generated.txt b/src/mainboard/google/zork/variants/shuboz/spd/dram_id.generated.txt
index 8019b2e2f6..a38e73fe1c 100644
--- a/src/mainboard/google/zork/variants/shuboz/spd/dram_id.generated.txt
+++ b/src/mainboard/google/zork/variants/shuboz/spd/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 PCO ddr4 src/mainboard/google/zork/variants/shuboz/spd src/mainboard/google/zork/variants/shuboz/spd/mem_parts_used.txt
+
DRAM Part Name ID to assign
MT40A512M16TB-062E:J 0 (0000)
H5AN8G6NCJR-XNC 1 (0001)
diff --git a/src/mainboard/google/zork/variants/trembyle/Makefile.inc b/src/mainboard/google/zork/variants/trembyle/Makefile.inc
index 57e7136ddc..3b259741f7 100644
--- a/src/mainboard/google/zork/variants/trembyle/Makefile.inc
+++ b/src/mainboard/google/zork/variants/trembyle/Makefile.inc
@@ -1,5 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-or-later
-subdirs-y += ./spd
-
ramstage-y += gpio.c
diff --git a/src/mainboard/google/zork/variants/trembyle/spd/Makefile.inc b/src/mainboard/google/zork/variants/trembyle/spd/Makefile.inc
index 6508c26b28..17af45a423 100644
--- a/src/mainboard/google/zork/variants/trembyle/spd/Makefile.inc
+++ b/src/mainboard/google/zork/variants/trembyle/spd/Makefile.inc
@@ -1,6 +1,8 @@
-## 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 PCO ddr4 src/mainboard/google/zork/variants/trembyle/spd src/mainboard/google/zork/variants/trembyle/spd/mem_parts_used.txt
SPD_SOURCES =
-SPD_SOURCES += ddr4-spd-3.hex # ID = 0(0b0000) Parts = H5AN8G6NCJR-VKC
-SPD_SOURCES += ddr4-spd-6.hex # ID = 1(0b0001) Parts = H5ANAG6NCMR-VKC
+SPD_SOURCES += spd/ddr4/set-0/spd-3.hex # ID = 0(0b0000) Parts = H5AN8G6NCJR-VKC
+SPD_SOURCES += spd/ddr4/set-0/spd-6.hex # ID = 1(0b0001) Parts = H5ANAG6NCMR-VKC
diff --git a/src/mainboard/google/zork/variants/trembyle/spd/dram_id.generated.txt b/src/mainboard/google/zork/variants/trembyle/spd/dram_id.generated.txt
index 20232a3378..6cb8f5a386 100644
--- a/src/mainboard/google/zork/variants/trembyle/spd/dram_id.generated.txt
+++ b/src/mainboard/google/zork/variants/trembyle/spd/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 PCO ddr4 src/mainboard/google/zork/variants/trembyle/spd src/mainboard/google/zork/variants/trembyle/spd/mem_parts_used.txt
+
DRAM Part Name ID to assign
H5AN8G6NCJR-VKC 0 (0000)
H5ANAG6NCMR-VKC 1 (0001)
diff --git a/src/mainboard/google/zork/variants/vilboz/Makefile.inc b/src/mainboard/google/zork/variants/vilboz/Makefile.inc
index f8ed418bb9..cad950bbb7 100644
--- a/src/mainboard/google/zork/variants/vilboz/Makefile.inc
+++ b/src/mainboard/google/zork/variants/vilboz/Makefile.inc
@@ -1,7 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-or-later
-subdirs-y += ./spd
-
romstage-y += romstage.c
ramstage-y += variant.c
diff --git a/src/mainboard/google/zork/variants/vilboz/spd/Makefile.inc b/src/mainboard/google/zork/variants/vilboz/spd/Makefile.inc
index e4daa51695..f4d0cb446d 100644
--- a/src/mainboard/google/zork/variants/vilboz/spd/Makefile.inc
+++ b/src/mainboard/google/zork/variants/vilboz/spd/Makefile.inc
@@ -1,13 +1,15 @@
-## 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 PCO ddr4 src/mainboard/google/zork/variants/vilboz/spd src/mainboard/google/zork/variants/vilboz/spd/mem_parts_used.txt
SPD_SOURCES =
-SPD_SOURCES += ddr4-spd-empty.hex # ID = 0(0b0000)
-SPD_SOURCES += ddr4-spd-empty.hex # ID = 1(0b0001)
-SPD_SOURCES += ddr4-spd-1.hex # ID = 2(0b0010) Parts = K4A8G165WC-BCWE
-SPD_SOURCES += ddr4-spd-1.hex # ID = 3(0b0011) Parts = H5AN8G6NDJR-XNC
-SPD_SOURCES += ddr4-spd-1.hex # ID = 4(0b0100) Parts = MT40A512M16TB-062E:J
-SPD_SOURCES += ddr4-spd-7.hex # ID = 5(0b0101) Parts = K4AAG165WA-BCWE
-SPD_SOURCES += ddr4-spd-7.hex # ID = 6(0b0110) Parts = MT40A1G16KD-062E:E
-SPD_SOURCES += ddr4-spd-2.hex # ID = 7(0b0111) Parts = H5ANAG6NDMR-XNC
-SPD_SOURCES += ddr4-spd-9.hex # ID = 8(0b1000) Parts = MT40A1G16RC-062E:B
+SPD_SOURCES += spd/ddr4/set-0/spd-empty.hex # ID = 0(0b0000)
+SPD_SOURCES += spd/ddr4/set-0/spd-empty.hex # ID = 1(0b0001)
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 2(0b0010) Parts = K4A8G165WC-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 3(0b0011) Parts = H5AN8G6NDJR-XNC
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 4(0b0100) Parts = MT40A512M16TB-062E:J
+SPD_SOURCES += spd/ddr4/set-0/spd-7.hex # ID = 5(0b0101) Parts = K4AAG165WA-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-7.hex # ID = 6(0b0110) Parts = MT40A1G16KD-062E:E
+SPD_SOURCES += spd/ddr4/set-0/spd-2.hex # ID = 7(0b0111) Parts = H5ANAG6NDMR-XNC
+SPD_SOURCES += spd/ddr4/set-0/spd-9.hex # ID = 8(0b1000) Parts = MT40A1G16RC-062E:B
diff --git a/src/mainboard/google/zork/variants/vilboz/spd/dram_id.generated.txt b/src/mainboard/google/zork/variants/vilboz/spd/dram_id.generated.txt
index 5a71ea9bf4..4211dab31c 100644
--- a/src/mainboard/google/zork/variants/vilboz/spd/dram_id.generated.txt
+++ b/src/mainboard/google/zork/variants/vilboz/spd/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 PCO ddr4 src/mainboard/google/zork/variants/vilboz/spd src/mainboard/google/zork/variants/vilboz/spd/mem_parts_used.txt
+
DRAM Part Name ID to assign
K4A8G165WC-BCWE 2 (0010)
H5AN8G6NDJR-XNC 3 (0011)
diff --git a/src/mainboard/google/zork/variants/woomax/Makefile.inc b/src/mainboard/google/zork/variants/woomax/Makefile.inc
index 57e7136ddc..3b259741f7 100644
--- a/src/mainboard/google/zork/variants/woomax/Makefile.inc
+++ b/src/mainboard/google/zork/variants/woomax/Makefile.inc
@@ -1,5 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-or-later
-subdirs-y += ./spd
-
ramstage-y += gpio.c
diff --git a/src/mainboard/google/zork/variants/woomax/spd/Makefile.inc b/src/mainboard/google/zork/variants/woomax/spd/Makefile.inc
index 91ef5e5bae..2da8dc53a3 100644
--- a/src/mainboard/google/zork/variants/woomax/spd/Makefile.inc
+++ b/src/mainboard/google/zork/variants/woomax/spd/Makefile.inc
@@ -1,16 +1,18 @@
-## 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 PCO ddr4 src/mainboard/google/zork/variants/woomax/spd src/mainboard/google/zork/variants/woomax/spd/mem_parts_used.txt
SPD_SOURCES =
-SPD_SOURCES += ddr4-spd-1.hex # ID = 0(0b0000) Parts = MT40A512M16TB-062E:J
-SPD_SOURCES += ddr4-spd-1.hex # ID = 1(0b0001) Parts = H5AN8G6NCJR-XNC
-SPD_SOURCES += ddr4-spd-empty.hex # ID = 2(0b0010)
-SPD_SOURCES += ddr4-spd-empty.hex # ID = 3(0b0011)
-SPD_SOURCES += ddr4-spd-empty.hex # ID = 4(0b0100)
-SPD_SOURCES += ddr4-spd-empty.hex # ID = 5(0b0101)
-SPD_SOURCES += ddr4-spd-empty.hex # ID = 6(0b0110)
-SPD_SOURCES += ddr4-spd-empty.hex # ID = 7(0b0111)
-SPD_SOURCES += ddr4-spd-1.hex # ID = 8(0b1000) Parts = MT40A512M16TB-062E:J
-SPD_SOURCES += ddr4-spd-1.hex # ID = 9(0b1001) Parts = H5AN8G6NCJR-XNC
-SPD_SOURCES += ddr4-spd-7.hex # ID = 10(0b1010) Parts = MT40A1G16KD-062E:E
-SPD_SOURCES += ddr4-spd-7.hex # ID = 11(0b1011) Parts = K4AAG165WA-BCWE
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 0(0b0000) Parts = MT40A512M16TB-062E:J
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 1(0b0001) Parts = H5AN8G6NCJR-XNC
+SPD_SOURCES += spd/ddr4/set-0/spd-empty.hex # ID = 2(0b0010)
+SPD_SOURCES += spd/ddr4/set-0/spd-empty.hex # ID = 3(0b0011)
+SPD_SOURCES += spd/ddr4/set-0/spd-empty.hex # ID = 4(0b0100)
+SPD_SOURCES += spd/ddr4/set-0/spd-empty.hex # ID = 5(0b0101)
+SPD_SOURCES += spd/ddr4/set-0/spd-empty.hex # ID = 6(0b0110)
+SPD_SOURCES += spd/ddr4/set-0/spd-empty.hex # ID = 7(0b0111)
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 8(0b1000) Parts = MT40A512M16TB-062E:J
+SPD_SOURCES += spd/ddr4/set-0/spd-1.hex # ID = 9(0b1001) Parts = H5AN8G6NCJR-XNC
+SPD_SOURCES += spd/ddr4/set-0/spd-7.hex # ID = 10(0b1010) Parts = MT40A1G16KD-062E:E
+SPD_SOURCES += spd/ddr4/set-0/spd-7.hex # ID = 11(0b1011) Parts = K4AAG165WA-BCWE
diff --git a/src/mainboard/google/zork/variants/woomax/spd/dram_id.generated.txt b/src/mainboard/google/zork/variants/woomax/spd/dram_id.generated.txt
index c0583f495a..19039621ba 100644
--- a/src/mainboard/google/zork/variants/woomax/spd/dram_id.generated.txt
+++ b/src/mainboard/google/zork/variants/woomax/spd/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 PCO ddr4 src/mainboard/google/zork/variants/woomax/spd src/mainboard/google/zork/variants/woomax/spd/mem_parts_used.txt
+
DRAM Part Name ID to assign
MT40A512M16TB-062E:J 0 (0000)
H5AN8G6NCJR-XNC 1 (0001)