diff options
author | Magnus Lilja <lilja.magnus@gmail.com> | 2010-02-09 22:05:39 +0100 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2010-02-12 12:31:54 -0600 |
commit | eff536befd3efab538bba10bad07ecff63c9f470 (patch) | |
tree | 5df4b4407768e17c6aa1b73e6fd292991a7aec9a /drivers/net/greth.c | |
parent | 39a9142203e610bf2b1a216085e374277fd28f9f (diff) | |
download | u-boot-imx-eff536befd3efab538bba10bad07ecff63c9f470.zip u-boot-imx-eff536befd3efab538bba10bad07ecff63c9f470.tar.gz u-boot-imx-eff536befd3efab538bba10bad07ecff63c9f470.tar.bz2 |
SPI: Fix 32 bit transfers in mxc_spi.c
Commit f9b6a1575d9f1ca192e4cb60e547aa66f08baa3f, "i.MX31: fix SPI
driver for shorter than 32 bit" broke 32 bit transfers. This patch
makes single 32 bit transfer work again.
Transfer lengths that are known not to work will abort and print
an error message.
Tested on i.MX31 Litekit and i.MX31 PDK using 32 bit transfers to
the MC13783/ATLAS chip (using the 'date' command).
Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
Diffstat (limited to 'drivers/net/greth.c')
0 files changed, 0 insertions, 0 deletions