summaryrefslogtreecommitdiffstats
path: root/hw/m68k
diff options
context:
space:
mode:
authorGreg Ungerer2016-09-28 02:06:39 +0200
committerMichael Tokarev2016-10-08 10:25:29 +0200
commitcbf061bd1fdb5017bfadde2164bdd6183d53a43d (patch)
tree42fc88c9bfa129eb474922b13258368049eed785 /hw/m68k
parentexec: remove unused compacted argument (diff)
downloadqemu-cbf061bd1fdb5017bfadde2164bdd6183d53a43d.tar.gz
qemu-cbf061bd1fdb5017bfadde2164bdd6183d53a43d.tar.xz
qemu-cbf061bd1fdb5017bfadde2164bdd6183d53a43d.zip
m68k: change default system clock for m5208evb
The shipping default setting for the Freescale M5208EVB board is to run the CPU at 166.67MHz. The current qemu emulation code for this board is defaulting to 66MHz. This results in time appearing to run way to slowly. So a "sleep 5" in a standard ColdFire Linux build takes almost 15 seconds in real time to actually complete. Change the hard coded default to match the default hardware setting. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Thomas Huth <huth@tuxfamily.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/m68k')
-rw-r--r--hw/m68k/mcf5208.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/m68k/mcf5208.c b/hw/m68k/mcf5208.c
index 9240ebf9af..3438314c35 100644
--- a/hw/m68k/mcf5208.c
+++ b/hw/m68k/mcf5208.c
@@ -21,7 +21,7 @@
#include "elf.h"
#include "exec/address-spaces.h"
-#define SYS_FREQ 66000000
+#define SYS_FREQ 166666666
#define PCSR_EN 0x0001
#define PCSR_RLD 0x0002