mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 13:14:19 +08:00
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>
This commit is contained in:
parent
32482be677
commit
3511b4e208
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user