summaryrefslogtreecommitdiff
path: root/src/mainboard/google/guybrush
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2021-03-02 16:23:34 -0700
committerMartin Roth <martinroth@google.com>2021-03-13 02:48:16 +0000
commit99f967b7a5869d0812c062e2fb3c5dd5a9e9958d (patch)
tree9d660eedae0bdba7f3f98a9079139f0711fbcbd2 /src/mainboard/google/guybrush
parent42cd4ddb0812abc6cac7591a0c1a5ec8acd157db (diff)
mb/google/guybrush: Add guybrush APCBs into build
This adds the Guybrush APCBs into the AMD firmware binary. BUG=b:182510885 TEST=Build Signed-off-by: Martin Roth <martinroth@chromium.org> Change-Id: Iba40cab1d68e9f8d7291e7d715be185a3b6249f3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51418 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Mathew King <mathewk@chromium.org>
Diffstat (limited to 'src/mainboard/google/guybrush')
-rw-r--r--src/mainboard/google/guybrush/Makefile.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/guybrush/Makefile.inc b/src/mainboard/google/guybrush/Makefile.inc
index 6a4eb5d2d7..732ca8ff72 100644
--- a/src/mainboard/google/guybrush/Makefile.inc
+++ b/src/mainboard/google/guybrush/Makefile.inc
@@ -2,6 +2,14 @@
bootblock-y += bootblock.c
+ifneq ($(wildcard $(MAINBOARD_BLOBS_DIR)/APCB_CZN_D4.bin),)
+$(info APCB sources present.)
+APCB_SOURCES = $(MAINBOARD_BLOBS_DIR)/APCB_CZN_D4.bin
+APCB_SOURCES_RECOVERY = $(MAINBOARD_BLOBS_DIR)/APCB_CZN_D4.bin
+else
+$(info APCB sources not found. Skipping APCB.)
+endif
+
ramstage-y += mainboard.c
ramstage-y += ec.c
ramstage-$(CONFIG_CHROMEOS) += chromeos.c