X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=common%2Fcmd_mmc_spi.c;h=a2138b8650e90cc68a1c2dde5b808fe9caa7dc47;hb=1b63aaa587058489d1d1347866df4853a670dc90;hp=63fe3133771974a5ad23c945aa7dd0c7e3d61a6c;hpb=9dd5dad88777a7c6a63f8c103706b57364a135f4;p=karo-tx-uboot.git diff --git a/common/cmd_mmc_spi.c b/common/cmd_mmc_spi.c index 63fe313377..a2138b8650 100644 --- a/common/cmd_mmc_spi.c +++ b/common/cmd_mmc_spi.c @@ -72,13 +72,13 @@ static int do_mmc_spi(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) printf("Failed to create MMC Device\n"); return 1; } - printf("%s: %d at %u:%u hz %u mode %u\n", mmc->name, mmc->block_dev.dev, + printf("%s: %d at %u:%u hz %u mode %u\n", mmc->cfg->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(