Davinci MMCSD Support

Added support for MMC/SD cards for Davinci.  This feature is enabled by
CONFIG_DAVINCI_MMC and is dependant on CONFIG_MMC and CONFIG_GENERIC_MMC
options. This is tested on DM355 and DM365 EVMs with both the available mmc
controllers.

Signed-off-by: Alagu Sankar <alagusankar@embwise.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
This commit is contained in:
Sandeep Paulraj
2010-12-20 20:01:21 -05:00
committed by Albert Aribaud
parent 36b4e2dddd
commit 57418d2139
4 changed files with 583 additions and 0 deletions

View File

@@ -274,6 +274,9 @@ struct mmc {
struct mmc_cmd *cmd, struct mmc_data *data);
void (*set_ios)(struct mmc *mmc);
int (*init)(struct mmc *mmc);
#ifdef CONFIG_MMC_MBLOCK
uint b_max;
#endif
};
int mmc_register(struct mmc *mmc);