From: yogesh shivabasappa <yogesh@ureach.com>
To: linux-mtd@lists.infradead.org
Subject: mtd erase
Date: Sun, 20 Nov 2005 23:59:56 -0500 [thread overview]
Message-ID: <200511210459.XAA17689@www23.ureach.com> (raw)
Hi,
Im using intelP30 nor flash(CFI) in our custom board , im
registering the flash as mtd character device. We dont have
partitions on it , Now i'm writting a util program to perform
read,write and erase.
beform performing ioctl ERASE we need to call ioctl MEMGETINFO
or MEMGETREGIONINFO. Here im confusing between these two ioctls.
my understaing is, for region erase we need to call
MEMGETREIONINFO and MEMGETINFO is for non-region-erase .
can anyone tell me how these two ioctls are differ and which one
can be used for perfect erase.
I will appreciate any tips
Rgds,
Yogesh Shivabasappa
________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
next reply other threads:[~2005-11-21 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-21 4:59 yogesh shivabasappa [this message]
2005-11-21 6:38 ` mtd erase Thomas Gleixner
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=200511210459.XAA17689@www23.ureach.com \
--to=yogesh@ureach.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox