qemu-patch-raspberry4/hw/sd
Andrew Baumann 0a7ac9f9e7 sdhci: add quirk property for card insert interrupt status on Raspberry Pi
This quirk is a workaround for the following hardware behaviour, on
which UEFI (specifically, the bootloader for Windows on Pi2) depends:

1. at boot with an SD card present, the interrupt status/enable
   registers are initially zero
2. upon enabling it in the interrupt enable register, the card insert
   bit in the interrupt status register is immediately set
3. after a subsequent controller reset, the card insert interrupt does
   not fire, even if enabled in the interrupt enable register

Signed-off-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Message-id: 1456436130-7048-3-git-send-email-Andrew.Baumann@microsoft.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2016-02-26 15:09:42 +00:00
..
core.c hw/sd: Add QOM bus which SD cards plug in to 2016-02-18 14:26:33 +00:00
Makefile.objs hw/sd: Add QOM bus which SD cards plug in to 2016-02-18 14:26:33 +00:00
milkymist-memcard.c lm32: Clean up includes 2016-01-29 15:07:22 +00:00
omap_mmc.c arm devices: Clean up includes 2016-01-29 15:07:25 +00:00
pl181.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
pxa2xx_mmci.c hw/sd/pxa2xx_mmci: Add reset function 2016-02-18 14:50:50 +00:00
sd.c hw/sd: use guest error logging rather than fprintf to stderr 2016-02-18 14:50:50 +00:00
sdhci-internal.h sdhci: Split sdhci.h for public and internal device usage 2015-10-29 17:59:27 +00:00
sdhci.c sdhci: add quirk property for card insert interrupt status on Raspberry Pi 2016-02-26 15:09:42 +00:00
ssi-sd.c hw: Clean up includes 2016-01-29 15:07:25 +00:00