
25 Nov
2014
25 Nov
'14
6:55 p.m.
On 10/17/2014 12:26 AM, Alison Wang wrote:
From: Yuan Yao yao.yuan@freescale.com
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 yao.yuan@freescale.com
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