]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_mmc_spi.c
karo: tx51: remove duplicate CONFIG_SYS_SDRAM_CLK definition
[karo-tx-uboot.git] / common / cmd_mmc_spi.c
index 63fe3133771974a5ad23c945aa7dd0c7e3d61a6c..98cd788c76d6136dc0e3ab175a89b763a0ba885a 100644 (file)
@@ -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(