summaryrefslogtreecommitdiff
path: root/src/mainboard/apple/macbook21/mainboard.c
diff options
context:
space:
mode:
authorJarried Lin <jarried.lin@mediatek.corp-partner.google.com>2024-07-14 19:02:21 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-09-30 11:11:01 +0000
commitced0c208e43ebcdf9560754a6db27d10ae7df81f (patch)
tree70afc6bb88e628be7c0e1c16f4be11fdaf7ba55c /src/mainboard/apple/macbook21/mainboard.c
parent16fe2eec083fa9465b157a322111cd6678a306d4 (diff)
soc/mediatek/mt8196: Fix timer reset in BL31
After reboot, the system does not need to serve pending IRQ from systimer. Therefore, clear systimer IRQ pending bits in init_timer(). For that to work, the systimer compensation version 2.0 needs to be enabled. TEST=Build pass and timestamp is not reset in ATF and payload BUG=b:343881008 Change-Id: I520986b81ca153ec3ce56558a80619448cfc0c59 Signed-off-by: Zhanzhan Ge <zhanzhan.ge@mediatek.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83928 Reviewed-by: Yidi Lin <yidilin@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/mainboard/apple/macbook21/mainboard.c')
0 files changed, 0 insertions, 0 deletions