projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
872e234
)
mmc: fix the ext_csd revision
author
Minkyu Kang
<mk7.kang@samsung.com>
Mon, 21 Jun 2010 07:59:31 +0000
(16:59 +0900)
committer
Minkyu Kang
<mk7.kang@samsung.com>
Mon, 21 Jun 2010 07:59:31 +0000
(16:59 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/mmc/mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/mmc.c
b/drivers/mmc/mmc.c
index
317de3c
..
de19d72
100644
(file)
--- a/
drivers/mmc/mmc.c
+++ b/
drivers/mmc/mmc.c
@@
-452,14
+452,15
@@
int mmc_change_freq(struct mmc *mmc)
/* MMC v4.3 */
mmc->version |= EXT_CSD_REV_1_3;
break;
- case EXT_CSD_REV_1_4:
- /* Obeolete */
- mmc->version |= EXT_CSD_REV_1_4;
- break;
case EXT_CSD_REV_1_5:
/* MMC v4.41 */
mmc->version |= EXT_CSD_REV_1_5;
break;
+ case EXT_CSD_REV_1_4:
+ /* Obsolete */
+ default:
+ printf("Unknown revision - %x\n", ext_csd[192]);
+ return 0;
}
/* No high-speed support */