From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 18 Jan 2011 12:20:23 +0100 Subject: [U-Boot] [PATCH 1/2] SPI: mxc_spi: fix swapping bug and add missing swapping in unaligned rx case In-Reply-To: <1295201837-26836-1-git-send-email-agust@denx.de> References: <1295201837-26836-1-git-send-email-agust@denx.de> Message-ID: <4D357777.4040403@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 01/16/2011 07:17 PM, Anatolij Gustschin wrote: > 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. Tested on a mx35pdk. Tested-by: Stefano Babic 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 at denx.de =====================================================================