mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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>
This commit is contained in:
committed by
Peter Maydell
parent
bcc181b0ad
commit
78d1404dcc
@@ -35,7 +35,7 @@ obj-y += framebuffer.o
|
||||
obj-y += vexpress.o
|
||||
obj-y += strongarm.o
|
||||
obj-y += collie.o
|
||||
obj-y += imx_serial.o imx_ccm.o
|
||||
obj-y += imx_serial.o imx_ccm.o imx_timer.o
|
||||
obj-y += pl041.o lm4549.o
|
||||
obj-$(CONFIG_FDT) += ../device_tree.o
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
+689
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user