diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2011-01-04 01:04:19 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2011-04-13 06:35:22 -0500 |
commit | 940e078297fc5f8707fe11003c9fda4a275fad5b (patch) | |
tree | 20f4e27a91ef9a9722452213e05c2c8cea1df772 | |
parent | d52ebf102209cc1ad460c79b9498b2c8936ba413 (diff) | |
download | u-boot-imx-940e078297fc5f8707fe11003c9fda4a275fad5b.zip u-boot-imx-940e078297fc5f8707fe11003c9fda4a275fad5b.tar.gz u-boot-imx-940e078297fc5f8707fe11003c9fda4a275fad5b.tar.bz2 |
mmc: show mmc capacity using print_size
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
-rw-r--r-- | common/cmd_mmc.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |