Hello Julius Werner, You-Cheng Syu, Hung-Te Lin, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32245
to look at the new patch set (#3).
Change subject: mediatek: Use a 64-bit timer ......................................................................
mediatek: Use a 64-bit timer
GPT4 is a 32-bit timer and the counter of GPT4 will be overflow about 330 seconds (0xffffffff / 13MHz). With the GPT4 version, timer and delay functions will not work when the counter is overflow. Now we use a 64-bit timer, GPT6, to fix the overflow issue.
BUG=b:80501386 BRANCH=none Test=emerge-elm coreboot; emerge-kukui coreboot
Change-Id: I9f080e47253a1b1bab4636a45cb86c8666a25302 Signed-off-by: Tristan Shieh tristan.shieh@mediatek.com --- M src/soc/mediatek/common/include/soc/timer.h M src/soc/mediatek/common/timer.c M src/soc/mediatek/mt8173/timer.c 3 files changed, 31 insertions(+), 16 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/32245/3