All of lore.kernel.org
 help / color / mirror / Atom feed
From: Magnus Lilja <lilja.magnus@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC 0/4] MXC: Add NAND support for i.MX31
Date: Sun,  8 Nov 2009 11:55:35 +0100	[thread overview]
Message-ID: <cover.1257676418.git.lilja.magnus@gmail.com> (raw)

Hi all,

This series adds NAND support for i.MX31 using the mxc_nand that was
added for i.MX27. The same NAND Flash Controller is used in i.MX31.

I've done some limited run-time testing on the Litekit using small
page NAND and it seems to work.

I have embedded a question in patch #2 and #4, this relates to where
the 16 bit SoC specific auto detection code shall be placed.


Once I've received input on the open question I will clean up the series
and do the necessary MAKEALL tests (not done at the moment), add 
signed-off-by and re-submit.



On a separate note, the Linux version of mxc_nand.c is undergoing updates
(don't think the patches have been accepted yet) and unfortunately it's
not just a matter of copying the new version since the uboot version was
converted to use readw(&host->regs->register) instead of 
readw(host->regs + REGISTER). 
But in any case, there may be things to import to u-boot.


Regards, Magnus

Magnus Lilja (4):
  MX31: Add struct definition for clock control module in i.MX31.
  mxc_nand: Update driver to work with i.MX31.
  MX31: Activate NAND support for i.MX31 Litekit board.
  MXC: Reorganize 16 bit nand detection.

 drivers/mtd/nand/mxc_nand.c           |    4 +--
 include/asm-arm/arch-mx27/imx-regs.h  |   13 ++++++++
 include/asm-arm/arch-mx31/mx31-regs.h |   54 +++++++++++++++++++++++++++++++++
 include/configs/imx31_litekit.h       |   11 +++++++
 4 files changed, 79 insertions(+), 3 deletions(-)

             reply	other threads:[~2009-11-08 10:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-08 10:55 Magnus Lilja [this message]
2009-11-08 10:55 ` [U-Boot] [RFC 1/4] MX31: Add struct definition for clock control module in i.MX31 Magnus Lilja
2009-11-08 10:55   ` [U-Boot] [RFC 2/4] mxc_nand: Update driver to work with i.MX31 Magnus Lilja
2009-11-08 10:55     ` [U-Boot] [RFC 3/4] MX31: Activate NAND support for i.MX31 Litekit board Magnus Lilja
2009-11-08 10:55       ` [U-Boot] [RFC 4/4] MXC: Reorganize 16 bit nand detection Magnus Lilja
2009-11-09 20:12         ` Scott Wood
2009-11-10 20:43           ` Magnus Lilja

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=cover.1257676418.git.lilja.magnus@gmail.com \
    --to=lilja.magnus@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.