diff options
author | Terry Lv <r65388@freescale.com> | 2010-12-28 18:04:12 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2010-12-29 10:38:38 +0800 |
commit | fb98f374aa425699643cf784850b74e512a40e63 (patch) | |
tree | d0039c4848dac9ca79ad1cbb7a7c5bf424f0ed34 /include/mmc.h | |
parent | 17b4c8e9eb30e3eb305baef98eb23325e61db592 (diff) | |
download | u-boot-imx-fb98f374aa425699643cf784850b74e512a40e63.zip u-boot-imx-fb98f374aa425699643cf784850b74e512a40e63.tar.gz u-boot-imx-fb98f374aa425699643cf784850b74e512a40e63.tar.bz2 |
ENGR00136863-1: Change mmc framework architecture.
Change mmc framework architecture.
Mainly for code clean and restructure.
Mainly merge our code with community code.
Based on commit 17b4c8e9eb30e3eb305baef98eb23325e61db592.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'include/mmc.h')
-rw-r--r-- | include/mmc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h index b450f4f..885db6d 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -299,8 +299,11 @@ int mmc_register(struct mmc *mmc); int mmc_initialize(bd_t *bis); int mmc_init(struct mmc *mmc); int mmc_read(struct mmc *mmc, u64 src, uchar *dst, int size); +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 board_mmc_getcd(u8 *cd, struct mmc *mmc); #ifdef CONFIG_BOOT_PARTITION_ACCESS int mmc_switch_partition(struct mmc *mmc, uint part, uint enable_boot); int sd_switch_partition(struct mmc *mmc, uint part); |