From 6f2a8ee8cce86020e5112f36b999a6761abb0697 Mon Sep 17 00:00:00 2001 From: Yu-Ping Wu Date: Tue, 3 Dec 2024 08:18:38 +0800 Subject: [PATCH] soc/mediatek/mt8196: Require DRAM blob to exist The SoC won't be able to boot without dram.elf. Therefore, we should always expect the file to exist in build time. BUG=none TEST=emerge-rauru coreboot BRANCH=none Change-Id: Ib902dc4778f34a144dddf847c283fe77d4c776f6 Signed-off-by: Yu-Ping Wu Reviewed-on: https://review.coreboot.org/c/coreboot/+/85441 Reviewed-by: Yidi Lin Tested-by: build bot (Jenkins) --- src/soc/mediatek/mt8196/Makefile.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/soc/mediatek/mt8196/Makefile.mk b/src/soc/mediatek/mt8196/Makefile.mk index 82a907644e..9d00a2e196 100644 --- a/src/soc/mediatek/mt8196/Makefile.mk +++ b/src/soc/mediatek/mt8196/Makefile.mk @@ -60,9 +60,8 @@ DRAM_CBFS := $(CONFIG_CBFS_PREFIX)/dram $(DRAM_CBFS)-file := $(MT8196_BLOB_DIR)/dram.elf $(DRAM_CBFS)-type := stage $(DRAM_CBFS)-compression := $(CBFS_PRERAM_COMPRESS_FLAG) -ifneq ($(wildcard $($(DRAM_CBFS)-file)),) - cbfs-files-y += $(DRAM_CBFS) -endif +cbfs-files-y += $(DRAM_CBFS) + $(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin ./util/mtkheader/gen-bl-img.py mt8196 sf $< $@