eal/armv8: implement arch-specific TSC freq query
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 22 Sep 2017 08:25:36 +0000 (13:55 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Oct 2017 11:07:23 +0000 (13:07 +0200)
Use cntvct_el0 system register to get the system counter frequency.

If the system is configured with RTE_ARM_EAL_RDTSC_USE_PMU then
return 0(let the common code calibrate the tsc frequency).

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Acked-by: Jianbo Liu <jianbo.liu@linaro.org>

No differences found