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>
This commit is contained in:
Fred Reitberger 2023-02-13 15:22:02 -05:00 committed by Felix Held
parent 23942e221d
commit 38954e2461
1 changed files with 4 additions and 0 deletions

View File

@ -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)