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: Nand: make nand support more configurable
Date: Mon,  4 Apr 2011 16:46:32 +0200	[thread overview]
Message-ID: <1301928401-13571-1-git-send-email-s.hauer@pengutronix.de> (raw)

The following series makes the nand support more configurable. Currently
the nand support is quite big. Often enough a given nand controller only
needs a single ecc mode. In a xloader environment we do not need write
support and bad block tables. Support being made optional in this series
has default y to not change the existing defconfigs.

Sascha Hauer (12):
      commands: Make nand command optional
      nand: remove unused suspend/resume functions
      nand: remove unneeded nand_[get|release]_device functions
      nand: do not fall through in nand_scan_tail()
      nand: Factor out hw ecc support to seperate file
      nand: factor out software ecc support to seperate file
      nand: factor out syndrome support to seperate file
      nand: factor out nand write support
      nand: Make write support optional
      nand: Make different ecc modes optional
      nand: make vendor/type printout optional
      nand: make bbt support optional

 commands/Kconfig                       |    6 +
 commands/Makefile                      |    2 +-
 commands/nand.c                        |    7 +-
 drivers/mtd/nand/Kconfig               |   41 +
 drivers/mtd/nand/Makefile              |    7 +-
 drivers/mtd/nand/nand.c                |    9 +-
 drivers/mtd/nand/nand.h                |   30 +
 drivers/mtd/nand/nand_base.c           | 1399 +++-----------------------------
 drivers/mtd/nand/nand_bbt.c            |    9 +
 drivers/mtd/nand/nand_hwecc.c          |  101 +++
 drivers/mtd/nand/nand_hwecc_syndrome.c |  225 +++++
 drivers/mtd/nand/nand_ids.c            |  145 ++--
 drivers/mtd/nand/nand_swecc.c          |   94 +++
 drivers/mtd/nand/nand_write.c          |  746 +++++++++++++++++
 include/linux/mtd/mtd.h                |    4 -
 15 files changed, 1465 insertions(+), 1360 deletions(-)
 create mode 100644 drivers/mtd/nand/nand.h
 create mode 100644 drivers/mtd/nand/nand_hwecc.c
 create mode 100644 drivers/mtd/nand/nand_hwecc_syndrome.c
 create mode 100644 drivers/mtd/nand/nand_swecc.c
 create 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:[~2011-04-04 14:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04 14:46 Sascha Hauer [this message]
2011-04-04 14:46 ` [PATCH 01/12] commands: Make nand command optional Sascha Hauer
2011-04-04 14:46 ` [PATCH 02/12] nand: remove unused suspend/resume functions Sascha Hauer
2011-04-04 14:46 ` [PATCH 03/12] nand: remove unneeded nand_[get|release]_device functions Sascha Hauer
2011-04-04 14:46 ` [PATCH 04/12] nand: do not fall through in nand_scan_tail() Sascha Hauer
2011-04-04 14:46 ` [PATCH 05/12] nand: Factor out hw ecc support to seperate file Sascha Hauer
2011-04-04 14:46 ` [PATCH 06/12] nand: factor out software " Sascha Hauer
2011-04-04 14:46 ` [PATCH 07/12] nand: factor out syndrome " Sascha Hauer
2011-04-04 14:46 ` [PATCH 08/12] nand: factor out nand write support Sascha Hauer
2011-04-04 14:46 ` [PATCH 09/12] nand: Make write support optional 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=1301928401-13571-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