diff options
| author | Lokesh Vutla <lokeshvutla@ti.com> | 2013-02-04 04:22:05 +0000 | 
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2013-03-11 11:06:10 -0400 | 
| commit | ef1697e99f482b0e6a64df465ffff77251719abb (patch) | |
| tree | aee33c7b3d3aa89a16fdf4c41faca2fd01f2a674 /arch/arm/include/asm/arch-omap5/omap.h | |
| parent | c43c8339fedc86c6c23990eaabff6feaf6742e7b (diff) | |
| download | olio-uboot-2014.01-ef1697e99f482b0e6a64df465ffff77251719abb.tar.xz olio-uboot-2014.01-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.h | 10 | 
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 a91da7d78..873ccd7df 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 |