[U-Boot] [PATCH 3/3] i.MX28: Increase the delay after DRAM init

Marek Vasut marex at denx.de
Thu May 3 15:31:58 CEST 2012


Dear Detlev Zundel,

> Hi Marek,
> 
> > Dear Fabio Estevam,
> > 
> >> On Wed, May 2, 2012 at 7:14 PM, Marek Vasut <marex at denx.de> wrote:
> >> > This solves issues when larger amount of DRAM is used.
> >> 
> >> Shouldn't we check if we are using a "large amount of DRAM"?
> >> 
> >> If we don't check then even boards with small amount of RAM would have
> >> this additional delay.
> > 
> > I'm afraid this worked on boards with a small amound of RAM by sheer
> > accident
> > (or good will of the DRAM), time to play safe and fix this.
> 
> Can you please comment on why we are waiting and why we are waiting
> exactly this long?  Can we maybe poll the needed time somehow?

We need to wait for the CPU clock to stabilize. I think there is a bit for that 
that we can poll, indeed. It's in my queue to revise the memory init code 
eventually actually, because I think I can make it even faster and fix some 
rough edges that are still there.

> 
> Thanks
>   Detlev

Best regards,
Marek Vasut


More information about the U-Boot mailing list