diff mbox

[U-Boot,v2,04/18] mmc: skip mmcinfo partition info processing for eMMC < 4.41

Message ID 1417712535-14006-5-git-send-email-Diego.SantaCruz@spinetix.com
State Changes Requested
Delegated to: Pantelis Antoniou
Headers show

Commit Message

Diego Santa Cruz Dec. 4, 2014, 5:02 p.m. UTC
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
---
 common/cmd_mmc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c
index 414fac6..bc02273 100644
--- a/common/cmd_mmc.c
+++ b/common/cmd_mmc.c
@@ -94,7 +94,7 @@  static void print_mmcinfo(struct mmc *mmc)
 
 	printf("Bus Width: %d-bit\n", mmc->bus_width);
 
-	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,