diff options
author | Lei Wen <leiwen@marvell.com> | 2011-05-02 16:26:25 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2011-05-18 14:36:35 -0500 |
commit | ea6ebe21772568ee97fb5c23c01e993140f0e0e6 (patch) | |
tree | 2abbfeafb64e44f214f36c685f562c0483005d05 /include/mmc.h | |
parent | ed018b21d61614e0431f6bf514bec6e4bf64fe31 (diff) | |
download | u-boot-ea6ebe21772568ee97fb5c23c01e993140f0e0e6.tar.gz u-boot-ea6ebe21772568ee97fb5c23c01e993140f0e0e6.tar.xz u-boot-ea6ebe21772568ee97fb5c23c01e993140f0e0e6.zip |
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 'include/mmc.h')
-rw-r--r-- | include/mmc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h index 863b7e293b..5501f5547a 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -295,6 +295,7 @@ void mmc_set_clock(struct mmc *mmc, uint clock); struct mmc *find_mmc_device(int dev_num); int mmc_set_dev(int dev_num); void print_mmc_devices(char separator); +int get_mmc_num(void); int board_mmc_getcd(u8 *cd, struct mmc *mmc); #ifdef CONFIG_GENERIC_MMC |