arm-trusted-firmware/plat/qemu/qemu_sbsa
Marcin Juszkiewicz 5436047a0e refactor(qemu): do not hardcode counter frequency
From QEMU change:

> In previous versions of the Arm architecture, the frequency of the
> generic timers as reported in CNTFRQ_EL0 could be any IMPDEF value,
> and for QEMU we picked 62.5MHz, giving a timer tick period of 16ns.
> In Armv8.6, the architecture standardized this frequency to 1GHz.

This change stops TF-A from hardcoding 62.5MHz frequency. Instead value
stored in CNTFRQ_EL0 would be used. As a result we get 62.5MHz on older
cores and 1GHz on newer ones.

Change-Id: I7d414ce6d3708e598bbb5a6f79eb2d4ec8e15ac4
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2024-04-22 17:33:36 +02:00
..
include refactor(qemu): do not hardcode counter frequency 2024-04-22 17:33:36 +02:00
platform.mk build(qemu-sbsa): it is GICv3 platform 2023-11-06 20:39:32 +02:00
sbsa_gic.c feat(qemu-sbsa): handle GIC base 2023-06-05 12:24:44 +02:00
sbsa_pm.c qemu/qemu_sbsa: add support for sbsa-ref Embedded Controller 2021-01-19 18:40:45 +00:00
sbsa_private.h qemu/qemu_sbsa: add support for sbsa-ref Embedded Controller 2021-01-19 18:40:45 +00:00
sbsa_sip_svc.c feat(qemu-sbsa): handle memory information 2024-01-22 02:54:47 +00:00
sbsa_topology.c qemu/qemu_sbsa: topology is different from qemu so add handling 2021-01-19 18:40:05 +00:00