summaryrefslogtreecommitdiffstats
path: root/sys/dev/cfi
Commit message (Collapse)AuthorAgeFilesLines
* Move from using devclass_find_free_unit(cfi_diskclass, 0) to -1, sinceimp2009-06-101-2/+1
| | | | they have the same basic behavior.
* choose the size of the last region for d_stripsize instead of the first;sam2009-03-101-3/+10
| | | | | | this fixes geom_redboot on boards that have multiple parts/regions as it uses the value to locate the FIS directory which is in the last erase region of flash
* Add cfid, a disk interface to CFI flash devices; this enables constructionsam2009-03-094-2/+329
| | | | | | of flash-based filesystems. Note this is not interlocked against the raw CFI device.
* fix whitespacesam2009-02-171-1/+1
|
* fix typosam2009-02-081-1/+1
| | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
* fix building w/o CFI_ARMEDANDDANGEROUSsam2009-02-071-4/+5
|
* expand CFI_ARMEDANDDANGEROUS to include writing the user segmentsam2009-02-071-3/+12
| | | | | of the PR; this register is actually write-once so deserves the safety-belt as much as the PLR
* Add support for frobbing Intel StrataFlash Protection Registers:sam2009-02-054-15/+211
| | | | | | | | | | | | | | o add CFI_SUPPORT_STRATAFLASH compile option to enable support o add new ioctls to get/set the factory and user/oem segments of the PR and to get/set Protection Lock Register that fuses the user segment o add #defines for bits in the status register o update cfi_wait_ready to take an offset so it can be used to wait for PR write completion and replace constants w/ symbolic names Note: writing the user segment isn't correct; committing now to get review. Sponsored by: Carlson Wireless Reviewed by: imp, Chris Anderson
* add Roel's copyright as he did the initial versionsam2009-02-031-0/+1
|
* honor any interface width (e.g. setup by the bus shim) and don't probe;sam2009-02-032-5/+89
| | | | this is needed for the moment to workaround bus shim issues
* reorg ioctl code to simplify adding new requestssam2009-02-031-16/+21
|
* Add a driver for flash memory that implements to the Common Flashmarcel2008-10-255-0/+973
Memory Interface (CFI). The flash memory can be read and written to through /dev/cfi# and an ioctl() exists so processes can read the query information. The driver supports the AMD and Intel command set, though only the AMD command has been tested. Obtained from: Juniper Networks, Inc.
OpenPOWER on IntegriCloud