[U-Boot] [PATCH V2 2/2] SPI: mxc_spi: add SPI clock calculation and setup to the driver
Sergei Shtylyov
sshtylyov at mvista.com
Tue Jan 18 16:37:16 CET 2011
Hello.
Stefano Babic wrote:
> From: Anatolij Gustschin <agust at denx.de>
> The MXC SPI driver didn't calculate the SPI clock up to
> now and just highest possible divider 512 for DATA
^
I think "used" shouldn't have been ommitted here.
> 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 transfers.
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> Signed-off-by: Stefano Babic <sbabic at denx.de>
WBR, Sergei
More information about the U-Boot
mailing list