[GIT PULL] MTD fixes for 3.14-rc

Brian Norris computersforpeace at gmail.com
Tue Feb 25 14:28:02 EST 2014


Hi Linus,

The following changes since commit b28a960c42fcd9cfc987441fa6d1c1a471f0f9ed:

  Linux 3.14-rc2 (2014-02-09 18:15:47 -0800)

are available in the git repository at:

  git://git.infradead.org/linux-mtd.git tags/for-linus-20140225

for you to fetch changes up to bb38eefb6858ce16b34716145b9597a5680aa54c:

  mtd: nand: omap: fix ecclayout->oobfree->length (2014-02-23 14:49:57 -0800)

----------------------------------------------------------------
Two main MTD fixes:

 1. Read retry counting was off by one, so if we had a true ECC error (i.e., no
    retry voltage threshold would give a clean read), we would end up returning
    -EINVAL on the Nth mode instead of -EBADMSG after then (N-1)th mode

 2. The OMAP NAND driver had some of its ECC layouts wrong when introduced in
    3.13, causing incompatibilities between the bootloader on-flash layout and
    the layout expected in Linux. The expected layouts are now documented in
    the commit messages, and we plan to add this under Documentation/mtd/nand/
    eventually.

----------------------------------------------------------------
Brian Norris (1):
      mtd: nand: fix off-by-one read retry mode counting

Pekon Gupta (3):
      mtd: nand: omap: fix ecclayout to be in sync with u-boot NAND driver
      mtd: nand: omap: fix ecclayout->oobfree->offset
      mtd: nand: omap: fix ecclayout->oobfree->length

 drivers/mtd/nand/nand_base.c |  2 +-
 drivers/mtd/nand/omap2.c     | 61 +++++++++++++++++++++++++++++---------------
 2 files changed, 41 insertions(+), 22 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20140225/1eb3d002/attachment.sig>


More information about the linux-mtd mailing list