aboutsummaryrefslogtreecommitdiffstats
path: root/hw/sd.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-07 22:10:40 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-07 22:10:40 +0000
commit829ef7b015df71f1532331c2933c5f163ff6a8fe (patch)
treee656757baea000ea09bf0c0c70a3fbe8bbb72afb /hw/sd.c
parent533d177a98c5f73ba34fd04bf232fac1f44cf168 (diff)
do not pretend to support low voltage operation
Eliminate "mmc0: SD card claims to support the incompletely defined 'low voltage range'. This will be ignored." warning. Qemu says the card is a SD card, and SD spec doesn't define low-voltage cards, so do now pretend to be one. Signed-off-by: Riku Voipio <riku.voipio@iki.fi> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6772 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sd.c')
-rw-r--r--hw/sd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sd.c b/hw/sd.c
index 0c770bc0a..fa1c02cf0 100644
--- a/hw/sd.c
+++ b/hw/sd.c
@@ -195,7 +195,7 @@ static uint16_t sd_crc16(void *message, size_t width)
static void sd_set_ocr(SDState *sd)
{
/* All voltages OK, card power-up OK, Standard Capacity SD Memory Card */
- sd->ocr = 0x80ffff80;
+ sd->ocr = 0x80ffff00;
}
static void sd_set_scr(SDState *sd)