Yidi Lin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46389 )
Change subject: soc/mediatek/mt8192: add spmfw loader
......................................................................
Patch Set 34:
(2 comments)
https://review.coreboot.org/c/coreboot/+/46389/33/src/soc/mediatek/mt8192/Ma...
File src/soc/mediatek/mt8192/Makefile.inc:
https://review.coreboot.org/c/coreboot/+/46389/33/src/soc/mediatek/mt8192/Ma...
PS33, Line 53: cbfs-files-y += spm_firmware.bin
: spm_firmware.bin-file := $(MT8192_BLOB_DIR)/spm_firmware.bin
: spm_firmware.bin-type := raw
: spm_firmware.bin-compression := $(CBFS_COMPRESS_FLAG)
If we will be adding a lot of firmware files like this, I think we should: […]
Done
https://review.coreboot.org/c/coreboot/+/46389/33/src/soc/mediatek/mt8192/sp...
File src/soc/mediatek/mt8192/spm.c:
https://review.coreboot.org/c/coreboot/+/46389/33/src/soc/mediatek/mt8192/sp...
PS33, Line 498: cbfs_boot_load_file
The parsing code requires file_size for checking offset. […]
Ack
--
To view, visit
https://review.coreboot.org/c/coreboot/+/46389
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6478b98f426d2f3e0ee919d37d21d909ae8a6371
Gerrit-Change-Number: 46389
Gerrit-PatchSet: 34
Gerrit-Owner: Yidi Lin
yidi.lin@mediatek.com
Gerrit-Reviewer: Hung-Te Lin
hungte@chromium.org
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Nicolas Boichat
drinkcat@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Roger Lu
roger.lu@mediatek.com
Gerrit-Reviewer: Roger Lu
roger.lu@mediatek.corp-partner.google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Nicolas Boichat
drinkcat@chromium.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-CC: Yidi Lin
yidi.lin@mediatek.corp-partner.google.com
Gerrit-CC: Yu-Ping Wu
yupingso@google.com
Gerrit-Comment-Date: Fri, 04 Dec 2020 04:20:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Hung-Te Lin
hungte@chromium.org
Comment-In-Reply-To: Yidi Lin
yidi.lin@mediatek.corp-partner.google.com
Gerrit-MessageType: comment