aboutsummaryrefslogtreecommitdiff
path: root/hw/omap_uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/omap_uart.c')
-rw-r--r--hw/omap_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap_uart.c b/hw/omap_uart.c
index cc66cd9d94..9cee81d7c9 100644
--- a/hw/omap_uart.c
+++ b/hw/omap_uart.c
@@ -170,7 +170,7 @@ struct omap_uart_s *omap2_uart_init(struct omap_target_agent_s *ta,
struct omap_uart_s *s = omap_uart_init(base, irq,
fclk, iclk, txdma, rxdma, label, chr);
int iomemtype = cpu_register_io_memory(omap_uart_readfn,
- omap_uart_writefn, s);
+ omap_uart_writefn, s, DEVICE_NATIVE_ENDIAN);
s->ta = ta;