[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH v2 15/15] sdhci: Implement write method of ACMD12E
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-arm] [PATCH v2 15/15] sdhci: Implement write method of ACMD12ERRSTS register |
Date: |
Thu, 14 Dec 2017 23:18:40 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
Hi Andrey,
On 12/14/2017 11:52 AM, Andrey Smirnov wrote:
> 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
> Reviewed-by: Peter Maydell <address@hidden>
> Signed-off-by: Andrey Smirnov <address@hidden>
I have a more complete patch coming implementing the
CTRL2_VOLTAGE_SWITCH (LSB part of the ACMD12ERRSTS register) but in the
meaning time your patch is fine.
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> hw/sd/sdhci.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c
> index 758af067f9..cb9e0db9fb 100644
> --- a/hw/sd/sdhci.c
> +++ b/hw/sd/sdhci.c
> @@ -1139,6 +1139,9 @@ sdhci_write(void *opaque, hwaddr offset, uint64_t val,
> unsigned size)
> s->admasysaddr = (s->admasysaddr & (0x00000000FFFFFFFFULL |
> ((uint64_t)mask << 32))) | ((uint64_t)value << 32);
> break;
> + case SDHC_ACMD12ERRSTS:
> + MASKED_WRITE(s->acmd12errsts, mask, value);
> + break;
> case SDHC_FEAER:
> s->acmd12errsts |= value;
> s->errintsts |= (value >> 16) & s->errintstsen;
>
- [Qemu-arm] [PATCH v2 11/15] imx_fec: Reserve full FSL_IMX25_FEC_SIZE page for the register file, (continued)
[Qemu-arm] [PATCH v2 13/15] hw: i.MX: Convert i.MX6 to use TYPE_IMX_USDHC, Andrey Smirnov, 2017/12/14
[Qemu-arm] [PATCH v2 14/15] sd: Check for READ_MULTIPLE_BLOCK size limit violation first, Andrey Smirnov, 2017/12/14
[Qemu-arm] [PATCH v2 15/15] sdhci: Implement write method of ACMD12ERRSTS register, Andrey Smirnov, 2017/12/14
- Re: [Qemu-arm] [PATCH v2 15/15] sdhci: Implement write method of ACMD12ERRSTS register,
Philippe Mathieu-Daudé <=