summaryrefslogtreecommitdiff
path: root/util/mainboard/google
diff options
context:
space:
mode:
authorPaul Fagerburg <pfagerburg@google.com>2020-09-25 15:27:11 -0600
committerPaul Fagerburg <pfagerburg@chromium.org>2020-10-06 18:27:31 +0000
commitf52e4a03ec30a497566c7860fbe790bfd9b9a166 (patch)
treed7128f63f8ba252f747f728cd630c8ccbc35e172 /util/mainboard/google
parent882a5687e6b9c03e4ca3df63e67c6bc889e3609d (diff)
templates: add an empty SPD to SPD_SOURCES
Add an empty SPD in SPD_SOURCES when creating a new variant of hatch, volteer, waddledee, or waddledoo, so that coreboot can build successfully. For variants that use spd_tools, add an empty mem_parts_used.txt so that the developer can add the supported memory parts and regenerate the Makefile.inc with the correct SPD references. Add an empty SPD for LPDDR4x for waddledee and waddledoo to use. BUG=b:169422833 TEST=create a new variant of hatch, volteer, waddledee, and waddledoo. Observe that each one succeeds. Signed-off-by: Paul Fagerburg <pfagerburg@google.com> Change-Id: I06dfb6103701bf8949180595f1e98fac48bcc585 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45746 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Diffstat (limited to 'util/mainboard/google')
-rw-r--r--util/mainboard/google/hatch/template/Makefile.inc4
-rw-r--r--util/mainboard/google/volteer/template/memory/Makefile.inc5
-rw-r--r--util/mainboard/google/volteer/template/memory/dram_id.generated.txt1
-rw-r--r--util/mainboard/google/volteer/template/memory/mem_parts_used.txt4
-rw-r--r--util/mainboard/google/waddledee/template/memory/Makefile.inc5
-rw-r--r--util/mainboard/google/waddledee/template/memory/dram_id.generated.txt1
-rw-r--r--util/mainboard/google/waddledee/template/memory/mem_parts_used.txt6
-rw-r--r--util/mainboard/google/waddledoo/template/memory/Makefile.inc5
-rw-r--r--util/mainboard/google/waddledoo/template/memory/dram_id.generated.txt1
-rw-r--r--util/mainboard/google/waddledoo/template/memory/mem_parts_used.txt6
10 files changed, 37 insertions, 1 deletions
diff --git a/util/mainboard/google/hatch/template/Makefile.inc b/util/mainboard/google/hatch/template/Makefile.inc
index 61b23ede99..599cfccce7 100644
--- a/util/mainboard/google/hatch/template/Makefile.inc
+++ b/util/mainboard/google/hatch/template/Makefile.inc
@@ -1,4 +1,6 @@
##
## SPDX-License-Identifier: GPL-2.0-only
-SPD_SOURCES =
+## TODO engineer creating a new variant needs to add SPDs for memory parts
+
+SPD_SOURCES = empty_ddr4
diff --git a/util/mainboard/google/volteer/template/memory/Makefile.inc b/util/mainboard/google/volteer/template/memory/Makefile.inc
new file mode 100644
index 0000000000..b0ca2223a8
--- /dev/null
+++ b/util/mainboard/google/volteer/template/memory/Makefile.inc
@@ -0,0 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-or-later
+## This is an auto-generated file. Do not edit!!
+## Add memory parts in mem_parts_used.txt and run spd_tools to regenerate.
+
+SPD_SOURCES = placeholder.spd.hex
diff --git a/util/mainboard/google/volteer/template/memory/dram_id.generated.txt b/util/mainboard/google/volteer/template/memory/dram_id.generated.txt
new file mode 100644
index 0000000000..fa247902ee
--- /dev/null
+++ b/util/mainboard/google/volteer/template/memory/dram_id.generated.txt
@@ -0,0 +1 @@
+DRAM Part Name ID to assign
diff --git a/util/mainboard/google/volteer/template/memory/mem_parts_used.txt b/util/mainboard/google/volteer/template/memory/mem_parts_used.txt
new file mode 100644
index 0000000000..f51b3af398
--- /dev/null
+++ b/util/mainboard/google/volteer/template/memory/mem_parts_used.txt
@@ -0,0 +1,4 @@
+# This is a CSV file containing a list of memory parts used by this variant.
+# Generate an updated Makefile.inc and dram_id.generated.txt by running the
+# gen_part_id tool from util/spd_tools/ddr4 or util/spd_tools/lp4x
+# See util/spd_tools/{ddr4,lp4x}/README.md for more details and instructions.
diff --git a/util/mainboard/google/waddledee/template/memory/Makefile.inc b/util/mainboard/google/waddledee/template/memory/Makefile.inc
new file mode 100644
index 0000000000..b0ca2223a8
--- /dev/null
+++ b/util/mainboard/google/waddledee/template/memory/Makefile.inc
@@ -0,0 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-or-later
+## This is an auto-generated file. Do not edit!!
+## Add memory parts in mem_parts_used.txt and run spd_tools to regenerate.
+
+SPD_SOURCES = placeholder.spd.hex
diff --git a/util/mainboard/google/waddledee/template/memory/dram_id.generated.txt b/util/mainboard/google/waddledee/template/memory/dram_id.generated.txt
new file mode 100644
index 0000000000..fa247902ee
--- /dev/null
+++ b/util/mainboard/google/waddledee/template/memory/dram_id.generated.txt
@@ -0,0 +1 @@
+DRAM Part Name ID to assign
diff --git a/util/mainboard/google/waddledee/template/memory/mem_parts_used.txt b/util/mainboard/google/waddledee/template/memory/mem_parts_used.txt
new file mode 100644
index 0000000000..59381dcf5b
--- /dev/null
+++ b/util/mainboard/google/waddledee/template/memory/mem_parts_used.txt
@@ -0,0 +1,6 @@
+# This is a CSV file containing a list of memory parts used by this variant.
+# Generate an updated Makefile.inc and dram_id.generated.txt by running the
+# gen_part_id tool from util/spd_tools/lp4x
+# See util/spd_tools/lp4x/README.md for more details and instructions.
+
+# Part Name
diff --git a/util/mainboard/google/waddledoo/template/memory/Makefile.inc b/util/mainboard/google/waddledoo/template/memory/Makefile.inc
new file mode 100644
index 0000000000..b0ca2223a8
--- /dev/null
+++ b/util/mainboard/google/waddledoo/template/memory/Makefile.inc
@@ -0,0 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-or-later
+## This is an auto-generated file. Do not edit!!
+## Add memory parts in mem_parts_used.txt and run spd_tools to regenerate.
+
+SPD_SOURCES = placeholder.spd.hex
diff --git a/util/mainboard/google/waddledoo/template/memory/dram_id.generated.txt b/util/mainboard/google/waddledoo/template/memory/dram_id.generated.txt
new file mode 100644
index 0000000000..fa247902ee
--- /dev/null
+++ b/util/mainboard/google/waddledoo/template/memory/dram_id.generated.txt
@@ -0,0 +1 @@
+DRAM Part Name ID to assign
diff --git a/util/mainboard/google/waddledoo/template/memory/mem_parts_used.txt b/util/mainboard/google/waddledoo/template/memory/mem_parts_used.txt
new file mode 100644
index 0000000000..59381dcf5b
--- /dev/null
+++ b/util/mainboard/google/waddledoo/template/memory/mem_parts_used.txt
@@ -0,0 +1,6 @@
+# This is a CSV file containing a list of memory parts used by this variant.
+# Generate an updated Makefile.inc and dram_id.generated.txt by running the
+# gen_part_id tool from util/spd_tools/lp4x
+# See util/spd_tools/lp4x/README.md for more details and instructions.
+
+# Part Name