Merge changes from topic "versal2-qemu" into integration

* changes:
  fix(versal2): align QEMU APU GT frequency with silicon
  fix(zynqmp): fix syscnt frequency for QEMU
This commit is contained in:
Joanna Farley 2025-04-01 08:57:57 +02:00 committed by TrustedFirmware Code Review
commit 376e3e8c92
2 changed files with 1 additions and 4 deletions

View file

@ -120,9 +120,6 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
cpu_clock = 112203;
break;
case QEMU:
/* Random values now */
cpu_clock = 3333333;
break;
case SILICON:
cpu_clock = 100000000;
break;

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);
}