Re: [U-Boot] [PATCH] arm: socfpga: Fix delay in freeze controller

2015-08-18 Thread Marek Vasut
On Tuesday, August 18, 2015 at 10:27:29 PM, Dinh Nguyen wrote: > On 8/10/15 6:00 PM, Marek Vasut wrote: > > Based on observation, this udelay(20) was apparently too high and caused > > subsequent failure to calibrate DDR when U-Boot was compiled with certain > > toolchains. Lowering this delay fixe

Re: [U-Boot] [PATCH] arm: socfpga: Fix delay in freeze controller

2015-08-18 Thread Dinh Nguyen
On 8/10/15 6:00 PM, Marek Vasut wrote: > Based on observation, this udelay(20) was apparently too high and caused > subsequent failure to calibrate DDR when U-Boot was compiled with certain > toolchains. Lowering this delay fixed the problem. > > Instead of permanently lowering the delay, calcul

[U-Boot] [PATCH] arm: socfpga: Fix delay in freeze controller

2015-08-10 Thread Marek Vasut
Based on observation, this udelay(20) was apparently too high and caused subsequent failure to calibrate DDR when U-Boot was compiled with certain toolchains. Lowering this delay fixed the problem. Instead of permanently lowering the delay, calculate the correct delay based on the original comment