commit | e603559725c4999ee078d50f7d284b436678e8ce | [log] [tgz] |
---|---|---|
author | Thomas Chou <thomas@wytron.com.tw> | Sun Apr 17 21:00:46 2011 +0000 |
committer | Andy Fleming <afleming@freescale.com> | Fri Apr 29 03:20:01 2011 -0500 |
tree | 944254f571bf44721a91f5413af31686193eec50 | |
parent | c5a6a40f0aa8ff9917c2204dc6e5690c3f0b0556 [diff] |
mmc_spi: add mmc_init call 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>
diff --git a/common/cmd_mmc_spi.c b/common/cmd_mmc_spi.c index 63fe313..cfd0fb1 100644 --- a/common/cmd_mmc_spi.c +++ b/common/cmd_mmc_spi.c
@@ -74,6 +74,7 @@ } 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: