Skip to content
Snippets Groups Projects
Commit 28df15e0 authored by Thomas Chou's avatar Thomas Chou Committed by Andy Fleming
Browse files

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: default avatarThomas Chou <thomas@wytron.com.tw>
parent f0c64526
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment