Comments

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
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>
---
Changes:
The patch is rebased on the current patches already sent for this driver
(support for MX35). Tested on a MX35 board.
Modified commit message as suggested by Anatolij
drivers/spi/mxc_spi.c | 24 +++++++++++++++++++++++-
1 files changed, 23 insertions(+), 1 deletions(-)