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

Marek Vasut marex at denx.de
Tue Jan 8 11:40:05 CET 2013


Dear Fabio Estevam,

> On Tue, Jan 8, 2013 at 7:33 AM, Marek Vasut <marex at denx.de> wrote:
> > From: Benoît Thébaudeau <benoit.thebaudeau at advansee.com>
> > 
> > Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau at advansee.com>
> > Cc: Scott Wood <scottwood at freescale.com>
> > Cc: Stefano Babic <sbabic at denx.de>
> > ---
> > 
> >  arch/arm/include/asm/arch-mx5/imx-regs.h |    9 ++
> >  drivers/mtd/nand/mxc_nand.c              |  219
> >  ++++++++++++++++++++++-------- include/fsl_nfc.h                       
> >  |  149 +++++++++++++------- nand_spl/nand_boot_fsl_nfc.c             | 
> >  114 ++++++++++++---- 4 files changed, 364 insertions(+), 127
> >  deletions(-)
> > 
> > NOTE: I'm seeing issues when this is compiled into U-Boot. U-Boot won't
> > boot on my MX53 board and will hang right after printing "DRAM:" and
> > before printing the CPU info. I suspect it's some kind of unaligned
> > access.
> 
> I was seeing the same problem and this patch fixed it:
> http://git.denx.de/?p=u-boot/u-boot-imx.git;a=commit;h=1411fb37b5a8d56becec
> c5e6ea09d2e0670b9810
> 
> Let me know if this fixes the issue you are seeing.

I have that applied, but still seeing the issue. Maybe there's some additional 
problem with the NAND driver ?

Best regards,
Marek Vasut


More information about the U-Boot mailing list