From c0506ad1e09fd17f0cc5a2a7ebb457eff230f024 Mon Sep 17 00:00:00 2001 From: Yu-Ping Wu Date: Tue, 11 Feb 2025 16:07:02 +0800 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/86355 Tested-by: build bot (Jenkins) Reviewed-by: Yidi Lin --- src/soc/mediatek/mt8196/Makefile.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/soc/mediatek/mt8196/Makefile.mk b/src/soc/mediatek/mt8196/Makefile.mk index 4dd2d2d8f9..85b670afb3 100644 --- a/src/soc/mediatek/mt8196/Makefile.mk +++ b/src/soc/mediatek/mt8196/Makefile.mk @@ -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 $< $@