]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: set cntfrq_el0 if CONFIG_COUNTER_FREQUENCY is valid
authorPeng Fan <peng.fan@nxp.com>
Wed, 13 Apr 2022 09:47:22 +0000 (17:47 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 21 Apr 2022 19:27:18 +0000 (15:27 -0400)
commit151a030063898e5c8b03b40c3a96b073db0b0dc7
tree91f01f0434711bb9c31a311c0ba0e876c9627a8f
parentc5b9bf5518411c72a3763371049cfabeb5f16633
arm: set cntfrq_el0 if CONFIG_COUNTER_FREQUENCY is valid

Since COUNTER_FREQUENCY is obselete, so set cntfrq_el0 if
CONFIG_COUNTER_FREQUENCY is valid

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
arch/arm/cpu/armv7/ls102xa/psci.S
arch/arm/cpu/armv7/ls102xa/timer.c
arch/arm/cpu/armv7/nonsec_virt.S
arch/arm/cpu/armv7/sunxi/psci.c
arch/arm/cpu/armv8/start.S
arch/arm/mach-rockchip/rk3036-board-spl.c
arch/arm/mach-rockchip/spl.c
arch/arm/mach-rockchip/tpl.c
board/sunxi/board.c