]> git.sur5r.net Git - u-boot/commit
mmc: Fix decoding of SCR & function switch data on little-endian machines
authorYauhen Kharuzhy <jekhor@gmail.com>
Wed, 6 May 2009 21:43:30 +0000 (00:43 +0300)
committerAndy Fleming <afleming@freescale.com>
Tue, 2 Jun 2009 22:20:04 +0000 (17:20 -0500)
commit4e3d89ba948eef801ffd46ef862cdede5b3f8320
tree7699f14686e9e934bb2b727213730d2c7e57835b
parentf33cb34b3971dabe3720d577b0e1b8601c09fe17
mmc: Fix decoding of SCR & function switch data on little-endian machines

SCR & switch data are read from card as big-endian words and should be
converted to CPU byte order.

Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
drivers/mmc/mmc.c