public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 3/5] ls102xa: ifc: nor: fix the write issue when bytes unaligned
Date: Tue, 25 Nov 2014 09:55:40 -0800	[thread overview]
Message-ID: <5474C29C.7060908@freescale.com> (raw)
In-Reply-To: <1413530796-12881-3-git-send-email-b18965@freescale.com>

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

  reply	other threads:[~2014-11-25 17:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-17  7:26 [U-Boot] [PATCH v2 1/5] arm: ls102xa: Add snoop disable for slave port 0, 1 and 2 Alison Wang
2014-10-17  7:26 ` [U-Boot] [PATCH v2 2/5] arm: ls102xa: Remove bit reversing for SCFG registers Alison Wang
2014-11-25 17:55   ` York Sun
2014-10-17  7:26 ` [U-Boot] [PATCH v2 3/5] ls102xa: ifc: nor: fix the write issue when bytes unaligned Alison Wang
2014-11-25 17:55   ` York Sun [this message]
2014-10-17  7:26 ` [U-Boot] [PATCH v2 4/5] arm: ls102xa: Add SystemID EEPROM support for LS1021ATWR board Alison Wang
2014-11-25 17:56   ` York Sun
2014-10-17  7:26 ` [U-Boot] [PATCH v2 5/5] arm: ls102xa: Select ge2_clk125 for eTSEC clock muxing Alison Wang
2014-11-25 17:56   ` York Sun
2014-11-25 17:54 ` [U-Boot] [PATCH v2 1/5] arm: ls102xa: Add snoop disable for slave port 0, 1 and 2 York Sun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5474C29C.7060908@freescale.com \
    --to=yorksun@freescale.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox