All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] CFI numblocks incorrect?
@ 2010-01-27 23:13 Ladislav Michl
  2010-01-28 11:27 ` [U-Boot] [PATCH] CFI: fix eraseregions numblocks Ladislav Michl
  0 siblings, 1 reply; 3+ messages in thread
From: Ladislav Michl @ 2010-01-27 23:13 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-02  8:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-27 23:13 [U-Boot] CFI numblocks incorrect? Ladislav Michl
2010-01-28 11:27 ` [U-Boot] [PATCH] CFI: fix eraseregions numblocks Ladislav Michl
2010-02-02  8:12   ` Stefan Roese

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.