
1 Feb
2011
1 Feb
'11
6:53 p.m.
On 01/20/2011 06:53 PM, Stefano Babic wrote:
From: Anatolij Gustschin agust@denx.de
We need to shift only one time in each cycle in the swapping loop for unaligned tx case. Currently two byte shift operations are performed in each loop cycle causing zero gaps in the transmited data, so not all data scheduled for transmition is actually transmited.
The proper swapping in unaligned rx case is missing, so add it as we need to put the received data into the rx buffer in the correct byte order.
Signed-off-by: Anatolij Gustschin agust@denx.de Tested-by: Stefano Babic sbabic@denx.de
Applied to u-boot-imx, thanks
Best regards, Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de
=====================================================================