[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v6 12/13] sdhci: Implement write method of ACMD12ERR
From: |
Philippe Mathieu-Daudé |
Subject: |
[Qemu-devel] [PATCH v6 12/13] sdhci: Implement write method of ACMD12ERRSTS register |
Date: |
Thu, 11 Jan 2018 16:30:20 -0300 |
From: Andrey Smirnov <address@hidden>
Signed-off-by: Andrey Smirnov <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alistair Francis <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 18db67776f..c86c2571b7 100644
--- a/hw/sd/sdhci.c
+++ b/hw/sd/sdhci.c
@@ -1128,6 +1128,9 @@ sdhci_write(void *opaque, hwaddr offset, uint64_t val,
unsigned size)
}
sdhci_update_irq(s);
break;
+ case SDHC_ACMD12ERRSTS:
+ MASKED_WRITE(s->acmd12errsts, mask, value);
+ break;
case SDHC_CAPAB:
case SDHC_CAPAB + 4:
--
2.15.1
- [Qemu-devel] [PATCH v6 03/13] sdhci: refactor same sysbus/pci properties into a common one, (continued)
- [Qemu-devel] [PATCH v6 03/13] sdhci: refactor same sysbus/pci properties into a common one, Philippe Mathieu-Daudé, 2018/01/11
- [Qemu-devel] [PATCH v6 05/13] sdhci: refactor common sysbus/pci realize() into sdhci_common_realize(), Philippe Mathieu-Daudé, 2018/01/11
- [Qemu-devel] [PATCH v6 06/13] sdhci: refactor common sysbus/pci unrealize() into sdhci_common_unrealize(), Philippe Mathieu-Daudé, 2018/01/11
- [Qemu-devel] [PATCH v6 07/13] sdhci: use qemu_log_mask(UNIMP) instead of fprintf(), Philippe Mathieu-Daudé, 2018/01/11
- [Qemu-devel] [PATCH v6 08/13] sdhci: convert the DPRINT() calls into trace events, Philippe Mathieu-Daudé, 2018/01/11
- [Qemu-devel] [PATCH v6 09/13] sdhci: move MASK_TRNMOD with other SDHC_TRN* defines in "sd-internal.h", Philippe Mathieu-Daudé, 2018/01/11
- [Qemu-devel] [PATCH v6 10/13] sdhci: rename the SDHC_CAPAB register, Philippe Mathieu-Daudé, 2018/01/11
- [Qemu-devel] [PATCH v6 11/13] sdhci: fix CAPAB/MAXCURR registers, both are 64bit and read-only, Philippe Mathieu-Daudé, 2018/01/11
- [Qemu-devel] [PATCH v6 12/13] sdhci: Implement write method of ACMD12ERRSTS register,
Philippe Mathieu-Daudé <=
- [Qemu-devel] [PATCH v6 13/13] sdhci: add a "dma" property, Philippe Mathieu-Daudé, 2018/01/11
- Re: [Qemu-devel] [PATCH v6 00/13] SDHCI: housekeeping, Alistair Francis, 2018/01/11