diff options
author | Rajeshwari Shinde <rajeshwari.s@samsung.com> | 2013-10-08 16:20:06 +0530 |
---|---|---|
committer | Jagannadha Sutradharudu Teki <jaganna@xilinx.com> | 2013-10-08 18:18:12 +0530 |
commit | c4a796329d00ce46de6b5afeb1fdabec82830677 (patch) | |
tree | 01b2274734a04752e2d0fc139de7f3a726721e4b /drivers/bootcount | |
parent | 120af1572a3647bb87eff2f62dd8f8a919ee71f0 (diff) | |
download | u-boot-imx-c4a796329d00ce46de6b5afeb1fdabec82830677.zip u-boot-imx-c4a796329d00ce46de6b5afeb1fdabec82830677.tar.gz u-boot-imx-c4a796329d00ce46de6b5afeb1fdabec82830677.tar.bz2 |
spi: exynos: Support word transfers
Since SPI register access is so expensive, it is worth transferring data
a word at a time if we can. This complicates the driver unfortunately.
Use the byte-swapping feature to avoid having to convert to/from big
endian in software.
This change increases speed from about 2MB/s to about 4.5MB/s.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Rajeshwari S Shinde <rajeshwari.s@samsung.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'drivers/bootcount')
0 files changed, 0 insertions, 0 deletions