diff options
author | Aisheng.Dong <b29396@freescale.com> | 2010-07-30 20:07:42 +0800 |
---|---|---|
committer | Aisheng.Dong <b29396@freescale.com> | 2010-08-03 13:29:48 +0800 |
commit | 8d31d08f56a4cf5d6367ca3233aec9123ddd4608 (patch) | |
tree | 35bdc416771697405fc2ca28c598cef43adedd2e | |
parent | 4d02ec7d20b718568fdd911f68e67c5f9e46576c (diff) |
ENGR00125772 mx50 esdhc: add DDR support
Add DDR support for eMMC 4.4 cards.
Currently the clock is set to 40Mhz to get good compatibility.
Signed-off-by: Aisheng.Dong <b29396@freescale.com>
-rw-r--r-- | arch/arm/mach-mx5/mx50_arm2.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-mx5/mx50_arm2.c b/arch/arm/mach-mx5/mx50_arm2.c index d91aefe710c7..ea137c9c6a6b 100644 --- a/arch/arm/mach-mx5/mx50_arm2.c +++ b/arch/arm/mach-mx5/mx50_arm2.c @@ -549,9 +549,11 @@ static struct mxc_mmc_platform_data mmc2_data = { static struct mxc_mmc_platform_data mmc3_data = { .ocr_mask = MMC_VDD_27_28 | MMC_VDD_28_29 | MMC_VDD_29_30 | MMC_VDD_31_32, - .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA, + .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA | MMC_CAP_DATA_DDR, .min_clk = 400000, - .max_clk = 50000000, + .max_clk = 40000000, + .dll_override_en = 1, + .dll_delay_cells = 0xc, .card_inserted_state = 0, .status = sdhc_get_card_det_status, .wp_status = sdhc_write_protect, |