aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/allwinner-r40.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/arm/allwinner-r40.c')
-rw-r--r--hw/arm/allwinner-r40.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/allwinner-r40.c b/hw/arm/allwinner-r40.c
index 47b3180..cef6e4d 100644
--- a/hw/arm/allwinner-r40.c
+++ b/hw/arm/allwinner-r40.c
@@ -492,7 +492,7 @@ static void allwinner_r40_realize(DeviceState *dev, Error **errp)
serial_mm_init(get_system_memory(), addr, 2,
qdev_get_gpio_in(DEVICE(&s->gic), uart_irqs[i]),
- 115200, serial_hd(i), DEVICE_NATIVE_ENDIAN);
+ 115200, serial_hd(i), DEVICE_LITTLE_ENDIAN);
}
/* I2C */