diff options
author | Jean-Christophe Dubois | 2015-08-13 12:26:20 +0200 |
---|---|---|
committer | Peter Maydell | 2015-08-13 12:26:20 +0200 |
commit | 282e74c83fd8af08d14fb1220a960e34b60e505f (patch) | |
tree | 8dd24de243591ceef36bba33ddd7e18c2dc90a6e /include/hw/arm | |
parent | i.MX: Fix Coding style for AVIC emulator. (diff) | |
download | qemu-282e74c83fd8af08d14fb1220a960e34b60e505f.tar.gz qemu-282e74c83fd8af08d14fb1220a960e34b60e505f.tar.xz qemu-282e74c83fd8af08d14fb1220a960e34b60e505f.zip |
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 ea9e093277..b1885603c3 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, |