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 <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85441 Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
850cf7d07a
commit
6f2a8ee8cc
1 changed files with 2 additions and 3 deletions
|
|
@ -60,9 +60,8 @@ DRAM_CBFS := $(CONFIG_CBFS_PREFIX)/dram
|
||||||
$(DRAM_CBFS)-file := $(MT8196_BLOB_DIR)/dram.elf
|
$(DRAM_CBFS)-file := $(MT8196_BLOB_DIR)/dram.elf
|
||||||
$(DRAM_CBFS)-type := stage
|
$(DRAM_CBFS)-type := stage
|
||||||
$(DRAM_CBFS)-compression := $(CBFS_PRERAM_COMPRESS_FLAG)
|
$(DRAM_CBFS)-compression := $(CBFS_PRERAM_COMPRESS_FLAG)
|
||||||
ifneq ($(wildcard $($(DRAM_CBFS)-file)),)
|
cbfs-files-y += $(DRAM_CBFS)
|
||||||
cbfs-files-y += $(DRAM_CBFS)
|
|
||||||
endif
|
|
||||||
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
|
$(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
|
||||||
./util/mtkheader/gen-bl-img.py mt8196 sf $< $@
|
./util/mtkheader/gen-bl-img.py mt8196 sf $< $@
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue