[U-Boot] [RFC 0/4] MXC: Add NAND support for i.MX31
Magnus Lilja
lilja.magnus at gmail.com
Sun Nov 8 11:55:35 CET 2009
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(-)
More information about the U-Boot
mailing list