adrian
65fe494e0a
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
adrian
f4f409cce3
Add support for the m25p64; lifted straight from Linux.
...
This flash chip is found on the Ubiquiti LS-SR71 board.
I've successfully tested reading; I've not tried writing to it yet.
2011-01-30 12:14:06 +00:00
adrian
1e41807d30
Add s25sl064a, an 8mb SPI flash part.
2010-08-17 16:27:13 +00:00
adrian
4dc0d673ed
Fix naming to be consistent.
2010-07-19 21:50:43 +00:00
adrian
ed5801ffc7
Extend the mx25l erase function to support different erase commands.
2010-07-19 21:46:40 +00:00
adrian
18aed410d7
Extend the mx25l flash device support to include a set of per-device
...
flags.
Some of these parts will support 4K/32K block erases rather than
a sector erase. This includes (at least) the MX25L128.
2010-07-19 21:38:15 +00:00
adrian
b86c5f716a
Fix KASSERT() messages to reflect reality.
2010-07-16 04:26:37 +00:00
gonzo
79f6f583f5
- Code reorg: extract mx25l_read and mx25l_write methods
...
- Add entry for Spansion flash controller
Submitted by: Eric L. Chen <lihong@ieee.org>
2009-11-18 22:14:36 +00:00
gonzo
7f3b095543
- Add write support for mx25l flash chip
...
- Some minor style(9) fixes
2009-10-25 08:43:38 +00:00
gonzo
139c4bb3e7
- Add support for MX25Lxxx SPI flash (readonly atm)
2009-05-18 23:20:56 +00:00