soc/mediatek/mt8196: Require mtk_fsp_*.elf to exist
As MT8196 won't be able to boot up without mtk_fsp_romstage.elf and mtk_fsp_ramstage.elf, ensure their presence in build time. Change-Id: I668319ae1f63818e324002e7ae4d888479edb9cf Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/86355 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yidi Lin <yidilin@google.com>
This commit is contained in:
parent
71824342df
commit
c0506ad1e0
1 changed files with 0 additions and 4 deletions
|
|
@ -125,17 +125,13 @@ FSP_ROMSTAGE_CBFS := $(CONFIG_CBFS_PREFIX)/mtk_fsp_romstage
|
|||
$(FSP_ROMSTAGE_CBFS)-file := $(MT8196_BLOB_DIR)/mtk_fsp_romstage.elf
|
||||
$(FSP_ROMSTAGE_CBFS)-type := stage
|
||||
$(FSP_ROMSTAGE_CBFS)-compression := $(CBFS_PRERAM_COMPRESS_FLAG)
|
||||
ifneq ($(wildcard $($(FSP_ROMSTAGE_CBFS)-file)),)
|
||||
cbfs-files-y += $(FSP_ROMSTAGE_CBFS)
|
||||
endif
|
||||
|
||||
FSP_RAMSTAGE_CBFS := $(CONFIG_CBFS_PREFIX)/mtk_fsp_ramstage
|
||||
$(FSP_RAMSTAGE_CBFS)-file := $(MT8196_BLOB_DIR)/mtk_fsp_ramstage.elf
|
||||
$(FSP_RAMSTAGE_CBFS)-type := stage
|
||||
$(FSP_RAMSTAGE_CBFS)-compression := $(CBFS_COMPRESS_FLAG)
|
||||
ifneq ($(wildcard $($(FSP_RAMSTAGE_CBFS)-file)),)
|
||||
cbfs-files-y += $(FSP_RAMSTAGE_CBFS)
|
||||
endif
|
||||
|
||||
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
|
||||
./util/mtkheader/gen-bl-img.py mt8196 sf $< $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue