diff options
Diffstat (limited to 'hw/realview.c')
-rw-r--r-- | hw/realview.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/realview.c b/hw/realview.c index e9fcbc9a6d..6eb6c6a1f1 100644 --- a/hw/realview.c +++ b/hw/realview.c @@ -81,7 +81,8 @@ static int realview_i2c_init(SysBusDevice *dev) bus = i2c_init_bus(&dev->qdev, "i2c"); s->bitbang = bitbang_i2c_init(bus); iomemtype = cpu_register_io_memory(realview_i2c_readfn, - realview_i2c_writefn, s); + realview_i2c_writefn, s, + DEVICE_NATIVE_ENDIAN); sysbus_init_mmio(dev, 0x1000, iomemtype); return 0; } |