aboutsummaryrefslogtreecommitdiff
path: root/hw/imx.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/imx.h')
-rw-r--r--hw/imx.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/hw/imx.h b/hw/imx.h
index c1023cc..707e943 100644
--- a/hw/imx.h
+++ b/hw/imx.h
@@ -13,4 +13,14 @@
void imx_serial_create(int uart, const target_phys_addr_t addr, qemu_irq irq);
+typedef enum {
+ NOCLK,
+ MCU,
+ HSP,
+ IPG,
+ CLK_32k
+} IMXClk;
+
+uint32_t imx_clock_frequency(DeviceState *s, IMXClk clock);
+
#endif /* IMX_H */