* Erasing 4GB NAND flash
@ 2009-09-23 10:39 Felix Radensky
0 siblings, 0 replies; only message in thread
From: Felix Radensky @ 2009-09-23 10:39 UTC (permalink / raw)
To: linux-mtd
Hi,
I think there's a problem with the definition of struct mtd_info_user
in include/linux/mtd/mtd-abi.h. The "size" field should be defined as
__u64, to match the corresponding field in struct mtd_info. Otherwise
MEMGETINFO ioctl returns invalid flash size for >= 4GiB devices.
Also, looks like flash_eraseall (and maybe others) should be modified
to use MEMERASE64 and MEMWRITEOOB64. Is that correct ?
Felix.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-23 10:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-23 10:39 Erasing 4GB NAND flash Felix Radensky
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.