[U-Boot] [PATCH 00/13] mxc nand: Add support for i.MX5

Marek Vasut
2013-01-07T16:42:11Z

Dear Beno?t Th?baudeau,

> Dear Marek Vasut,
>
> On Monday, January 7, 2013 4:08:45 PM, Marek Vasut wrote:
> > Dear Fabio Estevam,
> >
> > > Hi Beno?t,
> > >
> > > On Mon, Jan 7, 2013 at 11:37 AM, Beno?t Th?baudeau
> > >
> > > <benoit.thebaudeau@advansee.com> wrote:
> > > > Fabio, can you give me the reference of the NAND Flash that you
> > > > will use
> > > > for testing on i.MX53? That will allow me to adjust the NFC clock
> > > > and to
> > > > know if I also have to add support for 4-kiB pages or multi-CS.
> > >
> > > The NAND I have is a K9LAG08U0M.
> >
> > Do you guys happen to have include/config/<config>.h section for the
> > MX5 NFC ?
> > esp. this CONFIG_MXC_NAND_IP_REGS_BASE is what I don't quite get how
> > it fits in.
>
> Here is this section for my custom i.MX51 board:
>
> #define CONFIG_SYS_MAX_NAND_DEVICE 1
> #define CONFIG_SYS_NAND_BASE NFC_BASE_ADDR_AXI
> #define CONFIG_NAND_MXC
> #define CONFIG_MXC_NAND_REGS_BASE NFC_BASE_ADDR_AXI
> #define CONFIG_MXC_NAND_IP_REGS_BASE NFC_BASE_ADDR
> #define CONFIG_SYS_NAND_LARGEPAGE
> #define CONFIG_MXC_NAND_HWECC
> #define CONFIG_SYS_NAND_USE_FLASH_BBT

Benoit, not much luck with this stuff. Am I missing something else? I believe I
configured pinmux, I enabled the NAND clock too. But maybe there's something
else? Can you send me some patch that enables use of this NAND driver on your
MX5 platform?

Best regards,
Marek Vasut