From 62ed49b723d1314a2480dbedf46d82e9d078e1d9 Mon Sep 17 00:00:00 2001 From: Robin Heinemann Date: Sat, 23 Mar 2019 12:57:32 +0100 Subject: [PATCH] fix initial cpu frequency of qemu, fixes #62 --- patches/qemu/slcr_linux_fixes.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/qemu/slcr_linux_fixes.patch diff --git a/patches/qemu/slcr_linux_fixes.patch b/patches/qemu/slcr_linux_fixes.patch new file mode 100644 index 00000000..26af94e2 --- /dev/null +++ b/patches/qemu/slcr_linux_fixes.patch @@ -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;