Attention is currently required from: Joel Kitching, Roger Lu, Ran Bi, Yidi Lin, Yuchen Huang.
Yu-Ping Wu has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46878 )
Change subject: soc/mediatek/mt8192: add clkbuf and srclken_rc MT6359P driver
......................................................................
Patch Set 65:
(2 comments)
File src/soc/mediatek/mt8192/srclken_rc.c:
https://review.coreboot.org/c/coreboot/+/46878/comment/3cec8886_6067b07b
PS64, Line 365: retry--
I suppose it's correct to use "retry--". For example, if retry=1, we will have 10us delay at least.
If retry is 1, then read32() will be called at most twice. After it fails for the second time, the value of 'retry' will be -1 (NOT 0). Therefore, another way to fix it is to change line #367 to
if (retry < 0)
Otherwise, we'll not enter the if clause.
File src/soc/mediatek/mt8192/srclken_rc.c:
https://review.coreboot.org/c/coreboot/+/46878/comment/b28fb28c_c46a1d4d
PS65, Line 374: break
Remove it, since the if clause has been moved out of the while loop.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/46878
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I947bf14df7a307bf359c590c2a20265882b3f1be
Gerrit-Change-Number: 46878
Gerrit-PatchSet: 65
Gerrit-Owner: Roger Lu
roger.lu@mediatek.corp-partner.google.com
Gerrit-Reviewer: Hung-Te Lin
hungte@chromium.org
Gerrit-Reviewer: Joel Kitching
kitching@google.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Ran Bi
ran.bi@mediatek.com
Gerrit-Reviewer: Roger Lu
roger.lu@mediatek.com
Gerrit-Reviewer: Xi Chen
xixi.chen@mediatek.com
Gerrit-Reviewer: Yidi Lin
yidi.lin@mediatek.com
Gerrit-Reviewer: Yuchen Huang
yuchen.huang@mediatek.corp-partner.google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Reviewer: hsin-hsiung wang
hsin-hsiung.wang@mediatek.com
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-CC: Yu-Ping Wu
yupingso@google.com
Gerrit-Attention: Joel Kitching
kitching@google.com
Gerrit-Attention: Roger Lu
roger.lu@mediatek.corp-partner.google.com
Gerrit-Attention: Ran Bi
ran.bi@mediatek.com
Gerrit-Attention: Yidi Lin
yidi.lin@mediatek.com
Gerrit-Attention: Yuchen Huang
yuchen.huang@mediatek.corp-partner.google.com
Gerrit-Comment-Date: Fri, 15 Jan 2021 11:16:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Ran Bi
ran.bi@mediatek.com
Comment-In-Reply-To: Yu-Ping Wu
yupingso@google.com
Gerrit-MessageType: comment