Skip to content

Commit

Permalink
fix initial cpu frequency of qemu, fixes #62
Browse files Browse the repository at this point in the history
  • Loading branch information
rroohhh committed Mar 23, 2019
1 parent 7d8ab57 commit 62ed49b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patches/qemu/slcr_linux_fixes.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/hw/misc/zynq_slcr.c b/hw/misc/zynq_slcr.c
index 7557482..3a387ec 100644
--- a/hw/misc/zynq_slcr.c
+++ b/hw/misc/zynq_slcr.c
@@ -310,7 +310,7 @@ static void zynq_slcr_reset(DeviceState *d)

s->regs[LOCKSTA] = 1;
/* 0x100 - 0x11C */
- s->regs[ARM_PLL_CTRL] = 0x0001A008;
+ s->regs[ARM_PLL_CTRL] = 0x00014008;
s->regs[DDR_PLL_CTRL] = 0x0001A008;
s->regs[IO_PLL_CTRL] = 0x0001A008;
s->regs[PLL_STATUS] = 0x0000003F;

0 comments on commit 62ed49b

Please sign in to comment.