From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 8 Jan 2013 11:40:05 +0100 Subject: [U-Boot] [PATCH 1/2] mxc nand: Add support for i.MX5 In-Reply-To: References: <1357637609-18663-1-git-send-email-marex@denx.de> Message-ID: <201301081140.05508.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Fabio Estevam, > On Tue, Jan 8, 2013 at 7:33 AM, Marek Vasut wrote: > > From: Beno?t Th?baudeau > > > > Signed-off-by: Beno?t Th?baudeau > > Cc: Scott Wood > > Cc: Stefano Babic > > --- > > > > 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