diff options
author | Jean-Christophe Dubois <jcd@tribudubois.net> | 2015-08-13 11:26:20 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-08-13 11:26:20 +0100 |
commit | 282e74c83fd8af08d14fb1220a960e34b60e505f (patch) | |
tree | 8dd24de243591ceef36bba33ddd7e18c2dc90a6e /include/hw/arm | |
parent | dbeedce78eea56ac4d482722291d6a7ebfd414d2 (diff) | |
download | hqemu-282e74c83fd8af08d14fb1220a960e34b60e505f.zip hqemu-282e74c83fd8af08d14fb1220a960e34b60e505f.tar.gz |
i.MX: Split CCM emulator in a header file and a source file
Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-id: b1d6f990229b2608bbaba24f4ff359571c0b07da.1437080501.git.jcd@tribudubois.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/arm')
-rw-r--r-- | include/hw/arm/imx.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/hw/arm/imx.h b/include/hw/arm/imx.h index ea9e093..b188560 100644 --- a/include/hw/arm/imx.h +++ b/include/hw/arm/imx.h @@ -11,17 +11,9 @@ #ifndef IMX_H #define IMX_H -void imx_serial_create(int uart, const hwaddr addr, qemu_irq irq); - -typedef enum { - NOCLK, - MCU, - HSP, - IPG, - CLK_32k -} IMXClk; +#include "hw/misc/imx_ccm.h" -uint32_t imx_clock_frequency(DeviceState *s, IMXClk clock); +void imx_serial_create(int uart, const hwaddr addr, qemu_irq irq); void imx_timerp_create(const hwaddr addr, qemu_irq irq, |