summaryrefslogtreecommitdiff
path: root/src/cpu/amd/pi/00730F01
diff options
context:
space:
mode:
authorTristan Shieh <tristan.shieh@mediatek.com>2019-04-08 11:01:40 +0800
committerJulius Werner <jwerner@chromium.org>2019-04-17 04:32:26 +0000
commita76e6542d1ab39ca50777f3fd0146151d0868c5c (patch)
tree8011717f7cf8ef7e826825caa8f7bdfcdd0ea853 /src/cpu/amd/pi/00730F01
parent250dfc025613f5e193183f9520432207f4b296e4 (diff)
mediatek: Use the 64-bit timer
GPT4 is a 32-bit timer and the counter of GPT4 will overflow in about 330 seconds (0xffffffff / 13MHz). Timer and delay functions will not work properly if the counter overflows. To fix that we should use the 64-bit timer (GPT6). BUG=b:80501386 BRANCH=none Test=emerge-elm coreboot; emerge-kukui coreboot Change-Id: I9f080e47253a1b1bab4636a45cb86c8666a25302 Signed-off-by: Tristan Shieh <tristan.shieh@mediatek.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32245 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: You-Cheng Syu <youcheng@google.com>
Diffstat (limited to 'src/cpu/amd/pi/00730F01')
0 files changed, 0 insertions, 0 deletions