summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/busfreq_ddr3.c
diff options
context:
space:
mode:
authorAdrian Alonso <adrian.alonso@nxp.com>2016-02-18 13:36:36 -0600
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:24:30 +0800
commit3c9aeecae2fb711c3e2cfd623e30538ec7e9b533 (patch)
treea93db29017022b8a25ac6559adeeb493f5caaf23 /arch/arm/mach-imx/busfreq_ddr3.c
parent3b639bbaad32d80bf44bacad5b6f6383e63d01d2 (diff)
MLK-12415: ARM: imx: imx6q: ddr3 adjust read/write latency from DCD
Adjust high frequence (528M) read/write additional latency settings from target board initial configuration; Save/restore MMDC_MDMISC from DCD settings. Remove hardcodded value to issue a ZQ calibration command. Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> Signed-off-by: Ranjani Vaidyanathan <ranjani.vaidyanathan@nxp.com> (Cherry picked from commit 1036293d72173ef9051ec23babfd4d7f13db4f58)
Diffstat (limited to 'arch/arm/mach-imx/busfreq_ddr3.c')
-rw-r--r--arch/arm/mach-imx/busfreq_ddr3.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/busfreq_ddr3.c b/arch/arm/mach-imx/busfreq_ddr3.c
index 37281158fbff..d98bb26f699d 100644
--- a/arch/arm/mach-imx/busfreq_ddr3.c
+++ b/arch/arm/mach-imx/busfreq_ddr3.c
@@ -137,6 +137,7 @@ unsigned long ddr3_dll_mx6sx[][2] = {
{0x1C, 0x05208030},
{0x1C, 0x04008040},
{0x818, 0x0},
+ {0x18, 0x0},
};
unsigned long ddr3_calibration_mx6sx[][2] = {
@@ -166,6 +167,7 @@ unsigned long ddr3_dll_mx6q[][2] = {
{0x1C, 0x08408030},
{0x1C, 0x08408038},
{0x818, 0x0},
+ {0x18, 0x0},
};
unsigned long ddr3_calibration[][2] = {
@@ -198,6 +200,7 @@ unsigned long ddr3_dll_mx6dl[][2] = {
{0x1C, 0x07208030},
{0x1C, 0x07208038},
{0x818, 0x0},
+ {0x18, 0x0},
};
unsigned long iomux_offsets_mx6dl[][2] = {