From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 3 May 2012 15:31:58 +0200 Subject: [U-Boot] [PATCH 3/3] i.MX28: Increase the delay after DRAM init In-Reply-To: References: <1335996878-2264-1-git-send-email-marex@denx.de> <201205030127.02809.marex@denx.de> Message-ID: <201205031531.58387.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Detlev Zundel, > Hi Marek, > > > Dear Fabio Estevam, > > > >> On Wed, May 2, 2012 at 7:14 PM, Marek Vasut 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