diff options
| author | Sricharan R <r.sricharan@ti.com> | 2013-05-30 03:19:39 +0000 | 
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2013-06-10 08:43:10 -0400 | 
| commit | 92b0482c17acf92f94ac74fd8536fd95d5b64b5e (patch) | |
| tree | 1b8357119fd332ae53f60e03e3962973347b7958 /arch/arm/cpu/armv7/omap5/hw_data.c | |
| parent | 97405d843ece2a53e67b801e02ee42005d26e172 (diff) | |
| download | olio-uboot-2014.01-92b0482c17acf92f94ac74fd8536fd95d5b64b5e.tar.xz olio-uboot-2014.01-92b0482c17acf92f94ac74fd8536fd95d5b64b5e.zip | |
ARM: DRA7xx: EMIF: Change settings required for EVM board
DRA7 EVM board has the below configuration. Adding the
settings for the same here.
   2Gb_1_35V_DDR3L part * 2 on EMIF1
   2Gb_1_35V_DDR3L part * 4 on EMIF2
Signed-off-by: Sricharan R <r.sricharan@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/omap5/hw_data.c')
| -rw-r--r-- | arch/arm/cpu/armv7/omap5/hw_data.c | 21 | 
1 files changed, 17 insertions, 4 deletions
| diff --git a/arch/arm/cpu/armv7/omap5/hw_data.c b/arch/arm/cpu/armv7/omap5/hw_data.c index 44552c342..56cf1f8c6 100644 --- a/arch/arm/cpu/armv7/omap5/hw_data.c +++ b/arch/arm/cpu/armv7/omap5/hw_data.c @@ -602,6 +602,17 @@ const struct ctrl_ioregs ioregs_omap5432_es2 = {  	.ctrl_emif_sdram_config_ext = SDRAM_CONFIG_EXT_RD_LVL_11_SAMPLES,  }; +const struct ctrl_ioregs ioregs_dra7xx_es1 = { +	.ctrl_ddrch = 0x40404040, +	.ctrl_lpddr2ch = 0x40404040, +	.ctrl_ddr3ch = 0x80808080, +	.ctrl_ddrio_0 = 0xbae8c631, +	.ctrl_ddrio_1 = 0xb46318d8, +	.ctrl_ddrio_2 = 0x84210000, +	.ctrl_emif_sdram_config_ext = 0xb2c00000, +	.ctrl_ddr_ctrl_ext_0 = 0xA2000000, +}; +  void hw_data_init(void)  {  	u32 omap_rev = omap_revision(); @@ -644,14 +655,16 @@ void get_ioregs(const struct ctrl_ioregs **regs)  	case OMAP5430_ES1_0:  	case OMAP5430_ES2_0:  		*regs = &ioregs_omap5430; -	break; +		break;  	case OMAP5432_ES1_0:  		*regs = &ioregs_omap5432_es1; -	break; +		break;  	case OMAP5432_ES2_0: -	case DRA752_ES1_0:  		*regs = &ioregs_omap5432_es2; -	break; +		break; +	case DRA752_ES1_0: +		*regs = &ioregs_dra7xx_es1; +		break;  	default:  		printf("\n INVALID OMAP REVISION "); |