All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
To: Brian Norris <computersforpeace@gmail.com>
Cc: Marek Vasut <marex@denx.de>,
	kernel@savoirfairelinux.com, linux-mtd@lists.infradead.org,
	stable@vger.kernel.org
Subject: Re: [PATCH] mtd: m25p80: Micron SPI uses Macronix-style 4-byte addressing
Date: Mon, 12 Aug 2013 10:06:51 -0400 (EDT)	[thread overview]
Message-ID: <1639305882.172123.1376316411000.JavaMail.root@mail> (raw)
In-Reply-To: <CAN8TOE8Gc=ftDxZFXD8g+tJDOP+hi74NX2NMNLtnzEdUuAut-A@mail.gmail.com>

Hi Brian,

----- Mail original -----
> De: "Brian Norris" <computersforpeace@gmail.com>
> À: "Marek Vasut" <marex@denx.de>
> Cc: linux-mtd@lists.infradead.org, stable@vger.kernel.org, "Vivien Didelot" <vivien.didelot@savoirfairelinux.com>
> Envoyé: Dimanche 11 Août 2013 22:44:31
> Objet: Re: [PATCH] mtd: m25p80: Micron SPI uses Macronix-style 4-byte addressing
> 
> On Fri, Aug 9, 2013 at 11:46 AM, Marek Vasut <marex@denx.de> wrote:
> > Dear Brian Norris,
> >
> >> For SPI NOR flash that are larger than 128Mbit (16MiB), we need 4
> >> bytes
> >> of address space to reach the entire flash; however, the original
> >> SPI
> >> flash protocol used only 3 bytes for the address. So far, the
> >> practice
> >> for handling this has been either to use new command opcodes that
> >> are
> >> defined to use 4 bytes for their address, or to use special
> >> mode-switching command to configure all
> >> traditionally-3-byte-address
> >> commands to take 4 bytes instead.
> 
> [snip long description of a mess]
> 
> > The situation with the 4b addressing is a horrible mess :(
> 
> Agreed. It took me a while to figure out that this was the root of my
> problems last week.
> 
> > Acked-by: Marek Vasut <marex@denx.de>
> 
> Thanks.
> 
> Brian
> 

I'm just adding kernel@savoirfairelinux.com in the loop.

Thanks,
Vivien.

  reply	other threads:[~2013-08-12 14:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-09 18:24 [PATCH] mtd: m25p80: Micron SPI uses Macronix-style 4-byte addressing Brian Norris
2013-08-09 18:46 ` Marek Vasut
2013-08-12  2:44   ` Brian Norris
2013-08-12 14:06     ` Vivien Didelot [this message]
2013-08-09 21:32 ` Brian Norris
2013-08-17 19:31 ` Brian Norris

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=1639305882.172123.1376316411000.JavaMail.root@mail \
    --to=vivien.didelot@savoirfairelinux.com \
    --cc=computersforpeace@gmail.com \
    --cc=kernel@savoirfairelinux.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=marex@denx.de \
    --cc=stable@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.