[U-Boot] CFI numblocks incorrect?

Ladislav Michl Ladislav.Michl at seznam.cz
Thu Jan 28 00:13:20 CET 2010


it seems CFI flash support is somehow broken. mtd->eraseregions is
filled as bellow:
erase size      blocks  correct blocks
00004000        01      01
00002000        01      02
00008000        00      01
00010000        0f      0f
'blocks' is actual numblocks field value while 'correct blocks' is expected
value. flinfo gives correct results (it is AM29LV800BB). It seems to be
related to cfi_mtd_set_erasesize function, but I'm too tired to debug it
further. Just reporting in case anyone has time to look at it. Otherwise
I'll do so at Friday.

Best regards,
	ladis


More information about the U-Boot mailing list