From: Dirk Behme Date: Wed, 18 Feb 2009 18:59:39 +0000 (+0100) Subject: MMC: Don't use new framework code if not enabled X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=3511b4e208e12be85b532866f1c660aa2e021557;p=u-boot.git MMC: Don't use new framework code if not enabled Don't use code of new MMC framework in cmd_mmc if CONFIG_GENERIC_MMC isn't enabled. Signed-off-by: Dirk Behme --- diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index 73ec7bfc16..16c919be83 100644 --- a/common/cmd_mmc.c +++ b/common/cmd_mmc.c @@ -40,7 +40,7 @@ U_BOOT_CMD( "init mmc card", NULL ); -#endif /* !CONFIG_GENERIC_MMC */ +#else /* !CONFIG_GENERIC_MMC */ static void print_mmcinfo(struct mmc *mmc) { @@ -171,3 +171,4 @@ U_BOOT_CMD( "mmc write addr blk# cnt\n" "mmc rescan \n" "mmc list - lists available devices\n"); +#endif