diff options
author | Nikolay Dimitrov <picmaster@mail.bg> | 2015-05-08 13:06:50 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-05-15 19:21:24 +0200 |
commit | b68a5b17f97862f94b1735253b64bdc4d4065bcf (patch) | |
tree | 05c481588beba7081b7a8df0463e926e8fd76461 /arch | |
parent | b4ed9f86df441d7ac304f70cc711c257e7c8ebf1 (diff) | |
download | u-boot-imx-b68a5b17f97862f94b1735253b64bdc4d4065bcf.zip u-boot-imx-b68a5b17f97862f94b1735253b64bdc4d4065bcf.tar.gz u-boot-imx-b68a5b17f97862f94b1735253b64bdc4d4065bcf.tar.bz2 |
arm: mx6: ddr3: Remove dead code
imx6 mmdc supports data rates up to 1066 MT/s, so remove the code handling
higher data rates.
Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/cpu/armv7/mx6/ddr.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/arm/cpu/armv7/mx6/ddr.c b/arch/arm/cpu/armv7/mx6/ddr.c index 2b2ad66..5d5bd0f 100644 --- a/arch/arm/cpu/armv7/mx6/ddr.c +++ b/arch/arm/cpu/armv7/mx6/ddr.c @@ -352,28 +352,6 @@ void mx6_dram_cfg(const struct mx6_ddr_sysinfo *sysinfo, trrd = DIV_ROUND_UP(max(4 * clkper, 10000), clkper) - 1; } break; - case 1333: - txp = DIV_ROUND_UP(max(3 * clkper, 6000), clkper) - 1; - tcke = DIV_ROUND_UP(max(3 * clkper, 5625), clkper) - 1; - if (ddr3_cfg->pagesz == 1) { - tfaw = DIV_ROUND_UP(30000, clkper) - 1; - trrd = DIV_ROUND_UP(max(4 * clkper, 6000), clkper) - 1; - } else { - tfaw = DIV_ROUND_UP(45000, clkper) - 1; - trrd = DIV_ROUND_UP(max(4 * clkper, 7500), clkper) - 1; - } - break; - case 1600: - txp = DIV_ROUND_UP(max(3 * clkper, 6000), clkper) - 1; - tcke = DIV_ROUND_UP(max(3 * clkper, 5000), clkper) - 1; - if (ddr3_cfg->pagesz == 1) { - tfaw = DIV_ROUND_UP(30000, clkper) - 1; - trrd = DIV_ROUND_UP(max(4 * clkper, 6000), clkper) - 1; - } else { - tfaw = DIV_ROUND_UP(40000, clkper) - 1; - trrd = DIV_ROUND_UP(max(4 * clkper, 7500), clkper) - 1; - } - break; default: puts("invalid memory speed\n"); hang(); |