[U-Boot-Users] [PATCH 1/6] TQM885D: Exchanged SDRAM timing by a more relaxed timing.

Wolfgang Denk wd at denx.de
Mon Jul 30 17:45:13 CEST 2007


In message <20070724091926.20545.72245.stgit at tq-sewsrv-4.tq-net.de> you wrote:
>
> --- a/board/tqm8xx/tqm8xx.c
> +++ b/board/tqm8xx/tqm8xx.c
> @@ -37,6 +37,7 @@ static long int dram_size (long int, long int *, long int);
...
> @@ -63,14 +64,14 @@ const uint sdram_table[] =
>  	/*
>  	 * Single Write. (Offset 18 in UPMA RAM)
>  	 */
> -	0x1F0DFC04, 0xEEABBC00, 0x01B27C04, 0x1FF5FC47, /* last */
> -	_NOT_USED_, _NOT_USED_, _NOT_USED_, _NOT_USED_,
> +	0x1F0DFC04, 0xEEABBC00, 0x11B77C04, 0xEFFAFC44,
> +	0x1FF5FC47, /* last */
> +	_NOT_USED_, _NOT_USED_, _NOT_USED_,

Please indent to keep consistent with rest of file.

> diff --git a/cpu/mpc8xx/speed.c b/cpu/mpc8xx/speed.c
> index 4173092..f23040f 100644
> --- a/cpu/mpc8xx/speed.c
> +++ b/cpu/mpc8xx/speed.c
> @@ -271,11 +271,8 @@ int get_clocks_866 (void)
>  	 */
>  	sccr_reg = immr->im_clkrst.car_sccr;
>  	sccr_reg &= ~SCCR_EBDF11;
> -#if defined(CONFIG_TQM885D)
> -	if (gd->cpu_clk <= 80000000) {
> -#else
> +
>  	if (gd->cpu_clk <= 66000000) {
> -#endif

Thanks!


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
All this doesn't alter anything, you know. The world is still full of
stupid people. They don't use their brains. They don't seem  to  want
to think straight.                    - Terry Pratchett, _Soul Music_




More information about the U-Boot mailing list