
Hi again
This series of patches adds support for the NAND flash controller in the i.MX31 device and also introduces the Freescale i.MX31 PDK board.
Changes since v1:
- Moved PDK board to boards/freescale/mx31pdk - Moved mxc_nd.c to driver/mtd/nand/mx31_nand.c - Moved contents of mxc_nd.h to mx31-regs.h - Cleaned up the mx31pdk.h config file after comments from this list - CONFIG_CMD_IMLS is still #undef'd but a comment is added in the config file about that. - A new patch has been inserted into the series, it makes the MC13783 SPI bus and chip select configurable.
The patches are based on the current main U-boot git repo.
Original intro for this series of patches:
At the moment, the patch series does not add support for booting from NAND. This means that the PDK board support assumes that some other entity configures the SDRAM and loads U-boot into RAM (e.g. another bootloader or a JTAG debugger). Support for NAND boot is in progress and will be submitted later.
The NAND driver is based on Freescale's Linux driver from their BSP. I've cleaned it up a bit and made the (minor) modifications necessary for U-boot. Perhaps the driver should be cleaned up even more, there are some CONFIG_MTD_MXC_* leftovers in the driver.
I have tested the driver on the Litekit (small page NAND) and on the PDK (large page NAND) by having the U-boot environment placed in NAND.
Regards, Magnus