projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0c6452
)
mmc_spi: add mmc_init call
author
Thomas Chou
<thomas@wytron.com.tw>
Sun, 17 Apr 2011 21:00:46 +0000
(21:00 +0000)
committer
Andy Fleming
<afleming@freescale.com>
Fri, 29 Apr 2011 08:20:01 +0000
(
03:20
-0500)
As Andy Fleming suggested, we can call mmc_init() in mmc_spi command.
So that we don't need to run mmcinfo command next.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
common/cmd_mmc_spi.c
patch
|
blob
|
history
diff --git
a/common/cmd_mmc_spi.c
b/common/cmd_mmc_spi.c
index
63fe313
..
cfd0fb1
100644
(file)
--- a/
common/cmd_mmc_spi.c
+++ b/
common/cmd_mmc_spi.c
@@
-74,6
+74,7
@@
static int do_mmc_spi(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
}
printf("%s: %d at %u:%u hz %u mode %u\n", mmc->name, mmc->block_dev.dev,
bus, cs, speed, mode);
+ mmc_init(mmc);
return 0;
usage: