diff options
author | Dirk Behme <dirk.behme@googlemail.com> | 2009-02-18 19:59:39 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-02-19 21:12:03 +0100 |
commit | 3511b4e208e12be85b532866f1c660aa2e021557 (patch) | |
tree | f4b76995afd00bc5864ff0a5a99116f8fda130be | |
parent | 32482be67775e00b4cbc49fba62347c1ecc6229c (diff) | |
download | u-boot-imx-3511b4e208e12be85b532866f1c660aa2e021557.zip u-boot-imx-3511b4e208e12be85b532866f1c660aa2e021557.tar.gz u-boot-imx-3511b4e208e12be85b532866f1c660aa2e021557.tar.bz2 |
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 <dirk.behme@googlemail.com>
-rw-r--r-- | common/cmd_mmc.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <device num> addr blk# cnt\n" "mmc rescan <device num>\n" "mmc list - lists available devices\n"); +#endif |