Message ID | 1419328233-6977-5-git-send-email-Diego.SantaCruz@spinetix.com |
---|---|
State | Accepted |
Delegated to: | Pantelis Antoniou |
Headers | show |
diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index 10315b8..3f8dbdb 100644 --- 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,
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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)