[RFT PATCH 1/4] mtd: fsl-quadspi: use automatic spi-nor detection
Brian Norris
computersforpeace at gmail.com
Mon Aug 17 19:56:39 PDT 2015
On Fri, Aug 14, 2015 at 07:40:27AM +0200, Michal Suchanek wrote:
> On 14 August 2015 at 01:24, Brian Norris <computersforpeace at gmail.com> wrote:
> > Now, each flash connected to the controller has its own device_node. All
> > this patch is saying is that we don't need to know much about that node;
> > as long as it responds to the READ ID command properly, spi_nor_scan()
> > can autodetect it.
> >
>
> And if there was suppor for a flash chip that does not respond to READ
> ID (or uses a different opcode for it) this patch would break it,
> right?
For the latter: this already doesn't support chips that use different
opcodes.
For the former: we're only talking about the "*-nonjedec" and similar,
right? I'm not confident those were supported well by this driver in the
first place. (And "*-nonjedec" should really die; if it's needed,
support should be added by design, not by accident.)
Perhaps Huang can comment.
Brian
More information about the linux-mtd
mailing list