Re: [U-Boot] [PATCH] kw_spi: fix clock prescaler computation

2012-08-15 Thread Valentin Longchamp
Hi Prafulla, On 08/14/2012 03:15 PM, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Valentin Longchamp [mailto:valentin.longch...@keymile.com] >> Sent: 14 August 2012 15:02 >> To: Prafulla Wadaskar >> Cc: u-boot@lists.denx.de; Holger Brunck >> Subject: Re: [PATCH] kw_spi: fi

Re: [U-Boot] [PATCH] kw_spi: fix clock prescaler computation

2012-08-14 Thread Prafulla Wadaskar
> -Original Message- > From: Valentin Longchamp [mailto:valentin.longch...@keymile.com] > Sent: 14 August 2012 15:02 > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Holger Brunck > Subject: Re: [PATCH] kw_spi: fix clock prescaler computation > > Hi Prafulla, > > I haven't received f

Re: [U-Boot] [PATCH] kw_spi: fix clock prescaler computation

2012-08-14 Thread Valentin Longchamp
Hi Prafulla, I haven't received feedback about this patch from you. Can I please kindly remind you about it since I am about to send patches that deal with SPI clk setting. Thank you. On 06/29/2012 02:17 PM, Valentin Longchamp wrote: > The computation was not correct with low clock values: sett

[U-Boot] [PATCH] kw_spi: fix clock prescaler computation

2012-06-29 Thread Valentin Longchamp
The computation was not correct with low clock values: setting a 1MHz clock would result in an overlap that would then configure a 25Mhz clock. This patch implements a correct computation method according to the kirkwood functionnal spec. table 629 (Serial Memory Interface Configuration Register).