2 * Board-specific MMC configuration
8 #include <linux/types.h>
9 #include <linux/mmc/host.h>
11 struct davinci_mmc_config
{
12 /* get_cd()/get_wp() may sleep */
13 int (*get_cd
)(int module
);
14 int (*get_ro
)(int module
);
15 /* wires == 0 is equivalent to wires == 4 (4-bit parallel) */
20 /* any additional host capabilities: OR'd in to mmc->f_caps */
23 /* Version of the MMC/SD controller */
26 void davinci_setup_mmc(int module
, struct davinci_mmc_config
*config
);
29 MMC_CTLR_VERSION_1
= 0, /* DM644x and DM355 */
30 MMC_CTLR_VERSION_2
, /* DA830 */