diff options
author | Anatolij Gustschin <agust@denx.de> | 2011-01-19 22:46:32 +0000 |
---|---|---|
committer | Albert Aribaud <albert.aribaud@free.fr> | 2011-02-02 00:54:43 +0100 |
commit | afaa9f65c24d815ed4f6133c800884921e051913 (patch) | |
tree | 2ded84b8cf87fb1a3497d66e8f651fe7abdd4c57 /arch/arm/include/asm/arch-mx5 | |
parent | dff0109496846fd9787b6cdc0941217ecdf0ae28 (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/arm/include/asm/arch-mx5')
0 files changed, 0 insertions, 0 deletions