From 5d2c0464fa7e3b00ed8eb4791ba1e955e29b685b Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Tue, 16 Jan 2018 13:28:20 +0000 Subject: [PATCH] sdhci: Implement write method of ACMD12ERRSTS register MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andrey Smirnov Reviewed-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-id: 20180115182436.2066-13-f4bug@amsat.org Signed-off-by: Peter Maydell --- hw/sd/sdhci.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c index d4fcebcd6a..9bdbcd0a04 100644 --- a/hw/sd/sdhci.c +++ b/hw/sd/sdhci.c @@ -1129,6 +1129,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: