coreboot/src/soc/mediatek/mt8195
Vince Liu d898653b0e soc/meidatek/mt8196: Extract common timer code for reuse
To promote code reuse and maintainability, move mt8196/timer_prepare.c
to timer_prepare_v2.c. The original timer_prepare.c is renamed to
timer_prepare_v1.c. Also use `mtk_systimer->cntcr` instead of
`SYSTIMER_BASE` for consistency.

BUG=b:379008996
BRANCH=none
TEST=build passed.

Signed-off-by: Vince Liu <vince-wl.liu@mediatek.corp-partner.google.com>
Change-Id: Iab617e7a8bfedb81bcf673edd94d24870df7f751
Reviewed-on: https://review.coreboot.org/c/coreboot/+/88467
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yidi Lin <yidilin@google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
2025-07-19 12:10:57 +00:00
..
include/soc soc/mediatek/mt8196: Refactor mt8196 eDP driver for better code sharing 2025-06-21 10:07:55 +00:00
apusys.c
apusys_devapc.c
bootblock.c
chip.h
ddp.c
devapc.c
dp_intf.c
emi.c
gpio.c
hdmi.c
i2c.c soc/mediatek/common: Move I2C functions to common code 2025-04-24 06:44:59 +00:00
Kconfig
Makefile.mk soc/meidatek/mt8196: Extract common timer code for reuse 2025-07-19 12:10:57 +00:00
msdc.c
mt6315.c
mt6359p.c soc/mediatek: Distinguish pmic_init_setting function name 2024-12-26 12:29:11 +00:00
mt6360.c
mt6691.c
mtcmos.c
pcie.c soc/mediatek: Remove redundant struct pad_func and PAD_* definitions 2024-09-12 16:57:11 +00:00
pll.c
pmif_clk.c soc/mediatek: Rename FREQ_*MHZ to PMIF_TARGET_FREQ_MHZ 2024-11-21 16:13:48 +00:00
pmif_spi.c
pmif_spmi.c soc/mediatek/common: Convert spmi_dev_cnt to a function 2025-05-28 08:37:12 +00:00
scp.c
soc.c
spi.c soc/mediatek: Remove redundant struct pad_func and PAD_* definitions 2024-09-12 16:57:11 +00:00
spm.c tree: Remove unused <assert.h> 2024-11-19 00:40:04 +00:00
usb.c
wdt.c