summaryrefslogtreecommitdiffstats
path: root/sys/dev/flash
Commit message (Collapse)AuthorAgeFilesLines
* Modify the spi flash driver to allow smaller read IO sizes, but enforceadrian2011-02-161-17/+18
| | | | | | | | | | | | 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.
* Add support for the m25p64; lifted straight from Linux.adrian2011-01-301-0/+1
| | | | | This flash chip is found on the Ubiquiti LS-SR71 board. I've successfully tested reading; I've not tried writing to it yet.
* Add s25sl064a, an 8mb SPI flash part.adrian2010-08-171-0/+1
|
* Fix naming to be consistent.adrian2010-07-191-2/+2
|
* Extend the mx25l erase function to support different erase commands.adrian2010-07-191-3/+3
|
* Extend the mx25l flash device support to include a set of per-deviceadrian2010-07-191-4/+11
| | | | | | | flags. Some of these parts will support 4K/32K block erases rather than a sector erase. This includes (at least) the MX25L128.
* Include 4k/32k erase commands.adrian2010-07-191-0/+4
| | | | | | | These were sourced from the MX25L128 datasheet and match up with what is used in Linux mtd/devices/m25p80.c . Add a FreeBSD keyword whilst I'm here.
* Fix KASSERT() messages to reflect reality.adrian2010-07-161-2/+2
|
* - Code reorg: extract mx25l_read and mx25l_write methodsgonzo2009-11-181-81/+146
| | | | | - Add entry for Spansion flash controller Submitted by: Eric L. Chen <lihong@ieee.org>
* - Add write support for mx25l flash chipgonzo2009-10-252-1/+104
| | | | - Some minor style(9) fixes
* o Move the driveid.h fileimp2009-06-141-259/+0
| | | | | | | o lots of tweaks to header paths. o comment out SMP for the moment # we now make it through the .c make depend, the .s needs more work.
* Part of the cf driver missed.imp2009-06-141-0/+259
|
* Move dev/flash/ cf driver into octeon dir where it belongs.imp2009-06-142-654/+0
|
* Merge in Cavium's CF driver. This too is in the wrong place and willimp2009-06-142-0/+654
| | | | be moved.
* Merge from HEADgonzo2009-05-261-1/+0
|\
| * - Remove nonexistent header file from includes listgonzo2009-05-131-1/+0
| |
* | - Add support for MX25Lxxx SPI flash (readonly atm)gonzo2009-05-182-0/+369
|/
* Rename the kthread_xxx (e.g. kthread_create()) callsjulian2007-10-201-1/+1
| | | | | | | | | | | to kproc_xxx as they actually make whole processes. Thos makes way for us to add REAL kthread_create() and friends that actually make theads. it turns out that most of these calls actually end up being moved back to the thread version when it's added. but we need to make this cosmetic change first. I'd LOVE to do this rename in 7.0 so that we can eventually MFC the new kthread_xxx() calls.
* MFp4:imp2006-11-291-0/+284
Preliminary support for Atmel AT45D series of DataFlash on the SPI bus (ok, not really a hardware bus, but a logical connection). This works only for the 8MB version of the part due to hard coding. Both read and write are supported.
OpenPOWER on IntegriCloud