mb/amd/chausie: add APCB binaries if available
The APCB files that provide the firmware components running on the PSP some mainboard-specific information like the DRAM interface configuration. Those files aren't yet in the upstream 3rdparty/blobs repository, so only add those files if they are present and print that no APCB was added and the image won't boot if they aren't present. TEST=Both cases behave as expected. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I1e8621901741b8b0531fe134273b47e85911e19f Reviewed-on: https://review.coreboot.org/c/coreboot/+/62925 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
This commit is contained in:
parent
9f85958b7e
commit
fc45b1b90b
|
@ -8,9 +8,12 @@ romstage-y += port_descriptors.c
|
|||
ramstage-y += chromeos.c
|
||||
ramstage-y += gpio.c
|
||||
|
||||
#TODO: add APCB binaries
|
||||
#APCB_SOURCES = $(MAINBOARD_BLOBS_DIR)/APCB_CZN_D4.bin
|
||||
#APCB_SOURCES_RECOVERY = $(MAINBOARD_BLOBS_DIR)/APCB_CZN_D4_DefaultRecovery.bin
|
||||
ifneq ($(wildcard $(MAINBOARD_BLOBS_DIR)/APCB_FT6_Updatable.bin),)
|
||||
APCB_SOURCES = $(MAINBOARD_BLOBS_DIR)/APCB_FT6_Updatable.bin
|
||||
APCB_SOURCES_RECOVERY = $(MAINBOARD_BLOBS_DIR)/APCB_FT6_DefaultRecovery.bin
|
||||
else
|
||||
$(info APCB sources not found. Skipping APCB. The resulting image won't boot.)
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_CHAUSIE_HAVE_MCHP_FW),y)
|
||||
$(call add_intermediate, add_mchp_fw)
|
||||
|
|
Loading…
Reference in New Issue