[U-Boot-Users] Nand Flash Bug in common/cmd_nand.c

Bradley Remedios bremedios at gmail.com
Fri Jan 21 04:20:39 CET 2005


Hello all,

I've discovered a NAND flash bug that likely will not show up except
for some people with Nand Flash Controllers (like the 440EP).

There are two instances where data is attempted to be read from NAND
using readb(nand->IO_ADDR) when this should be
READ_NAND(nand->IO_ADDR) instead.

This bug likely will not show up for people that have nand hooked up
to their data bus and are using GPIOs for the signals such as CEn,
WEn, REn etc...

This patch is against an older CVS version of U-Boot that was checked
out on November 30, 2004.

Regards,
-- 
Bradley Remedios
bremedios at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmd_nand.c-readb-bug.patch
Type: text/x-patch
Size: 975 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050120/753a2515/attachment.bin 


More information about the U-Boot mailing list