[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH v4 02/14] hw: i.MX: Convert i.MX6 to use TYPE_IMX_
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-arm] [PATCH v4 02/14] hw: i.MX: Convert i.MX6 to use TYPE_IMX_USDHC |
Date: |
Wed, 31 Jan 2018 14:04:20 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 |
On 01/15/2018 10:36 PM, Andrey Smirnov wrote:
> Convert i.MX6 to use TYPE_IMX_USDHC since that's what real HW comes
> with.
>
> Cc: Peter Maydell <address@hidden>
> Cc: Jason Wang <address@hidden>
> Cc: Philippe Mathieu-Daudé <address@hidden>
> Cc: address@hidden
> Cc: address@hidden
> Cc: address@hidden
> Signed-off-by: Andrey Smirnov <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> hw/arm/fsl-imx6.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/arm/fsl-imx6.c b/hw/arm/fsl-imx6.c
> index b0d4088290..e6559a8b12 100644
> --- a/hw/arm/fsl-imx6.c
> +++ b/hw/arm/fsl-imx6.c
> @@ -93,7 +93,7 @@ static void fsl_imx6_init(Object *obj)
> }
>
> for (i = 0; i < FSL_IMX6_NUM_ESDHCS; i++) {
> - object_initialize(&s->esdhc[i], sizeof(s->esdhc[i]),
> TYPE_SYSBUS_SDHCI);
> + object_initialize(&s->esdhc[i], sizeof(s->esdhc[i]), TYPE_IMX_USDHC);
> qdev_set_parent_bus(DEVICE(&s->esdhc[i]), sysbus_get_default());
> snprintf(name, NAME_SIZE, "sdhc%d", i + 1);
> object_property_add_child(obj, name, OBJECT(&s->esdhc[i]), NULL);
>
- [Qemu-arm] [PATCH v4 00/14] Initial i.MX7 support, Andrey Smirnov, 2018/01/15
- [Qemu-arm] [PATCH v4 01/14] sdhci: Add i.MX specific subtype of SDHCI, Andrey Smirnov, 2018/01/15
- [Qemu-arm] [PATCH v4 02/14] hw: i.MX: Convert i.MX6 to use TYPE_IMX_USDHC, Andrey Smirnov, 2018/01/15
- Re: [Qemu-arm] [PATCH v4 02/14] hw: i.MX: Convert i.MX6 to use TYPE_IMX_USDHC,
Philippe Mathieu-Daudé <=
- [Qemu-arm] [PATCH v4 03/14] i.MX: Add code to emulate i.MX7 CCM, PMU and ANALOG IP blocks, Andrey Smirnov, 2018/01/15
- [Qemu-arm] [PATCH v4 04/14] i.MX: Add code to emulate i.MX2 watchdog IP block, Andrey Smirnov, 2018/01/15
- [Qemu-arm] [PATCH v4 05/14] i.MX: Add code to emulate i.MX7 SNVS IP-block, Andrey Smirnov, 2018/01/15
- [Qemu-arm] [PATCH v4 06/14] i.MX: Add code to emulate GPCv2 IP block, Andrey Smirnov, 2018/01/15
- [Qemu-arm] [PATCH v4 07/14] i.MX: Add i.MX7 GPT variant, Andrey Smirnov, 2018/01/15