summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvy Jian <ivy_jian@compal.corp-partner.google.com>2021-04-22 15:07:17 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-04-26 08:31:57 +0000
commit4874c6dff4beb85ceee8d9567c21bf82fc3c40b4 (patch)
treef73f9c454e0535b6620b98b7cfdf21340054298c
parented1592b2ec93bf1edf6c3183deb54aa64b543021 (diff)
mb/google/mancomb: Add mancomb APCBs into build
This adds the Mancomb APCBs into the AMD firmware binary. BUG=b:182211161 TEST=Build and check log showing APCB sources present. Signed-off-by: Ivy Jian <ivy_jian@compal.corp-partner.google.com> Change-Id: Ifdf1e813fce6f93378c2495cf76bdace81d87c16 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52600 Reviewed-by: Mathew King <mathewk@chromium.org> Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/mancomb/Makefile.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/mancomb/Makefile.inc b/src/mainboard/google/mancomb/Makefile.inc
index 21e71d7a44..8181edca88 100644
--- a/src/mainboard/google/mancomb/Makefile.inc
+++ b/src/mainboard/google/mancomb/Makefile.inc
@@ -1,5 +1,13 @@
# SPDX-License-Identifier: GPL-2.0-or-later
+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
+
bootblock-y += bootblock.c
verstage-y += verstage.c