diff options
Diffstat (limited to 'hw/syborg_serial.c')
-rw-r--r-- | hw/syborg_serial.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/syborg_serial.c b/hw/syborg_serial.c index 8c429563a2..34ce076d45 100644 --- a/hw/syborg_serial.c +++ b/hw/syborg_serial.c @@ -322,7 +322,8 @@ static int syborg_serial_init(SysBusDevice *dev) sysbus_init_irq(dev, &s->irq); iomemtype = cpu_register_io_memory(syborg_serial_readfn, - syborg_serial_writefn, s); + syborg_serial_writefn, s, + DEVICE_NATIVE_ENDIAN); sysbus_init_mmio(dev, 0x1000, iomemtype); s->chr = qdev_init_chardev(&dev->qdev); if (s->chr) { |