aboutsummaryrefslogtreecommitdiff
path: root/hw/syborg_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/syborg_timer.c')
-rw-r--r--hw/syborg_timer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/syborg_timer.c b/hw/syborg_timer.c
index 95e07d7bbf..cedcd8ed47 100644
--- a/hw/syborg_timer.c
+++ b/hw/syborg_timer.c
@@ -215,7 +215,8 @@ static int syborg_timer_init(SysBusDevice *dev)
}
sysbus_init_irq(dev, &s->irq);
iomemtype = cpu_register_io_memory(syborg_timer_readfn,
- syborg_timer_writefn, s);
+ syborg_timer_writefn, s,
+ DEVICE_NATIVE_ENDIAN);
sysbus_init_mmio(dev, 0x1000, iomemtype);
bh = qemu_bh_new(syborg_timer_tick, s);