diff options
author | Fred Reitberger <reitbergerfred@gmail.com> | 2023-02-13 15:47:21 -0500 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-02-16 15:21:56 +0000 |
commit | 1fcd7f066d29e78cf7f86661ba3cfd90b677b8f9 (patch) | |
tree | 2c1b0c55037b7ffe2f7814e92be3d5ff4151a513 /src/soc/amd/mendocino/Makefile.inc | |
parent | 0dab7987866b97732c89bc8e5d676a511e6aae20 (diff) |
soc/amd/mendocino: Remove non-functional APCB check
The way the PSP_APCB_FILES list is created will always insert at least a
space into it. When tested by the if, this space will prevent the else
clause from ever running and never generate a build error.
Remove the non-functional check. Instead, mainboards should select
warn_no_apcb or die_no_apcb to generate a warning message or build error
if the APCB is missing.
Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com>
Change-Id: Ic96846d74df2dc279e13b22f2a83b6f893954fe8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73009
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/mendocino/Makefile.inc')
-rw-r--r-- | src/soc/amd/mendocino/Makefile.inc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/soc/amd/mendocino/Makefile.inc b/src/soc/amd/mendocino/Makefile.inc index 226dc846e2..49b45df854 100644 --- a/src/soc/amd/mendocino/Makefile.inc +++ b/src/soc/amd/mendocino/Makefile.inc @@ -240,7 +240,6 @@ $(obj)/amdfw.rom: $(call strip_quotes, $(PSP_BIOSBIN_FILE)) \ $(AMDFWTOOL) \ $(obj)/fmap_config.h \ $(objcbfs)/bootblock.elf # this target also creates the .map file - $(if $(PSP_APCB_FILES), ,$(error APCB_SOURCES is not set)) rm -f $@ @printf " AMDFWTOOL $(subst $(obj)/,,$(@))\n" $(AMDFWTOOL) \ |