projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32482be
)
MMC: Don't use new framework code if not enabled
author
Dirk Behme
<dirk.behme@googlemail.com>
Wed, 18 Feb 2009 18:59:39 +0000
(19:59 +0100)
committer
Wolfgang Denk
<wd@denx.de>
Thu, 19 Feb 2009 20:12:03 +0000
(21:12 +0100)
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>
common/cmd_mmc.c
patch
|
blob
|
history
diff --git
a/common/cmd_mmc.c
b/common/cmd_mmc.c
index 73ec7bfc16a14f97e63da54ef6c49aa4f48fcc19..16c919be8342f2974b835edf805bc1d7187b139a 100644
(file)
--- a/
common/cmd_mmc.c
+++ b/
common/cmd_mmc.c
@@
-40,7
+40,7
@@
U_BOOT_CMD(
"init mmc card",
NULL
);
-#e
ndif
/* !CONFIG_GENERIC_MMC */
+#e
lse
/* !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