]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: imx9: Add function to initialize timer
authorJian Li <jian.li@nxp.com>
Tue, 26 Jul 2022 08:40:46 +0000 (16:40 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 26 Jul 2022 09:29:00 +0000 (11:29 +0200)
commit53cf550d23e3be5011a429407ddc35e92e3650d6
treeba322e2fc24c01d0e2913b9a834ab50e8fe5a724
parent65c56bcaec7e17175d3a5f08f9da0c75b27a1732
imx: imx9: Add function to initialize timer

Add timer_init to update ARM arch timer with correct frequency
from system counter and enable system counter.

Signed-off-by: Jian Li <jian.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-imx9/imx-regs.h
arch/arm/mach-imx/imx9/soc.c