summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-omap4/sys_proto.h
diff options
context:
space:
mode:
authorAneesh V <aneesh@ti.com>2011-07-21 09:10:12 -0400
committerU-Boot <uboot@aari01-12.(none)>2011-08-03 12:49:19 +0200
commit095aea293b70114dda0d958788a8acc15e3cd665 (patch)
tree7b8aac0828ca5a801aac25bb0e2c7ac8c3626189 /arch/arm/include/asm/arch-omap4/sys_proto.h
parent2ae610f030c376323515321280352b3fe6278a0f (diff)
downloadtalos-obmc-uboot-095aea293b70114dda0d958788a8acc15e3cd665.tar.gz
talos-obmc-uboot-095aea293b70114dda0d958788a8acc15e3cd665.zip
omap4: calculate EMIF register values
Calculate EMIF register values based on AC timing parameters from the SDRAM datasheet and the DDR frequency rather than using the hard-coded values. For a new board the user doen't have to go through the tedious process of calculating the register values. Instead, just provide the AC timings from the device data sheet as input and the driver will automatically calculate the register values. Signed-off-by: Aneesh V <aneesh@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap4/sys_proto.h')
-rw-r--r--arch/arm/include/asm/arch-omap4/sys_proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap4/sys_proto.h b/arch/arm/include/asm/arch-omap4/sys_proto.h
index 7183a9063f..1e62878ea4 100644
--- a/arch/arm/include/asm/arch-omap4/sys_proto.h
+++ b/arch/arm/include/asm/arch-omap4/sys_proto.h
@@ -49,6 +49,7 @@ void bypass_dpll(u32 *const base);
void freq_update_core(void);
u32 get_sys_clk_freq(void);
u32 omap4_ddr_clk(void);
+void cancel_out(u32 *num, u32 *den, u32 den_limit);
void sdram_init(void);
u32 omap4_sdram_size(void);
OpenPOWER on IntegriCloud