mmc: refine DDR support

One flaw with DDR support is that MMC core does not inform the driver
which DDR mode it has selected.  This patch expands the ios->ddr flag
to do that.

Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
Adrian Hunter
2010-10-11 12:43:50 +03:00
committed by Chris Ball
parent 0f8d8ea64e
commit 49e3b5a44f
4 changed files with 11 additions and 8 deletions

View File

@@ -54,7 +54,8 @@ struct mmc_ios {
unsigned char ddr; /* dual data rate used */
#define MMC_SDR_MODE 0
#define MMC_DDR_MODE 1
#define MMC_1_2V_DDR_MODE 1
#define MMC_1_8V_DDR_MODE 2
};
struct mmc_host_ops {