Skip to contentSkip to conversation

erasesize

DISCUSSION Abraham vd Merwe 2 participants 2 messages Jun 5, 2001 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi!

What should I set erasesize to when the flash chips have multiple erase sizes (and therefor I use eraseregions to get erasesize info)? Is 0 acceptable or should I set it to something else - it doesn't really make sense to put any value in this after all...

Signature · 15 lines
Regards
 Abraham

Will Rogers never met you.

__________________________________________________________
 Abraham vd Merwe - 2d3D, Inc.

 Device Driver Development, Outsourcing, Embedded Systems

  Cell: +27 82 565 4451         Snailmail:
   Tel: +27 21 761 7549            Block C, Antree Park
   Fax: +27 21 761 7648            Doncaster Road
 Email: [email protected]         Kenilworth, 7700
  Http: http://www.2d3d.com        South Africa
#1 lore raw
Quoted 4 lines · [email protected] said:

What should I set erasesize to when the flash chips have multiple
erase sizes (and therefor I use eraseregions to get erasesize info)? Is 0 acceptable or should I set it to something else - it doesn't really make sense to put any value in this after all...

See the other Intel driver. Set the erase size to the 'major' erase size for the device, then fill in the appropriate structure to represent the other regions.

--
dwmw2