From 38954e24611e497ab84c05b744db80353c3f22b9 Mon Sep 17 00:00:00 2001 From: Fred Reitberger Date: Mon, 13 Feb 2023 15:22:02 -0500 Subject: [PATCH] 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 Change-Id: I5bbc8dd3200c4781677411e67a4b5f1fe8b20286 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73005 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/soc/amd/common/Makefile.inc | 4 ++++ 1 file changed, 4 insertions(+) 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)