summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2011-01-19 22:46:32 +0000
committerAlbert Aribaud <albert.aribaud@free.fr>2011-02-02 00:54:43 +0100
commitafaa9f65c24d815ed4f6133c800884921e051913 (patch)
tree2ded84b8cf87fb1a3497d66e8f651fe7abdd4c57 /arch
parentdff0109496846fd9787b6cdc0941217ecdf0ae28 (diff)
SPI: mxc_spi: add SPI clock calculation and setup to the driver
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 transfers. Signed-off-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions