-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix initial cpu frequency of qemu, fixes #62
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |