summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-omap5/omap.h
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2013-02-04 04:22:05 +0000
committerTom Rini <trini@ti.com>2013-03-11 11:06:10 -0400
commitef1697e99f482b0e6a64df465ffff77251719abb (patch)
treeaee33c7b3d3aa89a16fdf4c41faca2fd01f2a674 /arch/arm/include/asm/arch-omap5/omap.h
parentc43c8339fedc86c6c23990eaabff6feaf6742e7b (diff)
downloadtalos-obmc-uboot-ef1697e99f482b0e6a64df465ffff77251719abb.tar.gz
talos-obmc-uboot-ef1697e99f482b0e6a64df465ffff77251719abb.zip
ARM: OMAP5: Clean up iosettings code
There is some code duplication in the ddr io settings code. This is avoided by moving the data to a Soc specific place and letting the code generic. This avoids unnessecary code addition for future socs. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap5/omap.h')
-rw-r--r--arch/arm/include/asm/arch-omap5/omap.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-omap5/omap.h b/arch/arm/include/asm/arch-omap5/omap.h
index a91da7d787..873ccd7df1 100644
--- a/arch/arm/include/asm/arch-omap5/omap.h
+++ b/arch/arm/include/asm/arch-omap5/omap.h
@@ -229,5 +229,15 @@ struct omap_boot_parameters {
unsigned char reset_reason;
unsigned char ch_flags;
};
+
+struct ctrl_ioregs {
+ u32 ctrl_ddrch;
+ u32 ctrl_lpddr2ch;
+ u32 ctrl_ddr3ch;
+ u32 ctrl_ddrio_0;
+ u32 ctrl_ddrio_1;
+ u32 ctrl_ddrio_2;
+ u32 ctrl_emif_sdram_config_ext;
+};
#endif /* __ASSEMBLY__ */
#endif
OpenPOWER on IntegriCloud