From: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Date: Tue, 23 Dec 2014 09:50:19 +0000 (+0100)
Subject: mmc: skip mmcinfo partition info processing for eMMC < 4.41
X-Git-Tag: v2025.01-rc5-pxa1908~13890^2~16
X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=525ada21719298833088bfc29056c56cb4b29c26;p=u-boot.git

mmc: skip mmcinfo partition info processing for eMMC < 4.41

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>
---

diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c
index 0e097c78e5..8c03e583e5 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,