mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jan Weitzel <j.weitzel@phytec.de>
To: barebox@lists.infradead.org
Subject: [PATCH 0/3] nand: autodetect buswith
Date: Tue, 24 Jul 2012 16:39:53 +0200	[thread overview]
Message-ID: <1343140796-21934-1-git-send-email-j.weitzel@phytec.de> (raw)

Add flag NAND_BUSWIDTH_UNKNOWN to allow the nand driver to detect the buswidth.
Driver must provide callback set_buswidth which configure buswidth set in
(struct nand_chip) nand->options

Jan Weitzel (3):
  nand: base: Add autodetect buswidth
  OMAP GPMC NAND: add set_buswidth callback
  PCA-A_XL2 PCM049: Use autodetection for NAND width

 arch/arm/boards/pcm049/board.c            |    4 +-
 arch/arm/boards/phycard-a-xl2/pca-a-xl2.c |    3 +-
 arch/arm/mach-omap/devices-gpmc-nand.c    |    8 ++---
 arch/arm/mach-omap/gpmc.c                 |   19 ++++++++++++
 arch/arm/mach-omap/include/mach/gpmc.h    |    8 +++++
 drivers/mtd/nand/nand_base.c              |   45 ++++++++++++++++++++++++++--
 drivers/mtd/nand/nand_omap_gpmc.c         |   43 ++++++++++++++++++++++++---
 include/linux/mtd/nand.h                  |    4 ++
 8 files changed, 117 insertions(+), 17 deletions(-)


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

             reply	other threads:[~2012-07-24 14:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-24 14:39 Jan Weitzel [this message]
2012-07-24 14:39 ` [PATCH 1/3] nand: base: Add autodetect buswidth Jan Weitzel
2012-07-24 14:39 ` [PATCH 2/3] OMAP GPMC NAND: add set_buswidth callback Jan Weitzel
2012-07-24 14:39 ` [PATCH 3/3] PCA-A_XL2 PCM049: Use autodetection for NAND width Jan Weitzel

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=1343140796-21934-1-git-send-email-j.weitzel@phytec.de \
    --to=j.weitzel@phytec.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