aboutsummaryrefslogtreecommitdiff
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
commit78d1404dcc9082fa52240cd04f822d54566d6849 (patch)
tree8edbb9b6e636d1d75b76b86d85027af415325362 /hw/imx.h
parentbcc181b0ad84bfa2369f39c55c63752820d49284 (diff)
downloadqemu-78d1404dcc9082fa52240cd04f822d54566d6849.zip
qemu-78d1404dcc9082fa52240cd04f822d54566d6849.tar.gz
qemu-78d1404dcc9082fa52240cd04f822d54566d6849.tar.bz2
i.MX31: Timers
Implement the timers on the Freescale i.MX31 SoC. This is not a complete implementation, but gives enough for Linux to boot and run. In particular external triggers, which are not useful under QEMU, are not implemented. 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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/hw/imx.h b/hw/imx.h
index 707e943..ccf586f 100644
--- a/hw/imx.h
+++ b/hw/imx.h
@@ -23,4 +23,12 @@ typedef enum {
uint32_t imx_clock_frequency(DeviceState *s, IMXClk clock);
+void imx_timerp_create(const target_phys_addr_t addr,
+ qemu_irq irq,
+ DeviceState *ccm);
+void imx_timerg_create(const target_phys_addr_t addr,
+ qemu_irq irq,
+ DeviceState *ccm);
+
+
#endif /* IMX_H */