diff options
author | Volodymyr Riazantsev <volodymyr.riazantsev@globallogic.com> | 2015-01-20 10:16:44 -0500 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-02-24 13:11:10 -0800 |
commit | 0e1bf614d5045b060db8e1bf9e7f69afdf1c592f (patch) | |
tree | 159ede2b603a11e20cfd667f9712137839a6bb7a /include | |
parent | 8133574ea4769806145a8fd49fc0567db86583a8 (diff) |
mmc: fsl_esdhc: Add support for DDR mode
Add support of the DDR mode for eSDHC driver.
Enable it for i.MX6 SoC family only.
Signed-off-by: Volodymyr Riazantsev <volodymyr.riazantsev@globallogic.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx6_common.h | 2 | ||||
-rw-r--r-- | include/fsl_esdhc.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h index e0528ce4b92..29b72b2e9dd 100644 --- a/include/configs/mx6_common.h +++ b/include/configs/mx6_common.h @@ -28,6 +28,8 @@ #define CONFIG_SYS_PL310_BASE L2_PL310_BASE #endif +#define CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE + #define CONFIG_MP #define CONFIG_MXC_GPT_HCLK diff --git a/include/fsl_esdhc.h b/include/fsl_esdhc.h index c1b6648591e..313fa1e312a 100644 --- a/include/fsl_esdhc.h +++ b/include/fsl_esdhc.h @@ -108,6 +108,7 @@ #define XFERTYP_RSPTYP_48_BUSY 0x00030000 #define XFERTYP_MSBSEL 0x00000020 #define XFERTYP_DTDSEL 0x00000010 +#define XFERTYP_DDREN 0x00000008 #define XFERTYP_AC12EN 0x00000004 #define XFERTYP_BCEN 0x00000002 #define XFERTYP_DMAEN 0x00000001 |