Yu-Ping Wu has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/27416 )
Change subject: mediatek: Share GPIO code among similar SOCs ......................................................................
Patch Set 6:
(1 comment)
https://review.coreboot.org/c/coreboot/+/27416/6/src/soc/mediatek/common/gpi... File src/soc/mediatek/common/gpio.c:
https://review.coreboot.org/c/coreboot/+/27416/6/src/soc/mediatek/common/gpi... PS6, Line 53: write32(reg, 1L << bit); Why don't we have to use 'clrsetbits_le32()' to avoid clearing other bits?