All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3] Add support for flag status register on Micron chips.
@ 2014-04-22 14:03 ` Graham Moore
  0 siblings, 0 replies; 40+ messages in thread
From: Graham Moore @ 2014-04-22 14:03 UTC (permalink / raw)
  To: ggrahammoore
  Cc: David Woodhouse, Brian Norris, ZY - marex, Artem Bityutskiy,
	Sourav Poddar, Sascha Hauer, Geert Uytterhoeven, Jingoo Han,
	Insop Song, Graham Moore, linux-mtd, linux-kernel, Alan Tull,
	Dinh Nguyen, Yves Vandervennet

I rebased this patch onto the l2-mtd spinor branch.  Sorry it took so long, had to patch for our SoC, corporate network issues, etc.

The change to read the flag status register is, afaik, specific to Micron chips.  So, imo, the fsr ready check should be in the m25p80.c file.  But I put it into the spin-nor.c file, because I need to call the read_sr() function, which is declared static in spi-nor.c.

I *could* duplicate the read_sr code and put the wait_till_fsr_ready in m25p80, but I'm pretty sure that would attract some critique :)  Suggestions most welcome.

I also used n25q512ax3 for the id because there are two part numbers for the 512MB part with FSR, n25q512a13 and n25qa512a83.  The '83' version has a reset line.

Graham Moore (1):
  Add support for flag status register on Micron chips.

 drivers/mtd/spi-nor/spi-nor.c |   51 +++++++++++++++++++++++++++++++++++++++++
 include/linux/mtd/spi-nor.h   |    4 ++++
 2 files changed, 55 insertions(+)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2014-07-12  2:07 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-22 14:03 [PATCH V3] Add support for flag status register on Micron chips Graham Moore
2014-04-22 14:03 ` Graham Moore
2014-04-22 14:03 ` Graham Moore
2014-04-22 14:03   ` Graham Moore
2014-04-22 16:55   ` Marek Vasut
2014-04-22 16:55     ` Marek Vasut
2014-04-22 18:48     ` Graham Moore
2014-04-22 18:48       ` Graham Moore
2014-04-22 18:58       ` Marek Vasut
2014-04-22 18:58         ` Marek Vasut
2014-04-25  4:47       ` Huang Shijie
2014-04-25  4:47         ` Huang Shijie
2014-04-25 15:50         ` Marek Vasut
2014-04-25 15:50           ` Marek Vasut
2014-04-22 18:45   ` Gerhard Sittig
2014-04-22 18:45     ` Gerhard Sittig
2014-04-22 19:17     ` Graham Moore
2014-04-22 19:17       ` Graham Moore
2014-04-25  1:34   ` Huang Shijie
2014-04-25  1:34     ` Huang Shijie
2014-04-25  2:42     ` Marek Vasut
2014-04-25  2:42       ` Marek Vasut
2014-04-25  1:52       ` Huang Shijie
2014-04-25  1:52         ` Huang Shijie
2014-04-25 22:12         ` Marek Vasut
2014-04-25 22:12           ` Marek Vasut
2014-04-26  3:10           ` Huang Shijie
2014-04-26  3:10             ` Huang Shijie
2014-04-28  5:06             ` Marek Vasut
2014-04-28  5:06               ` Marek Vasut
2014-04-28  7:06               ` Huang Shijie
2014-04-28  7:06                 ` Huang Shijie
2014-04-28 14:22                 ` Graham Moore
2014-04-28 14:22                   ` Graham Moore
2014-04-28 15:37                   ` Huang Shijie
2014-04-28 15:37                     ` Huang Shijie
2014-07-12  2:07               ` Brian Norris
2014-07-12  2:07                 ` Brian Norris
2014-04-25  1:54       ` Huang Shijie
2014-04-25  1:54         ` Huang Shijie

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.