From: Detlev Zundel Date: Fri, 04 May 2012 11:16:21 +0200 Subject: [U-Boot] [PATCH 3/3] i.MX28: Increase the delay after DRAM init In-Reply-To: <201205031734.53830.marex@denx.de> (Marek Vasut's message of "Thu, 3 May 2012 17:34:53 +0200") References: <1335996878-2264-1-git-send-email-marex@denx.de> <201205031531.58387.marex@denx.de> <201205031734.53830.marex@denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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