]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Armv8: Initializing CNTVOFF_EL2
authorDavid Feng <fenghua@phytium.com.cn>
Mon, 2 Mar 2015 07:29:34 +0000 (15:29 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:16 +0000 (21:47 +0200)
commite02f57a5c92dc9a05b61eb042de7a538bac57c4c
tree99f26dd2af2cd77ff53ab5a193e46d36ff9378d6
parent63405a698865e3af780556d37f03255b6af32a1a
Armv8: Initializing CNTVOFF_EL2

Linux-arm64 require that CNTVOFF_EL2 should be programmed with
a consistent value on all cpus. Initializing CNTVOFF_EL2 at state
transition instead of start.S could prevent potential different value
on cpus if ATF exist and u-boot runs at only one cpu.

Signed-off-by: David Feng <fenghua@phytium.com.cn>
arch/arm/include/asm/macro.h