
18 Jan
2011
18 Jan
'11
4:37 p.m.
Hello.
Stefano Babic wrote:
From: Anatolij Gustschin agust@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@denx.de Signed-off-by: Stefano Babic sbabic@denx.de
WBR, Sergei