public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* mtd erase
@ 2005-11-21  4:59 yogesh shivabasappa
  2005-11-21  6:38 ` Thomas Gleixner
  0 siblings, 1 reply; 2+ messages in thread
From: yogesh shivabasappa @ 2005-11-21  4:59 UTC (permalink / raw)
  To: linux-mtd

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

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

end of thread, other threads:[~2005-11-21  6:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21  4:59 mtd erase yogesh shivabasappa
2005-11-21  6:38 ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox