fix(zynqmp): fix syscnt frequency for QEMU

QEMU uses a 62.5MHz clock frequency for the ARM generic timers.

Signed-off-by: Luc Michel <luc.michel@amd.com>
Change-Id: Ib846e17feb3cd44878a62add320fa4795fd5c69e
This commit is contained in:
Luc Michel 2025-03-28 10:24:28 +01:00 committed by Michal Simek
parent 2377542785
commit 55ae162fd5

View file

@ -406,7 +406,7 @@ uint32_t plat_get_syscnt_freq2(void)
uint32_t ret = 0U;
if (ver == ZYNQMP_CSU_VERSION_QEMU) {
ret = 65000000U;
ret = 62500000U;
} else {
ret = mmio_read_32((uint64_t)IOU_SCNTRS_BASEFREQ);
}