freebsd-dev/sys/dev/flash
Adrian Chadd 917721a495 Modify the spi flash driver to allow smaller read IO sizes, but enforce
the larger, aligned write+erase sizes the driver currently implements.

This preserves write behaviour but makes the flash driver usable for things
like a read-only FFS or a geom_uzip/geom_compress .

Note that since GEOM will now return the sector size as being smaller,
writes of sector size/alignment will now fail with an EIO. Code which
writes to the flash device will have to be (for now) manually taught
about the flash write blocksize.
2011-02-16 20:07:44 +00:00
..
at45d.c - Remove nonexistent header file from includes list 2009-05-13 18:31:28 +00:00
mx25l.c Modify the spi flash driver to allow smaller read IO sizes, but enforce 2011-02-16 20:07:44 +00:00
mx25lreg.h Include 4k/32k erase commands. 2010-07-19 15:05:35 +00:00