From: Adrian Filipi Date: Fri, 18 Jul 2008 15:52:02 +0000 (-0400) Subject: Set up SD/MMC OCR as comment describes. i.e. 3.2-3.4v. X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=c455d07396dddc9864fd8dbb965ee10fe95ce8cf;p=u-boot.git Set up SD/MMC OCR as comment describes. i.e. 3.2-3.4v. Signed-off-by: Adrian Filipi --- diff --git a/cpu/pxa/mmc.c b/cpu/pxa/mmc.c index 121dcbe132..1cfede7e33 100644 --- a/cpu/pxa/mmc.c +++ b/cpu/pxa/mmc.c @@ -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) {