Skip to content
Snippets Groups Projects
Commit 940e0782 authored by Minkyu Kang's avatar Minkyu Kang Committed by Andy Fleming
Browse files

mmc: show mmc capacity using print_size


Signed-off-by: default avatarMinkyu Kang <mk7.kang@samsung.com>
Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
parent d52ebf10
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,8 @@ static void print_mmcinfo(struct mmc *mmc)
(mmc->version >> 4) & 0xf, mmc->version & 0xf);
printf("High Capacity: %s\n", mmc->high_capacity ? "Yes" : "No");
printf("Capacity: %lld\n", mmc->capacity);
puts("Capacity: ");
print_size(mmc->capacity, "\n");
printf("Bus Width: %d-bit\n", mmc->bus_width);
}
......
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