From: Felix Radensky <felix@embedded-sol.com>
To: linux-mtd@lists.infradead.org
Subject: Erasing 4GB NAND flash
Date: Wed, 23 Sep 2009 13:39:15 +0300 [thread overview]
Message-ID: <4AB9FAD3.4020001@embedded-sol.com> (raw)
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.
reply other threads:[~2009-09-23 10:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AB9FAD3.4020001@embedded-sol.com \
--to=felix@embedded-sol.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.