diff options
author | Diego Santa Cruz <Diego.SantaCruz@spinetix.com> | 2014-12-23 10:50:19 +0100 |
---|---|---|
committer | Pantelis Antoniou <pantelis.antoniou@konsulko.com> | 2015-01-19 17:02:21 +0200 |
commit | 525ada21719298833088bfc29056c56cb4b29c26 (patch) | |
tree | bdb77cc90bd19691d4ef0146aeef8c1fa5195545 /common | |
parent | f289fd739d45d6281b9653b17881a0986fc281c0 (diff) | |
download | u-boot-imx-525ada21719298833088bfc29056c56cb4b29c26.zip u-boot-imx-525ada21719298833088bfc29056c56cb4b29c26.tar.gz u-boot-imx-525ada21719298833088bfc29056c56cb4b29c26.tar.bz2 |
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>
Diffstat (limited to 'common')
-rw-r--r-- | common/cmd_mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index 0e097c7..8c03e58 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, |