mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH] mtd nand sync with kernel
Date: Mon, 22 Jul 2013 12:04:02 +0200	[thread overview]
Message-ID: <1374487450-13800-1-git-send-email-s.hauer@pengutronix.de> (raw)

The following updates the barebox NAND support to Linux-3.11-rc1.

I gave up on using separate files for the nand write support as it
turned out to be hard to keep it in sync with the kernel.

The patches were tested with the i.MX NAND driver and the MXS nand
driver. I hope there are no regressions but due to the size of the
patch this is hard to make sure, so please test.

Sascha

----------------------------------------------------------------
Sascha Hauer (8):
      mtd: nand: write BBM to OOB even with flash-based BBT
      mtd: rename MTD_OOB_* to MTD_OPS_*
      mtd: sync bbm.h with Linux Kernel
      string: introduce memchr_inv
      mtd: rename mtd_read_oob
      mtd: introduce ecc strength
      mtd: introduce mtd_read_oob and mtd_write_oob
      mtd: nand: update to v3.11-rc1

 arch/arm/boards/nhk8815/setup.c        |    2 -
 drivers/mtd/core.c                     |   21 +
 drivers/mtd/devices/docg3.c            |   26 +-
 drivers/mtd/mtdoob.c                   |    8 +-
 drivers/mtd/mtdraw.c                   |   10 +-
 drivers/mtd/nand/Kconfig               |   29 +-
 drivers/mtd/nand/Makefile              |    5 +-
 drivers/mtd/nand/atmel_nand.c          |   15 +-
 drivers/mtd/nand/nand.h                |    3 +-
 drivers/mtd/nand/nand_base.c           | 3035 +++++++++++++++++++++++++-------
 drivers/mtd/nand/nand_bbt.c            | 1053 ++++++-----
 drivers/mtd/nand/nand_bch.c            |  243 +++
 drivers/mtd/nand/nand_hwecc.c          |  103 --
 drivers/mtd/nand/nand_hwecc_syndrome.c |  225 ---
 drivers/mtd/nand/nand_ids.c            |  266 ++-
 drivers/mtd/nand/nand_imx.c            |   23 +-
 drivers/mtd/nand/nand_mxs.c            |   20 +-
 drivers/mtd/nand/nand_omap_gpmc.c      |   18 +-
 drivers/mtd/nand/nand_s3c24xx.c        |    2 +
 drivers/mtd/nand/nand_swecc.c          |   94 -
 drivers/mtd/nand/nand_write.c          |  747 --------
 drivers/mtd/nand/nomadik_nand.c        |    1 +
 include/asm-generic/errno.h            |    4 +-
 include/linux/mtd/bbm.h                |  128 +-
 include/linux/mtd/mtd-abi.h            |   19 +
 include/linux/mtd/mtd.h                |   66 +-
 include/linux/mtd/nand.h               |  645 ++++---
 include/linux/string.h                 |    2 +
 lib/string.c                           |   59 +
 29 files changed, 4110 insertions(+), 2762 deletions(-)
 create mode 100644 drivers/mtd/nand/nand_bch.c
 delete mode 100644 drivers/mtd/nand/nand_hwecc.c
 delete mode 100644 drivers/mtd/nand/nand_hwecc_syndrome.c
 delete mode 100644 drivers/mtd/nand/nand_swecc.c
 delete mode 100644 drivers/mtd/nand/nand_write.c

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2013-07-22 10:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-22 10:04 Sascha Hauer [this message]
2013-07-22 10:04 ` [PATCH 1/8] mtd: nand: write BBM to OOB even with flash-based BBT Sascha Hauer
2013-07-22 10:04 ` [PATCH 2/8] mtd: rename MTD_OOB_* to MTD_OPS_* Sascha Hauer
2013-07-22 10:04 ` [PATCH 3/8] mtd: sync bbm.h with Linux Kernel Sascha Hauer
2013-07-22 10:04 ` [PATCH 4/8] string: introduce memchr_inv Sascha Hauer
2013-07-22 10:04 ` [PATCH 5/8] mtd: rename mtd_read_oob Sascha Hauer
2013-07-22 10:04 ` [PATCH 6/8] mtd: introduce ecc strength Sascha Hauer
2013-07-22 10:04 ` [PATCH 7/8] mtd: introduce mtd_read_oob and mtd_write_oob Sascha Hauer
2013-07-22 10:04 ` [PATCH 8/8] mtd: nand: update to v3.11-rc1 Sascha Hauer

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=1374487450-13800-1-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox