From 99f967b7a5869d0812c062e2fb3c5dd5a9e9958d Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Tue, 2 Mar 2021 16:23:34 -0700 Subject: [PATCH] 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 Change-Id: Iba40cab1d68e9f8d7291e7d715be185a3b6249f3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51418 Tested-by: build bot (Jenkins) Reviewed-by: Mathew King --- src/mainboard/google/guybrush/Makefile.inc | 8 ++++++++ 1 file changed, 8 insertions(+) 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