[PATCH 1/5] pcm049: Update RAM timings

Sascha Hauer s.hauer at pengutronix.de
Thu Mar 15 15:55:45 EDT 2012


On Thu, Mar 15, 2012 at 01:49:23PM +0100, Teresa Gámez wrote:
> Updated RAM Timings for phyCORE-OMAP4.
> 
> Signed-off-by: Teresa Gámez <t.gamez at phytec.de>

Applied this series, thanks

Sascha

> ---
>  arch/arm/boards/pcm049/lowlevel.c |   27 +++++++++++++--------------
>  1 files changed, 13 insertions(+), 14 deletions(-)
> 
> diff --git a/arch/arm/boards/pcm049/lowlevel.c b/arch/arm/boards/pcm049/lowlevel.c
> index 444a394..5b91098 100644
> --- a/arch/arm/boards/pcm049/lowlevel.c
> +++ b/arch/arm/boards/pcm049/lowlevel.c
> @@ -30,23 +30,22 @@
>  
>  void set_muxconf_regs(void);
>  
> -/* Erstmal 200Mhz... */
> -static const struct ddr_regs ddr_regs_mt42L64M64_3_200_mhz = {
> -	.tim1		= 0x0aa8d4e3,
> -	.tim2		= 0x202e0b92,
> -	.tim3		= 0x009da2b3,
> -	.phy_ctrl_1	= 0x849FF404, /* mostly from elpida */
> -	.ref_ctrl	= 0x0000030c, /* from elpida 200MHz! */
> -	.config_init	= 0x80000eb1,
> -	.config_final	= 0x80000eb1,
> -	.zq_config	= 0x500b3215, /* mostly from elpida */
> -	.mr1		= 0x23,	      /* from elpida 200MHz! */
> -	.mr2		= 0x1	      /* from elpida 200MHz! */
> +static const struct ddr_regs ddr_regs_mt42L64M64_25_400_mhz = {
> +	.tim1		= 0x0EEB0662,
> +	.tim2		= 0x20370DD2,
> +	.tim3		= 0x00BFC33F,
> +	.phy_ctrl_1	= 0x849FF408,
> +	.ref_ctrl	= 0x00000618,
> +	.config_init	= 0x80001AB1,
> +	.config_final	= 0x80001AB1,
> +	.zq_config	= 0xd0093215,
> +	.mr1		= 0x83,
> +	.mr2		= 0x4
>  };
>  
>  static void noinline pcm049_init_lowlevel(void)
>  {
> -	struct dpll_param core = OMAP4_CORE_DPLL_PARAM_19M2_DDR200;
> +	struct dpll_param core = OMAP4_CORE_DPLL_PARAM_19M2_DDR400;
>  	struct dpll_param mpu = OMAP4_MPU_DPLL_PARAM_19M2_MPU1000;
>  	struct dpll_param iva = OMAP4_IVA_DPLL_PARAM_19M2;
>  	struct dpll_param per = OMAP4_PER_DPLL_PARAM_19M2;
> @@ -55,7 +54,7 @@ static void noinline pcm049_init_lowlevel(void)
>  
>  	set_muxconf_regs();
>  
> -	omap4_ddr_init(&ddr_regs_mt42L64M64_3_200_mhz, &core);
> +	omap4_ddr_init(&ddr_regs_mt42L64M64_25_400_mhz, &core);
>  
>  	/* Set VCORE1 = 1.3 V, VCORE2 = VCORE3 = 1.21V */
>  	omap4_scale_vcores();
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list