summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
authorFred Reitberger <reitbergerfred@gmail.com>2023-02-13 11:06:15 -0500
committerFelix Held <felix-coreboot@felixheld.de>2023-02-15 13:07:04 +0000
commita63fac3c58951e9cbbc9a25f03841d75e4fe7ec2 (patch)
treeaee61e1b55236643999c3bfee9771da00d165d49 /src/soc/amd
parente814b265eab9f0b22e9400d3840278678a7fa4ee (diff)
soc/amd/common: Move missing APCB warning to common area
Move missing APCB warning from birman to amd/common so that other mainboards can utilize the same warnings if the APCB is missing. Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com> Change-Id: I7ae689726ae4f7ccdf6959e47cbb5aee15cdb690 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73002 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/common/Makefile.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/amd/common/Makefile.inc b/src/soc/amd/common/Makefile.inc
index 1c145128c3..a72f0dc706 100644
--- a/src/soc/amd/common/Makefile.inc
+++ b/src/soc/amd/common/Makefile.inc
@@ -49,4 +49,10 @@ endif # ifneq ($(CONFIG_AMDFW_CONFIG_FILE), )
MAINBOARD_BLOBS_DIR := $(call strip_quotes, $(CONFIG_APCB_BLOBS_DIR))
+PHONY+=warn_no_apcb
+warn_no_apcb:
+ printf "\n\t** WARNING **\n"
+ printf "coreboot has been built without an APCB.\n"
+ printf "This image will not boot.\n\n"
+
endif # ifeq ($(CONFIG_SOC_AMD_COMMON),y)