aboutsummaryrefslogtreecommitdiff
path: root/hw/syborg_rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/syborg_rtc.c')
-rw-r--r--hw/syborg_rtc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/syborg_rtc.c b/hw/syborg_rtc.c
index 78d5edb0f7..329aa42661 100644
--- a/hw/syborg_rtc.c
+++ b/hw/syborg_rtc.c
@@ -130,7 +130,8 @@ static int syborg_rtc_init(SysBusDevice *dev)
int iomemtype;
iomemtype = cpu_register_io_memory(syborg_rtc_readfn,
- syborg_rtc_writefn, s);
+ syborg_rtc_writefn, s,
+ DEVICE_NATIVE_ENDIAN);
sysbus_init_mmio(dev, 0x1000, iomemtype);
qemu_get_timedate(&tm, 0);