public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] for JEDEC flash, command of word programing should be issued relatvie to base
Date: Wed, 8 Jul 2009 11:26:25 +0200	[thread overview]
Message-ID: <200907081126.25171.sr@denx.de> (raw)
In-Reply-To: <ec1aee9f0907062227t5e904fe6rf620f6cbc57c9415@mail.gmail.com>

On Tuesday 07 July 2009 07:27:35 Po-Yu Chuang wrote:
> For JEDEC flash, we should issue word programming command relative to
> base address rather than sector base address. Original source makes
> SST Flash fails to program sectors which are not on the 0x10000 boundaries.
>
> e.g.
> SST39LF040 uses addr1=0x5555 and addr2=0x2AAA, however, each sector
> is 0x1000 bytes.
>
> Thus, if we issue command to "sector base (0x41000) + offset(0x5555)",
> it sends to 0x46555 and the chip fails to recognize that address.
>
> This patch is tested with SST39LF040.
>
> Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>

This patch is line wrapped and can't be applied. Please fix and resubmit. And 
while at it please use a somewhat shorted subject.

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2009-07-08  9:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-07  5:27 [U-Boot] [PATCH] for JEDEC flash, command of word programing should be issued relatvie to base Po-Yu Chuang
2009-07-08  9:26 ` Stefan Roese [this message]
2009-07-08  9:49   ` Po-Yu Chuang
2009-07-08  9:54     ` Stefan Roese

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=200907081126.25171.sr@denx.de \
    --to=sr@denx.de \
    --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