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

18 Jul
2008
18 Jul
'08
5:52 p.m.
Signed-off-by: Adrian Filipi adrian.filipi@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
6139
Age (days ago)
6139
Last active (days ago)
0 comments
1 participants
participants (1)
-
Adrian Filipi