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

York Sun yorksun at freescale.com
Tue Nov 25 18:55:40 CET 2014


On 10/17/2014 12:26 AM, Alison Wang wrote:
> From: Yuan Yao <yao.yuan at 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 at 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




More information about the U-Boot mailing list