projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c15947d
)
Fix build time warnings in function mmc_decode_csd()
author
Marcel Ziswiler
<marcel@ziswiler.com>
Thu, 10 Jul 2008 23:09:59 +0000
(
01:09
+0200)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 13 Jul 2008 13:06:52 +0000
(15:06 +0200)
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
cpu/pxa/mmc.c
patch
|
blob
|
history
diff --git
a/cpu/pxa/mmc.c
b/cpu/pxa/mmc.c
index 4495a808f5157c7aa1e14d1e19eba6e25c9d1601..8c529a3717d854167df7331827783e7696204791 100644
(file)
--- a/
cpu/pxa/mmc.c
+++ b/
cpu/pxa/mmc.c
@@
-535,7
+535,7
@@
static void mmc_decode_csd(uint32_t * resp)
mmc_dev.removable = 0;
mmc_dev.block_read = mmc_bread;
- printf("Detected: %
u blocks of %u bytes (%uMB) ",
mmc_dev.lba,
+ printf("Detected: %
lu blocks of %lu bytes (%luMB) ", (unsigned long)
mmc_dev.lba,
mmc_dev.blksz, mmc_dev.lba * mmc_dev.blksz / (1024 * 1024));
}