mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-11 07:04:22 +00:00
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:
commit
376e3e8c92
2 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue