aboutsummaryrefslogtreecommitdiff
path: root/hw/arm
diff options
context:
space:
mode:
authorJean-Christophe Dubois <jcd@tribudubois.net>2015-08-13 11:26:20 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-08-13 11:26:20 +0100
commit282e74c83fd8af08d14fb1220a960e34b60e505f (patch)
tree8dd24de243591ceef36bba33ddd7e18c2dc90a6e /hw/arm
parentdbeedce78eea56ac4d482722291d6a7ebfd414d2 (diff)
downloadqemu-282e74c83fd8af08d14fb1220a960e34b60e505f.zip
qemu-282e74c83fd8af08d14fb1220a960e34b60e505f.tar.gz
qemu-282e74c83fd8af08d14fb1220a960e34b60e505f.tar.bz2
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 'hw/arm')
-rw-r--r--hw/arm/kzm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/kzm.c b/hw/arm/kzm.c
index c906da7..d7af230 100644
--- a/hw/arm/kzm.c
+++ b/hw/arm/kzm.c
@@ -115,7 +115,7 @@ static void kzm_init(MachineState *machine)
imx_serial_create(0, 0x43f90000, qdev_get_gpio_in(dev, 45));
imx_serial_create(1, 0x43f94000, qdev_get_gpio_in(dev, 32));
- ccm = sysbus_create_simple("imx_ccm", 0x53f80000, NULL);
+ ccm = sysbus_create_simple(TYPE_IMX_CCM, 0x53f80000, NULL);
imx_timerp_create(0x53f94000, qdev_get_gpio_in(dev, 28), ccm);
imx_timerp_create(0x53f98000, qdev_get_gpio_in(dev, 27), ccm);