Attention is currently required from: Hung-Te Lin, Jarried Lin, Zhanzhan Ge.
Yu-Ping Wu has posted comments on this change by Jarried Lin. ( https://review.coreboot.org/c/coreboot/+/83928?usp=email )
Change subject: soc/mediatek/mt8196: Fix timer reset in BL31
......................................................................
Patch Set 23:
(1 comment)
File src/soc/mediatek/mt8196/timer_prepare.c:
https://review.coreboot.org/c/coreboot/+/83928/comment/b3f5fcd7_ef3ff119?usp... :
PS23, Line 18: write32
Dear yuping: […]
Yes, there are still many `setbits32` calls in coreboot, because `SET32_BITFIELDS` is the new API. See CB:35463 for the benefits of the new API. I admit I didn't require using the new API when reviewing all the coreboot patches. However, since hungte@ pointed that out in this patch in another comment, I think we should follow his suggestion.
About how to use the new API, see src/soc/mediatek/mt8188/msdc.c as an example. It will be just a few lines of changes in this file. If you are still not sure how to write the code, please let me know.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/83928?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I520986b81ca153ec3ce56558a80619448cfc0c59
Gerrit-Change-Number: 83928
Gerrit-PatchSet: 23
Gerrit-Owner: Jarried Lin
jarried.lin@mediatek.com
Gerrit-Reviewer: Hung-Te Lin
hungte@chromium.org
Gerrit-Reviewer: Yidi Lin
yidilin@google.com
Gerrit-Reviewer: Yu-Ping Wu
yupingso@google.com
Gerrit-Reviewer: Zhanzhan Ge
zhanzhan.ge@mediatek.corp-partner.google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Attention: Hung-Te Lin
hungte@chromium.org
Gerrit-Attention: Zhanzhan Ge
zhanzhan.ge@mediatek.corp-partner.google.com
Gerrit-Attention: Jarried Lin
jarried.lin@mediatek.com
Gerrit-Comment-Date: Thu, 12 Sep 2024 05:58:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Zhanzhan Ge
zhanzhan.ge@mediatek.corp-partner.google.com
Comment-In-Reply-To: Yu-Ping Wu
yupingso@google.com