--- qemu/hw/pxa2xx_mmci.c 2018/04/24 18:30:40 1.1.1.5 +++ qemu/hw/pxa2xx_mmci.c 2018/04/24 18:40:10 1.1.1.6 @@ -528,7 +528,7 @@ PXA2xxMMCIState *pxa2xx_mmci_init(target s->dma = dma; iomemtype = cpu_register_io_memory(pxa2xx_mmci_readfn, - pxa2xx_mmci_writefn, s); + pxa2xx_mmci_writefn, s, DEVICE_NATIVE_ENDIAN); cpu_register_physical_memory(base, 0x00100000, iomemtype); /* Instantiate the actual storage */