aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/fsl-imx6ul.c
diff options
context:
space:
mode:
authorJean-Christophe Dubois <jcd@tribudubois.net>2022-12-20 18:27:43 +0100
committerPeter Maydell <peter.maydell@linaro.org>2023-01-05 15:02:08 +0000
commita1e03956f4fb355d33a8a4d9f23ed35ccbed9ec9 (patch)
treeb1f99cc7a1113dc3414ff79eaf143e12bfbe12d8 /hw/arm/fsl-imx6ul.c
parent111c4c49c3d5db20d7cac754f486f3989ac00c08 (diff)
downloadqemu-a1e03956f4fb355d33a8a4d9f23ed35ccbed9ec9.zip
qemu-a1e03956f4fb355d33a8a4d9f23ed35ccbed9ec9.tar.gz
qemu-a1e03956f4fb355d33a8a4d9f23ed35ccbed9ec9.tar.bz2
i.MX6UL: Add a specific GPT timer instance for the i.MX6UL
The i.MX6UL doesn't support CLK_HIGH ou CLK_HIGH_DIV clock source. Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm/fsl-imx6ul.c')
-rw-r--r--hw/arm/fsl-imx6ul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/fsl-imx6ul.c b/hw/arm/fsl-imx6ul.c
index f189712..d88d6cc 100644
--- a/hw/arm/fsl-imx6ul.c
+++ b/hw/arm/fsl-imx6ul.c
@@ -81,7 +81,7 @@ static void fsl_imx6ul_init(Object *obj)
*/
for (i = 0; i < FSL_IMX6UL_NUM_GPTS; i++) {
snprintf(name, NAME_SIZE, "gpt%d", i);
- object_initialize_child(obj, name, &s->gpt[i], TYPE_IMX7_GPT);
+ object_initialize_child(obj, name, &s->gpt[i], TYPE_IMX6UL_GPT);
}
/*