Files
uniLoader/drivers/timer/Kconfig
Alexandru Chimac e3bfa5e08d drivers: Add driver for MediaTek CPUXGPT timers
On some MediaTek platforms, the cores' System Timers aren't initialized
corectly by TEE, so we need to enable them manually, otherwise CNTVCT_EL0
will return 0, and any delay function will generate an infinite loop.

Based on [1].

[1]: https://patchwork.kernel.org/project/linux-mediatek/patch/20220509210741.12020-3-angelogioacchino.delregno@collabora.com/

Signed-off-by: Alexandru Chimac <alex@chimac.ro>
2026-07-06 11:03:28 +03:00

11 lines
302 B
Plaintext

if TIMER
config TIMER_MTK_CPUXGPT
bool "Timer initialization for MediaTek CPUXGPT"
depends on MEDIATEK_MCUSYS
default n
help
Some Mediatek platforms have a buggy ATF that doesn't enable
the ARM Architected Timers. Say Y here if you have a device
with one of those platforms.
endif