mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2026-08-15 05:18:32 +00:00
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>
8 lines
312 B
Makefile
8 lines
312 B
Makefile
# the drivers registration framework
|
|
lib-y += framework.o
|
|
lib-$(CONFIG_LIBFDT) += ramdisk-handler.o
|
|
lib-$(CONFIG_EXYNOS_ACPM) += samsung/exynos-acpm.o
|
|
lib-$(CONFIG_EXYNOS_SPEEDY) += samsung/exynos-speedy.o
|
|
lib-$(CONFIG_MEDIATEK_MCUSYS) += mediatek/mcusys.o
|
|
lib-$(CONFIG_TIMER_MTK_CPUXGPT) += timer/mtk_cpuxgpt.o
|