mbox

[GIT,PULL] MTD fixes for 3.14-rc

Message ID 20140225192802.GA4194@ld-irv-0074
State Accepted
Headers show

Pull-request

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

Message

Brian Norris Feb. 25, 2014, 7:28 p.m. UTC
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(-)