Nicolas Boichat has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46389 )
Change subject: mediatek/mt8192: add spmfw loader
......................................................................
Patch Set 17:
(2 comments)
https://review.coreboot.org/c/coreboot/+/46389/17/src/soc/mediatek/mt8192/sp...
File src/soc/mediatek/mt8192/spm.c:
https://review.coreboot.org/c/coreboot/+/46389/17/src/soc/mediatek/mt8192/sp...
PS17, Line 931:
Please consider adding the assertions here:
https://review.coreboot.org/c/coreboot/+/47283/3/src/soc/mediatek/mt8192/spm...
https://review.coreboot.org/c/coreboot/+/46389/17/src/soc/mediatek/mt8192/sp...
PS17, Line 945: write32(&mtk_spm->md32pcm_dma0_start, MD32PCM_DMA0_START_VAL);
Is it useful to add this:
write32(&mtk_spm->md32pcm_dma0_start, 0);
just before, just in case (unless the registers don't work this way...)
--
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: 17
Gerrit-Owner: Yidi Lin
yidi.lin@mediatek.com
Gerrit-Reviewer: Martin Roth
martinroth@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: Hung-Te Lin
hungte@chromium.org
Gerrit-CC: Nicolas Boichat
drinkcat@chromium.org
Gerrit-CC: Nicolas Boichat
drinkcat@google.com
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-CC: Yu-Ping Wu
yupingso@google.com
Gerrit-Comment-Date: Mon, 09 Nov 2020 07:57:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment