[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 1/1] hw/arm: versal: Setup the ADMA with 128bit bus-width
From: |
Luc Michel |
Subject: |
Re: [PATCH v1 1/1] hw/arm: versal: Setup the ADMA with 128bit bus-width |
Date: |
Sun, 19 Apr 2020 21:03:22 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
On 4/17/20 5:38 PM, Edgar E. Iglesias wrote:
> From: "Edgar E. Iglesias" <address@hidden>
>
> Setup the ADMA with 128bit bus-width. This matters when
> FIXED BURST mode is used.
>
> Signed-off-by: Edgar E. Iglesias <address@hidden>
Reviewed-by: Luc Michel <address@hidden>
> ---
> hw/arm/xlnx-versal.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/hw/arm/xlnx-versal.c b/hw/arm/xlnx-versal.c
> index cb0122a3a6..94460f2343 100644
> --- a/hw/arm/xlnx-versal.c
> +++ b/hw/arm/xlnx-versal.c
> @@ -205,6 +205,8 @@ static void versal_create_admas(Versal *s, qemu_irq *pic)
>
> dev = qdev_create(NULL, "xlnx.zdma");
> s->lpd.iou.adma[i] = SYS_BUS_DEVICE(dev);
> + object_property_set_int(OBJECT(s->lpd.iou.adma[i]), 128, "bus-width",
> + &error_abort);
> object_property_add_child(OBJECT(s), name, OBJECT(dev),
> &error_fatal);
> qdev_init_nofail(dev);
>
>