public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [RFC 0/4] MXC: Add NAND support for i.MX31
@ 2009-11-08 10:55 Magnus Lilja
  2009-11-08 10:55 ` [U-Boot] [RFC 1/4] MX31: Add struct definition for clock control module in i.MX31 Magnus Lilja
  0 siblings, 1 reply; 7+ messages in thread
From: Magnus Lilja @ 2009-11-08 10:55 UTC (permalink / raw)
  To: u-boot

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(-)

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

end of thread, other threads:[~2009-11-10 20:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-08 10:55 [U-Boot] [RFC 0/4] MXC: Add NAND support for i.MX31 Magnus Lilja
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

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