projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d52ebf1
)
mmc: show mmc capacity using print_size
author
Minkyu Kang
<mk7.kang@samsung.com>
Tue, 4 Jan 2011 01:04:19 +0000
(
01:04
+0000)
committer
Andy Fleming
<afleming@freescale.com>
Wed, 13 Apr 2011 11:35:22 +0000
(06:35 -0500)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
common/cmd_mmc.c
patch
|
blob
|
history
diff --git
a/common/cmd_mmc.c
b/common/cmd_mmc.c
index 4323f76b30549cb0a83b19c8c95b755259d2af14..6166749ad5a5c81d85585bae5976bcfdc97a6681 100644
(file)
--- 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);
}