[PATCH] i.MX: SPI: Respect SPI_LSB_FIRST flag in mode settings

Andrey Smirnov andrew.smirnov at gmail.com
Tue Jan 6 12:13:14 PST 2015


> Better introduce a imx_xchg_single which does the necessary bit
> reversing and calls imx->xchg_single. This avoids duplicating the code
> for all three bits_per_word settings.
>

I like this idea. Will do for the next version of the patch.

Thanks,
Andrey



More information about the barebox mailing list