Skip to contentSkip to conversation

do not pretend to support low voltage operation

PATCH Applied Riku Voipio 2 participants 2 messages Feb 27, 2009 – Mar 7, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 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.

---
 hw/sd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
hw/sd.c +1 -1
index 0c770bc..fa1c02c 100644
@@ -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)
Signature · 5 lines
1.6.1.3


-- 
"rm -rf" only sounds scary if you don't have backups
#1 lore raw
Quoted 5 lines · Riku Voipio

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.

Thanks, applied.

Signature · 2 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net