mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] mtd nand sync with kernel
@ 2013-07-22 10:04 Sascha Hauer
  2013-07-22 10:04 ` [PATCH 1/8] mtd: nand: write BBM to OOB even with flash-based BBT Sascha Hauer
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Sascha Hauer @ 2013-07-22 10:04 UTC (permalink / raw)
  To: barebox

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

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

end of thread, other threads:[~2013-07-22 10:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-22 10:04 [PATCH] mtd nand sync with kernel Sascha Hauer
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox