diff options
author | Marek Vasut <marex@denx.de> | 2015-12-16 15:40:06 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-02-02 20:58:46 +0100 |
commit | d339f16911c790196f5aaea3682819b9c03633bb (patch) | |
tree | 4db585dfcb3aab721b786d291376bc026c86c93e /arch/arm/include/asm/arch-mx6/mx6-ddr.h | |
parent | 44189a032804c4a16632f4e80abf77f2820e9a48 (diff) | |
download | u-boot-d339f16911c790196f5aaea3682819b9c03633bb.tar.gz u-boot-d339f16911c790196f5aaea3682819b9c03633bb.tar.xz u-boot-d339f16911c790196f5aaea3682819b9c03633bb.zip |
arm: imx6: Add DDR3 calibration code for MX6 Q/D/DL
Add DDR3 calibration code for i.MX6Q, i.MX6D and i.MX6DL. This code
fine-tunes the behavior of the MMDC controller in order to improve
the signal integrity and memory stability.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-mx6/mx6-ddr.h')
-rw-r--r-- | arch/arm/include/asm/arch-mx6/mx6-ddr.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx6/mx6-ddr.h b/arch/arm/include/asm/arch-mx6/mx6-ddr.h index 68d9bda2c5..12c30d274f 100644 --- a/arch/arm/include/asm/arch-mx6/mx6-ddr.h +++ b/arch/arm/include/asm/arch-mx6/mx6-ddr.h @@ -456,6 +456,11 @@ void mx6sl_dram_iocfg(unsigned width, const struct mx6sl_iomux_ddr_regs *, const struct mx6sl_iomux_grp_regs *); +#if defined(CONFIG_MX6QDL) || defined(CONFIG_MX6Q) || defined(CONFIG_MX6D) +int mmdc_do_write_level_calibration(void); +int mmdc_do_dqs_calibration(void); +#endif + /* configure mx6 mmdc registers */ void mx6_dram_cfg(const struct mx6_ddr_sysinfo *, const struct mx6_mmdc_calibration *, |