sdhci: Implement DeviceClass reset
commit8b41c30525a529ee69505909908a704fc134d21b
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 4 Mar 2016 11:30:17 +0000 (4 11:30 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 4 Mar 2016 11:30:17 +0000 (4 11:30 +0000)
tree170d35510fd104504ad4127678a63a0a983f6356
parent0719e71e5297f68b6b4500aa74e1b49d59806342
sdhci: Implement DeviceClass reset

The sdhci device was missing a DeviceClass reset method;
implement it. Poweron reset looks the same as reset commanded
by the guest via the device registers, apart from modelling of
the rpi 'pending insert interrupt on powerup' quirk.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Message-id: 1456493044-10025-3-git-send-email-peter.maydell@linaro.org
hw/sd/sdhci.c