[U-Boot] [PATCH v7 04/19] imx: mx53ard: Add support for NAND Flash

Fabio Estevam
2013-02-26T13:35:28Z

On Tue, Feb 26, 2013 at 10:22 AM, Fabio Estevam <festevam@gmail.com> wrote:
> Hi Benoit,
>
> On Fri, Feb 15, 2013 at 6:54 PM, Beno?t Th?baudeau
> <benoit.thebaudeau@advansee.com> wrote:
>> Add support for the Samsung K9LAG08U0M NAND Flash (2-GiB MLC NAND Flash, 2-kiB
>> pages, 256-kiB blocks, 30-ns R/W cycles, 1 CS) on mx53ard.
>>
>> eNFC_CLK_ROOT is set up with a cycle time of 37.5 ns (400 MHz / 3 / 5) for this
>> board, which satisfies the 30-ns NF R/W cycle requirement.
>>
>> Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
>
> NAND is not detected on my mx53ard.
>
> I think we need to adjust the IOMUX as per:
> http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx53_ard/mx53_ard.c?h=imx_v2009.08

Yes, after using the same IOMUX from FSL U-boot I get:

NAND: NAND device: Manufacturer ID: 0xec, Chip ID: 0xd5 (Samsung NAND 2GiB 3,3)
NAND bus width 16 instead 8 bit
No NAND device found!!!
0 MiB

....

MX53ARD U-Boot > nand info

Device 0: NAND 2GiB 3,3V 8-bit, sector size 256 KiB
Page size 2048 b
OOB size 64 b
Erase size 262144 b
MX53ARD U-Boot >