projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f289fd7
)
mmc: skip mmcinfo partition info processing for eMMC < 4.41
author
Diego Santa Cruz
<Diego.SantaCruz@spinetix.com>
Tue, 23 Dec 2014 09:50:19 +0000
(10:50 +0100)
committer
Pantelis Antoniou
<pantelis.antoniou@konsulko.com>
Mon, 19 Jan 2015 15:02:21 +0000
(17:02 +0200)
eMMC partitions are defined as of eMMC 4.41, but mmcinfo process
partition info for eMMC >= 4.0, change it to do it for >= 4.41
Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
common/cmd_mmc.c
patch
|
blob
|
history
diff --git
a/common/cmd_mmc.c
b/common/cmd_mmc.c
index 0e097c78e5d40e5f3cb7ccc762779d1c2d1755ea..8c03e583e5c58098357f7204340e81b5e481d0dd 100644
(file)
--- a/
common/cmd_mmc.c
+++ b/
common/cmd_mmc.c
@@
-95,7
+95,7
@@
static void print_mmcinfo(struct mmc *mmc)
printf("Bus Width: %d-bit%s\n", mmc->bus_width,
mmc->ddr_mode ? " DDR" : "");
- if (!IS_SD(mmc) && mmc->version >= MMC_VERSION_4) {
+ if (!IS_SD(mmc) && mmc->version >= MMC_VERSION_4
_41
) {
bool has_enh = (mmc->part_support & ENHNCD_SUPPORT) != 0;
puts("User Capacity: ");
print_size(mmc->capacity_user,