[U-Boot] Bug in nand_default_bbt?

Nishanth Menon menon.nishanth at gmail.com
Wed Dec 31 22:31:41 CET 2008


Hi Scott,
A gentle question on drivers/mtd/nand/nand_bbt.c:largepage_flashbased
in Micron devices, the bb marker is the first word. for a x8 device is
1 byte and x16 device it is 2 bytes. .len = 2 makes sense for an x16
device in the above variable, however the marker does a false postive
detection for x8 devices.
I can over ride this by using nand_chip->badblock_pattern in my board
file, but from an mtd layer perspective, does it make sense to fix
this for a generic usage?
Regards,
Nishanth Menon


More information about the U-Boot mailing list