[U-Boot-Users] [PATCH] Set up SD/MMC OCR as comment describes. i.e. 3.2-3.4v.

Adrian Filipi adrian.filipi at eurotech.com
Fri Jul 18 17:52:02 CEST 2008


Signed-off-by: Adrian Filipi <adrian.filipi at eurotech.com>
---
 cpu/pxa/mmc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpu/pxa/mmc.c b/cpu/pxa/mmc.c
index 2c86a01..3215b93 100644
--- a/cpu/pxa/mmc.c
+++ b/cpu/pxa/mmc.c
@@ -580,8 +580,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) {
-- 
1.5.6







More information about the U-Boot mailing list