Skip to contentSkip to conversation

Add support for AT91RM9200 NAND (Smartmedia) controller

PATCH New Frank Mandarino 1 participant 1 message Dec 6, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add support for AT91RM9200 NAND (Smartmedia) controller

The attached patch adds support for the AT91RM9200 NAND (Smartmedia) controller, allowing use of the U-Boot NAND commands on AT91RM9200-based boards which use NAND flash.

It uses four CFG parameters:

CFG_NAND_BASE - address of Smartmedia chip select (normally

                         0x40000000)

CFG_NAND_AT91_CLE_BIT - address bit number used to set CLE signal CFG_NAND_AT91_ALE_BIT - address bit number used to set ALE signal
CFG_NAND_CHIP_DELAY - command delay time in microseconds

I have been using this code for almost a year with no problems on our custom AT91RM9200 board. I believe it would be useful for others as the popularity of NAND flash increases.

Regards,
../fam

Signature · 10 lines
Frank Mandarino                                fmandarino(a)endrelia.com
Endrelia Technologies Inc.
Toronto, Ontario, Canada
-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot_at91_nand.patch
Type: text/x-patch
Size: 6032 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20061206/1c728c86/attachment.bin