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>
This commit is contained in:
Lei Wen
2011-05-02 16:26:25 +00:00
committed by Andy Fleming
parent ed018b21d6
commit ea6ebe2177
3 changed files with 117 additions and 89 deletions

View File

@@ -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);