aboutsummaryrefslogtreecommitdiff
path: root/hw/pl050.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl050.c')
-rw-r--r--hw/pl050.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/pl050.c b/hw/pl050.c
index a47786cb0a..057383985e 100644
--- a/hw/pl050.c
+++ b/hw/pl050.c
@@ -128,7 +128,8 @@ static int pl050_init(SysBusDevice *dev, int is_mouse)
int iomemtype;
iomemtype = cpu_register_io_memory(pl050_readfn,
- pl050_writefn, s);
+ pl050_writefn, s,
+ DEVICE_NATIVE_ENDIAN);
sysbus_init_mmio(dev, 0x1000, iomemtype);
sysbus_init_irq(dev, &s->irq);
s->is_mouse = is_mouse;