]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Set up SD/MMC OCR as comment describes. i.e. 3.2-3.4v.
authorAdrian Filipi <adrian.filipi@eurotech.com>
Fri, 18 Jul 2008 15:52:02 +0000 (11:52 -0400)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Thu, 11 Sep 2008 23:23:44 +0000 (01:23 +0200)
Signed-off-by: Adrian Filipi <adrian.filipi@eurotech.com>
cpu/pxa/mmc.c

index 121dcbe1329ad151fa637e40a45deb9d2b56556c..1cfede7e334f3ce60e2a10827780d55a92d03b6e 100644 (file)
@@ -575,8 +575,8 @@ mmc_init(int verbose)
                        break;
                }
 
-               /* Select 3.2-3.3 and 3.3-3.4V */
-               resp = mmc_cmd(SD_CMD_APP_SEND_OP_COND, 0x0020, 0,
+               /* Select 3.2-3.3V and 3.3-3.4V */
+               resp = mmc_cmd(SD_CMD_APP_SEND_OP_COND, 0x0030, 0x0000,
                                MMC_CMDAT_R3 | (retries < 2 ? 0
                                        : MMC_CMDAT_INIT));
                if (resp[0] & 0x80000000) {