diff options
author | Peter Chubb <peter.chubb@nicta.com.au> | 2012-07-04 10:43:33 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-07-04 10:43:33 +0000 |
commit | 78d1404dcc9082fa52240cd04f822d54566d6849 (patch) | |
tree | 8edbb9b6e636d1d75b76b86d85027af415325362 /hw/imx.h | |
parent | bcc181b0ad84bfa2369f39c55c63752820d49284 (diff) | |
download | qemu-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.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 */ |