#include <common.h>
#include <command.h>
-#if (CONFIG_COMMANDS & CFG_CMD_MMC)
+#if defined(CONFIG_CMD_MMC)
#include <mmc.h>
return 0;
}
-cmd_tbl_t U_BOOT_CMD(MMCINIT) = MK_CMD_ENTRY(
- "mmcinit", 1, 0, do_mmc,
+U_BOOT_CMD(
+ mmcinit, 1, 0, do_mmc,
"mmcinit - init mmc card\n",
NULL
);
-#endif /* CFG_CMD_MMC */
+#endif