summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLei Wen <leiwen@marvell.com>2011-05-02 16:26:25 +0000
committerAndy Fleming <afleming@freescale.com>2011-05-18 14:36:35 -0500
commitea6ebe21772568ee97fb5c23c01e993140f0e0e6 (patch)
tree2abbfeafb64e44f214f36c685f562c0483005d05 /drivers
parented018b21d61614e0431f6bf514bec6e4bf64fe31 (diff)
downloadu-boot-imx-ea6ebe21772568ee97fb5c23c01e993140f0e0e6.zip
u-boot-imx-ea6ebe21772568ee97fb5c23c01e993140f0e0e6.tar.gz
u-boot-imx-ea6ebe21772568ee97fb5c23c01e993140f0e0e6.tar.bz2
cmd_mmc: eliminate device num in the mmc command
mmc command applied device, like ide and usb... Signed-off-by: Lei Wen <leiwen@marvell.com> Acked-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/mmc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index f6d31f5..cdf2713 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -1110,6 +1110,11 @@ void print_mmc_devices(char separator)
printf("\n");
}
+int get_mmc_num(void)
+{
+ return cur_dev_num;
+}
+
int mmc_initialize(bd_t *bis)
{
INIT_LIST_HEAD (&mmc_devices);