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

Detlev Zundel dzu at denx.de
Fri May 4 11:16:21 CEST 2012


Hi Marek,

> Dear Detlev Zundel,
>
>> Hi Marek,
>> 
>> [...]
>> 
>> >> 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.
>> 
>> This would be a worthwhile comment in the code.
>> 
>> > I think there is a bit for that that we can poll, indeed.
>> 
>> And _that_ is even better ;)
>
> And I was wrong, there isn't ... I made a dip into the manual and there's 
> nothing :/ So this patch will have to do

Ah, too bad.  Then at least comment on how you derived the delay and
what parameters where used for this calculation.

Thanks
  Detlev

-- 
... and I will continue to use a  low-level language to indicate how
machines actually compute.  Readers  who only want to see algorithms
that are already packaged in a plug-in way, using a trendy language,
should buy other people's books.
                                         -- Donald Knuth, Fascicle 1
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the U-Boot mailing list