[U-Boot] [PATCH v2 3/5] ls102xa: ifc: nor: fix the write issue when bytes unaligned

York Sun
2014-11-25T17:55:40Z

> 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(+)