Skip to content
Snippets Groups Projects
Commit c4a79632 authored by Rajeshwari Shinde's avatar Rajeshwari Shinde Committed by Jagan Teki
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarRajeshwari S Shinde <rajeshwari.s@samsung.com>
Reviewed-by: default avatarJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
parent 120af157
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment