From 3511b4e208e12be85b532866f1c660aa2e021557 Mon Sep 17 00:00:00 2001 From: Dirk Behme Date: Wed, 18 Feb 2009 19:59:39 +0100 Subject: [PATCH] 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 --- common/cmd_mmc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index 73ec7bf..16c919b 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