summaryrefslogtreecommitdiff
path: root/util/mainboard
diff options
context:
space:
mode:
authorPaul Fagerburg <pfagerburg@google.com>2020-09-22 20:00:38 -0600
committerPaul Fagerburg <pfagerburg@chromium.org>2020-09-24 15:29:50 +0000
commit39dbb86bbe1fb4d1a3b477991ccabf6793554e79 (patch)
tree2ec99718f89682f0e9ea47520d01f93a2bd4dfc1 /util/mainboard
parent0c5dd9febb8115d008d458409138480d95136d8c (diff)
downloadcoreboot-39dbb86bbe1fb4d1a3b477991ccabf6793554e79.tar.gz
templates: add ddr4-spd-empty.hex to SPD_SOURCES
We need at least one SPD in SPD_SOURCES when creating a new variant of trembyle or dalboz, or else coreboot won't build. Add the empty DDR4 SPD so that we can build the new variant. Add an empty mem_parts_used.txt so that the developer can add the supported memory parts and regenerate spd/Makefile.inc using spd_tools. BUG=b:169199396 TEST=create a new variant of dalboz or trembyle and observe that the build succeeds. Signed-off-by: Paul Fagerburg <pfagerburg@chromium.org> Change-Id: I764690c76529780186d0a1d156a623821f9d6972 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45638 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Rob Barnes <robbarnes@google.com>
Diffstat (limited to 'util/mainboard')
-rw-r--r--util/mainboard/google/dalboz/template/spd/Makefile.inc3
-rw-r--r--util/mainboard/google/trembyle/template/spd/Makefile.inc3
2 files changed, 4 insertions, 2 deletions
diff --git a/util/mainboard/google/dalboz/template/spd/Makefile.inc b/util/mainboard/google/dalboz/template/spd/Makefile.inc
index feabe7fe37..3edeb9606c 100644
--- a/util/mainboard/google/dalboz/template/spd/Makefile.inc
+++ b/util/mainboard/google/dalboz/template/spd/Makefile.inc
@@ -1,4 +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 =
+SPD_SOURCES = ddr4-spd-empty.hex
diff --git a/util/mainboard/google/trembyle/template/spd/Makefile.inc b/util/mainboard/google/trembyle/template/spd/Makefile.inc
index feabe7fe37..3edeb9606c 100644
--- a/util/mainboard/google/trembyle/template/spd/Makefile.inc
+++ b/util/mainboard/google/trembyle/template/spd/Makefile.inc
@@ -1,4 +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 =
+SPD_SOURCES = ddr4-spd-empty.hex