summaryrefslogtreecommitdiff
path: root/hw/imx.h
diff options
context:
space:
mode:
authorPeter Chubb <peter.chubb@nicta.com.au>2012-07-04 10:43:33 +0000
committerPeter Maydell <peter.maydell@linaro.org>2012-07-04 10:43:33 +0000
commit40b6f91151e7538ffeec5316300030140b09c16c (patch)
treedaaa738df2238c65094146bda6eb2ed569a8089b /hw/imx.h
parent7bdf43a7538f3c198338e41255fdbe1a851f2203 (diff)
downloadqemu-40b6f91151e7538ffeec5316300030140b09c16c.zip
i.MX: UART support
Implement the Freescale i.MX UART. This uart is used in a variety of SoCs, including some by Motorola, as well as in the Freescale i.MX series. This patch gives only a `bare-bones' implementation, enough to run Linux or OKL4, but that's about it. Signed-off-by: Philip O'Sullivan <philipo@ok-labs.com> Signed-off-by: Peter Chubb <peter.chubb@nicta.com.au> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/imx.h')
-rw-r--r--hw/imx.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/hw/imx.h b/hw/imx.h
new file mode 100644
index 0000000000..c1023cc3c0
--- /dev/null
+++ b/hw/imx.h
@@ -0,0 +1,16 @@
+/*
+ * i.MX31 emulation
+ *
+ * Copyright (C) 2012 Peter Chubb
+ * NICTA
+ *
+ * This code is released under the GPL, version 2.0 or later
+ * See the file `../COPYING' for details.
+ */
+
+#ifndef IMX_H
+#define IMX_H
+
+void imx_serial_create(int uart, const target_phys_addr_t addr, qemu_irq irq);
+
+#endif /* IMX_H */