Skip to content
Snippets Groups Projects
Commit 272c5265 authored by Yuan Yao's avatar Yuan Yao Committed by York Sun
Browse files

ls102xa: ifc: nor: fix the write issue when bytes unaligned


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: default avatarYuan Yao <yao.yuan@freescale.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent c207ff61
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment