summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorAdrian Filipi <adrian.filipi@eurotech.com>2008-07-18 11:52:02 -0400
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-12 01:23:44 +0200
commitc455d07396dddc9864fd8dbb965ee10fe95ce8cf (patch)
treef56d0561b55f9b126cdf9ca0b7204ebcf56eff68 /cpu
parenteb16135df20535b0d19969f50fb5bd17f95e9c25 (diff)
downloadu-boot-imx-c455d07396dddc9864fd8dbb965ee10fe95ce8cf.zip
u-boot-imx-c455d07396dddc9864fd8dbb965ee10fe95ce8cf.tar.gz
u-boot-imx-c455d07396dddc9864fd8dbb965ee10fe95ce8cf.tar.bz2
Set up SD/MMC OCR as comment describes. i.e. 3.2-3.4v.
Signed-off-by: Adrian Filipi <adrian.filipi@eurotech.com>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/pxa/mmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/pxa/mmc.c b/cpu/pxa/mmc.c
index 121dcbe..1cfede7 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) {