]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_mmc.c
Call ft_board_setup() from the bootm command.
[karo-tx-uboot.git] / common / cmd_mmc.c
index 45b506416fd18cd356b9442a83e38211920d95a6..069c6d02a066ab5a6a010cd0c3df883cd8b1bfe4 100644 (file)
@@ -24,7 +24,7 @@
 #include <common.h>
 #include <command.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_MMC)
+#if defined(CONFIG_CMD_MMC)
 
 #include <mmc.h>
 
@@ -37,4 +37,10 @@ int do_mmc (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
        return 0;
 }
 
-#endif /* CFG_CMD_MMC */
+U_BOOT_CMD(
+       mmcinit,        1,      0,      do_mmc,
+       "mmcinit - init mmc card\n",
+       NULL
+);
+
+#endif