mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
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>
This commit is contained in:
parent
111c4c49c3
commit
a1e03956f4
4 changed files with 27 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue