X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=common%2Fcmd_mmc_spi.c;h=98cd788c76d6136dc0e3ab175a89b763a0ba885a;hb=fe4f97b98faccc142fe6e1668ba7ff945fcf3994;hp=63fe3133771974a5ad23c945aa7dd0c7e3d61a6c;hpb=aef293bc85dad4f8d645e46d723606a747236a60;p=karo-tx-uboot.git diff --git a/common/cmd_mmc_spi.c b/common/cmd_mmc_spi.c index 63fe313377..98cd788c76 100644 --- a/common/cmd_mmc_spi.c +++ b/common/cmd_mmc_spi.c @@ -74,11 +74,11 @@ 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: - cmd_usage(cmdtp); - return 1; + return CMD_RET_USAGE; } U_BOOT_CMD(