diff options
author | Andrew Baumann | 2016-03-16 18:06:01 +0100 |
---|---|---|
committer | Peter Maydell | 2016-03-16 18:42:18 +0100 |
commit | a2a8dfa8d830bf8482fdabcefdc9005189c9ecdb (patch) | |
tree | a2571cd380f26de732b3964c5fd98f6408970415 /hw | |
parent | hw/arm: Add palmetto-bmc machine (diff) | |
download | qemu-a2a8dfa8d830bf8482fdabcefdc9005189c9ecdb.tar.gz qemu-a2a8dfa8d830bf8482fdabcefdc9005189c9ecdb.tar.xz qemu-a2a8dfa8d830bf8482fdabcefdc9005189c9ecdb.zip |
bcm2835_peripherals: enable sdhci pending-insert quirk for raspberry pi
Signed-off-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1457467526-8840-2-git-send-email-Andrew.Baumann@microsoft.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/arm/bcm2835_peripherals.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/arm/bcm2835_peripherals.c b/hw/arm/bcm2835_peripherals.c index 6d66fa0280..6ce9cd1bd6 100644 --- a/hw/arm/bcm2835_peripherals.c +++ b/hw/arm/bcm2835_peripherals.c @@ -171,6 +171,13 @@ static void bcm2835_peripherals_realize(DeviceState *dev, Error **errp) return; } + object_property_set_bool(OBJECT(&s->sdhci), true, "pending-insert-quirk", + &err); + if (err) { + error_propagate(errp, err); + return; + } + object_property_set_bool(OBJECT(&s->sdhci), true, "realized", &err); if (err) { error_propagate(errp, err); |