[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH v3 12/30] sdhci: Implement write method of ACMD12E
From: |
Andrey Smirnov |
Subject: |
Re: [Qemu-arm] [PATCH v3 12/30] sdhci: Implement write method of ACMD12ERRSTS register |
Date: |
Wed, 22 Nov 2017 12:50:42 -0800 |
On Tue, Nov 21, 2017 at 10:04 AM, Peter Maydell
<address@hidden> wrote:
> On 6 November 2017 at 15:47, Andrey Smirnov <address@hidden> 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
>> Signed-off-by: Andrey Smirnov <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 f561cc44e3..53e5e011a7 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;
>> --
>> 2.13.6
>
> Is this part of the stock SDHCI spec that we just forgot to implement?
Yes it is. I don't know if missing that code critical for anything,
but since the rest of the plumbing is there I thought that we may as
well implement it.
Thanks,
Andrey Smirnov
- Re: [Qemu-arm] [PATCH v3 10/30] imx_fec: Reserve full 4K page for the register file, (continued)
- [Qemu-arm] [PATCH v3 09/30] imx_fec: Fix a typo in imx_enet_receive(), Andrey Smirnov, 2017/11/06
- [Qemu-arm] [PATCH v3 12/30] sdhci: Implement write method of ACMD12ERRSTS register, Andrey Smirnov, 2017/11/06
- [Qemu-arm] [PATCH v3 14/30] i.MX: Add code to emulate i.MX2 watchdog IP block, Andrey Smirnov, 2017/11/06
- [Qemu-arm] [PATCH v3 13/30] i.MX: Add code to emulate i.MX7 CCM, PMU and ANALOG IP blocks, Andrey Smirnov, 2017/11/06
- [Qemu-arm] [PATCH v3 16/30] i.MX: Add code to emulate GPCv2 IP block, Andrey Smirnov, 2017/11/06
- [Qemu-arm] [PATCH v3 15/30] i.MX: Add code to emulate i.MX7 SNVS IP-block, Andrey Smirnov, 2017/11/06