RFC MXC: Add NAND support for i.MX31
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | MX31: Add struct definition for clock control module in i.MX31.include/ | +41 | 0 replies | |
| 2/4 | mxc_nand: Update driver to work with i.MX31.drivers/ | +7 | 0 replies | |
| 3/4 | MX31: Activate NAND support for i.MX31 Litekit board.include/ | +11 | 0 replies | |
| 4/4 | MXC: Reorganize 16 bit nand detection.drivers/ include/ include/ | +28 | 1 reply | |
| 4/4 | MXC: Reorganize 16 bit nand detection. | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [RFC 0/4] MXC: Add NAND support for i.MX31
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(-)