From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Tue, 25 Nov 2014 09:55:40 -0800 Subject: [U-Boot] [PATCH v2 3/5] ls102xa: ifc: nor: fix the write issue when bytes unaligned In-Reply-To: <1413530796-12881-3-git-send-email-b18965@freescale.com> References: <1413530796-12881-1-git-send-email-b18965@freescale.com> <1413530796-12881-3-git-send-email-b18965@freescale.com> Message-ID: <5474C29C.7060908@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/17/2014 12:26 AM, Alison Wang wrote: > From: Yuan Yao > > Add define CONFIG_SYS_WRITE_SWAPPED_DATA. > For LS1021AQDS and LS1021QTWR nor flash write should swap the > bytes when handle unaligned tail bytes. > > Because of the ending, if the date bus width is 16-bits and the > number of bytes is odd, we should swap the byte when write the > last one. > > Signed-off-by: Yuan Yao > --- > Change log: > v2: Change the commits to match with the subject. > > include/configs/ls1021aqds.h | 1 + > include/configs/ls1021atwr.h | 1 + > 2 files changed, 2 insertions(+) Applied to u-boot-fsl-qoriq master. Awaiting upstream. Thanks. York