From: Minkyu Kang Date: Tue, 4 Jan 2011 01:04:19 +0000 (+0000) Subject: mmc: show mmc capacity using print_size X-Git-Tag: v2011.06-rc1~147^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=940e078297fc5f8707fe11003c9fda4a275fad5b;p=kernel%2Fu-boot.git mmc: show mmc capacity using print_size Signed-off-by: Minkyu Kang Signed-off-by: Andy Fleming --- diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index 4323f76..6166749 100644 --- a/common/cmd_mmc.c +++ b/common/cmd_mmc.c @@ -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); }