summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Reitberger <reitbergerfred@gmail.com>2023-02-13 15:22:02 -0500
committerFelix Held <felix-coreboot@felixheld.de>2023-02-16 15:18:41 +0000
commit38954e24611e497ab84c05b744db80353c3f22b9 (patch)
tree5b8b8bfb6e53527de37ec70d74a49b6e0b96ec0c
parent23942e221dd9d65d710badf1912fc28fe1a7a0ce (diff)
soc/amd/common: Add die_no_apcb
Add target to die when no APCB is found. This is not always a fatal case, so mainboards can select between this and warn_no_apcb. Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com> Change-Id: I5bbc8dd3200c4781677411e67a4b5f1fe8b20286 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73005 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r--src/soc/amd/common/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/amd/common/Makefile.inc b/src/soc/amd/common/Makefile.inc
index a72f0dc706..db9101815d 100644
--- a/src/soc/amd/common/Makefile.inc
+++ b/src/soc/amd/common/Makefile.inc
@@ -55,4 +55,8 @@ warn_no_apcb:
printf "coreboot has been built without an APCB.\n"
printf "This image will not boot.\n\n"
+PHONY+=die_no_apcb
+die_no_apcb: warn_no_apcb
+ $(error This board requires the APCB to build correctly)
+
endif # ifeq ($(CONFIG_SOC_AMD_COMMON),y)