Skip to content
Snippets Groups Projects
Commit 525ada21 authored by Diego Santa Cruz's avatar Diego Santa Cruz Committed by Pantelis Antoniou
Browse files

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: default avatarDiego Santa Cruz <Diego.SantaCruz@spinetix.com>
parent f289fd73
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment