summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-omap3/cpu.h
diff options
context:
space:
mode:
authorVaibhav Hiremath <hvaibhav@ti.com>2010-06-07 15:20:53 -0400
committerTom <Tom@bumblecow.com>2010-06-08 10:07:19 -0500
commit1a5038ca6831e31875cf67c46226f04743574032 (patch)
tree78af8817b3df82e9f6946519c7989f198b139239 /arch/arm/include/asm/arch-omap3/cpu.h
parented01e45cfa20d60ee83a4ee0128d843730055294 (diff)
downloadtalos-obmc-uboot-1a5038ca6831e31875cf67c46226f04743574032.tar.gz
talos-obmc-uboot-1a5038ca6831e31875cf67c46226f04743574032.zip
AM35x: Add support for EMIF4
This patch adds support for the EMIF4 interface available in the AM35x processors. Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: Sanjeev Premi <premi@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap3/cpu.h')
-rw-r--r--arch/arm/include/asm/arch-omap3/cpu.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap3/cpu.h b/arch/arm/include/asm/arch-omap3/cpu.h
index ce16da7f8b..c072c27bbf 100644
--- a/arch/arm/include/asm/arch-omap3/cpu.h
+++ b/arch/arm/include/asm/arch-omap3/cpu.h
@@ -216,6 +216,30 @@ struct sdrc {
struct sdrc_cs cs[2]; /* 0x80 || 0xB0 */
};
+/* EMIF4 */
+typedef struct emif4 {
+ unsigned int sdram_sts;
+ unsigned int sdram_config;
+ unsigned int res1;
+ unsigned int sdram_refresh_ctrl;
+ unsigned int sdram_refresh_ctrl_shdw;
+ unsigned int sdram_time1;
+ unsigned int sdram_time1_shdw;
+ unsigned int sdram_time2;
+ unsigned int sdram_time2_shdw;
+ unsigned int sdram_time3;
+ unsigned int sdram_time3_shdw;
+ unsigned char res2[8];
+ unsigned int sdram_pwr_mgmt;
+ unsigned int sdram_pwr_mgmt_shdw;
+ unsigned char res3[32];
+ unsigned int sdram_iodft_tlgc;
+ unsigned char res4[128];
+ unsigned int ddr_phyctrl1;
+ unsigned int ddr_phyctrl1_shdw;
+ unsigned int ddr_phyctrl2;
+} emif4_t;
+
#endif /* __ASSEMBLY__ */
#endif /* __KERNEL_STRICT_NAMES */
OpenPOWER on IntegriCloud