From c455d07396dddc9864fd8dbb965ee10fe95ce8cf Mon Sep 17 00:00:00 2001 From: Adrian Filipi Date: Fri, 18 Jul 2008 11:52:02 -0400 Subject: [PATCH] Set up SD/MMC OCR as comment describes. i.e. 3.2-3.4v. Signed-off-by: Adrian Filipi --- cpu/pxa/mmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.25.1