Re: [U-Boot] [PATCH V2 09/11] SPI: mxc_spi: add SPI clock calculation and setup to the driver

2011-02-01 Thread Stefano Babic
On 01/20/2011 09:46 AM, Stefano Babic wrote: From: Anatolij Gustschin ag...@denx.de The MXC SPI driver didn't calculate the SPI clock up to now and just used highest possible divider 512 for DATA RATE in the control register. This results in very low transfer rates. The patch adds code

[U-Boot] [PATCH V2 09/11] SPI: mxc_spi: add SPI clock calculation and setup to the driver

2011-01-20 Thread Stefano Babic
From: Anatolij Gustschin ag...@denx.de The MXC SPI driver didn't calculate the SPI clock up to now and just used highest possible divider 512 for DATA RATE in the control register. This results in very low transfer rates. The patch adds code to calculate and setup the SPI clock frequency for