Skip to content
Commit bcaa7c2b authored by Mykola Kvach's avatar Mykola Kvach Committed by Carles Cufí
Browse files

boards: arm64: xenvm: read real frequency



Read real frequncy from ARM Arch Timer instead of using define
'CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC' which can be incorrect for
some run cases. If we run xenvm under qemu we get one frequency, but
we can run this build as a DomU for Xen under different real platforms
and thus with differenty arch timer frequencies. So, we need to read
frequency from the timer registers.

Signed-off-by: default avatarMykola Kvach <xakep.amatop@gmail.com>
parent b2fb5706
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment