aboutsummaryrefslogtreecommitdiff
path: root/hw/petalogix_ml605_mmu.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2011-08-11 16:07:14 -0700
committerAvi Kivity <avi@redhat.com>2011-10-02 16:14:01 +0200
commitfb50cfe44dbff7be1489c5ecf5428aabd401f2e0 (patch)
tree737c44fe223d0a98a30ed36781413fb4715b7e42 /hw/petalogix_ml605_mmu.c
parent8e8ffc44e8d0a4a41e4b0bee8b1c2a3e1a11cfc4 (diff)
serial: Use enum device_endian in serial_mm_init parameter
The use of DEVICE_NATIVE_ENDIAN cleans up lots of ifdefs in many of the callers. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/petalogix_ml605_mmu.c')
-rw-r--r--hw/petalogix_ml605_mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/petalogix_ml605_mmu.c b/hw/petalogix_ml605_mmu.c
index 38db521b37..97ff33d61b 100644
--- a/hw/petalogix_ml605_mmu.c
+++ b/hw/petalogix_ml605_mmu.c
@@ -185,7 +185,7 @@ petalogix_ml605_init(ram_addr_t ram_size,
}
serial_mm_init(UART16550_BASEADDR + 0x1000, 2, irq[5], 115200,
- serial_hds[0], 1, 0);
+ serial_hds[0], 1, DEVICE_LITTLE_ENDIAN);
/* 2 timers at irq 2 @ 100 Mhz. */
xilinx_timer_create(TIMER_BASEADDR, irq[2], 2, 100 * 1000000);