Commit 65501a7c authored by Edgar E. Iglesias's avatar Edgar E. Iglesias Committed by Jolly Shah
Browse files

plat: xilinx: zynqmp: Correct syscnt freq for QEMU



Correct the syscnt frequency for ZynqMP QEMU to 65Mhz.
Signed-off-by: default avatarEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: default avatarJolly Shah <jolly.shah@xilinx.com>
Change-Id: Ie0137feb9b7e24ed4e5d6cbf81c58ac77bb69214
parent c613a660
...@@ -350,7 +350,7 @@ unsigned int plat_get_syscnt_freq2(void) ...@@ -350,7 +350,7 @@ unsigned int plat_get_syscnt_freq2(void)
unsigned int ver = zynqmp_get_silicon_ver(); unsigned int ver = zynqmp_get_silicon_ver();
if (ver == ZYNQMP_CSU_VERSION_QEMU) if (ver == ZYNQMP_CSU_VERSION_QEMU)
return 50000000; return 65000000;
else else
return mmio_read_32(IOU_SCNTRS_BASEFREQ); return mmio_read_32(IOU_SCNTRS_BASEFREQ);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment