summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc8xxx/ddr/ddr.h
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2011-02-10 10:13:10 -0800
committerKumar Gala <galak@kernel.crashing.org>2011-02-10 23:40:02 -0600
commit856e4b0d7fa366b300bae4f5b9512d7baac6bff1 (patch)
treededbbaa272786a4f7c87971b5f88864452754892 /arch/powerpc/cpu/mpc8xxx/ddr/ddr.h
parentb1d67857af0f66f3def3d0461c141d9b4eccc15e (diff)
downloadu-boot-imx-856e4b0d7fa366b300bae4f5b9512d7baac6bff1.zip
u-boot-imx-856e4b0d7fa366b300bae4f5b9512d7baac6bff1.tar.gz
u-boot-imx-856e4b0d7fa366b300bae4f5b9512d7baac6bff1.tar.bz2
powerpc/8xxx: Add additional cycle to write-to-read turnaound for DDR3
When DDR data rate is higher than 1200MT/s or controller interleaving is enabled, additional cycle for write-to-read turnaround is needed to satisfy dynamic ODT timing. Signed-off-by: York Sun <yorksun@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/cpu/mpc8xxx/ddr/ddr.h')
-rw-r--r--arch/powerpc/cpu/mpc8xxx/ddr/ddr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc8xxx/ddr/ddr.h b/arch/powerpc/cpu/mpc8xxx/ddr/ddr.h
index 35b60a0..c7c12c1 100644
--- a/arch/powerpc/cpu/mpc8xxx/ddr/ddr.h
+++ b/arch/powerpc/cpu/mpc8xxx/ddr/ddr.h
@@ -80,5 +80,5 @@ extern void check_interleaving_options(fsl_ddr_info_t *pinfo);
extern unsigned int mclk_to_picos(unsigned int mclk);
extern unsigned int get_memory_clk_period_ps(void);
extern unsigned int picos_to_mclk(unsigned int picos);
-
+extern unsigned int fsl_ddr_get_mem_data_rate(void);
#endif