summaryrefslogtreecommitdiffstats
path: root/src/drivers/nvs
Commit message (Collapse)AuthorAgeFilesLines
* [legal] Relicense files under GPL2_OR_LATER_OR_UBDLMichael Brown2015-03-024-4/+20
| | | | | | | Relicense files for which I am the sole author (as identified by util/relicense.pl). Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [legal] Update FSF mailing address in GPL licence textsMichael Brown2012-07-204-4/+8
| | | | | Suggested-by: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [pci] Auto-resize VPD fields used for non-volatile storageMichael Brown2011-01-191-32/+142
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [nvs] Allow for non-volatile storage devices without block boundariesMichael Brown2011-01-112-17/+32
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [pci] Add a mechanism for using a PCI VPD field as an NVS deviceMichael Brown2010-11-251-0/+124
| | | | Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [build] Rename gPXE to iPXEMichael Brown2010-04-203-3/+3
| | | | | | | | | | | Access to the gpxe.org and etherboot.org domains and associated resources has been revoked by the registrant of the domain. Work around this problem by renaming project from gPXE to iPXE, and updating URLs to match. Also update README, LOG and COPYRIGHTS to remove obsolete information. Signed-off-by: Michael Brown <mcb30@ipxe.org>
* [spi] Add address-length autodetection to the SPI bit-bashing codeMichael Brown2009-05-281-6/+47
| | | | | | | | | | | Several SPI chips will respond to an SPI read command with a dummy zero bit immediately prior to the first real data bit. This can be used to autodetect the address length, provided that the command length and data length are already known, and that the MISO data line is tied high. Tested-by: Thomas Miletich <thomas.miletich@gmail.com> Debugged-by: Thomas Miletich <thomas.miletich@gmail.com>
* [legal] Add a selection of FILE_LICENCE declarationsMichael Brown2009-05-183-0/+6
| | | | | Add FILE_LICENCE declarations to almost all files that make up the various standard builds of gPXE.
* Modify gPXE core and drivers to work with the new timer subsystemAlexey Zaytsev2008-03-022-2/+2
| | | | Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
* Fix compiler warnings that appear only on OpenBSD.Michael Brown2007-12-062-4/+4
|
* Various warnings fixups for OpenBSD with gcc-3.3.5.Michael Brown2007-12-071-1/+1
|
* Fix prototype mismatch.Michael Brown2007-12-071-2/+2
|
* Return -EIO when verification fails, instead of -EINVAL.Michael Brown2006-12-201-1/+1
|
* Added write support for three-wire devices (e.g. the RTL8139 EEPROM)Michael Brown2006-12-061-1/+41
|
* Verify data after writingMichael Brown2006-12-061-1/+35
|
* Added debug statementsMichael Brown2006-12-051-4/+20
|
* Added nvs_write(). This shares a lot of code in common with nvs_read();Michael Brown2006-12-041-0/+43
| | | | this can probably be optimised down quite a lot.
* Added the generic block-splitting code to nvs.cMichael Brown2006-12-041-1/+40
|
* Added generic SPI protocol handler with read and write support.Michael Brown2006-12-041-0/+122
|
* Abstracted out part of the concept of an SPI device to a generalised NVSMichael Brown2006-12-042-2/+34
| | | | | | | device. Separated the mechanisms of non-volatile storage access and non-volatile stored options.
* Changed length parameter in SPI methods to be a byte length, rather thanMichael Brown2006-12-041-4/+3Star
| | | | a word length.
* Generalised the SPI abstraction layer to also be able to handle interfacesMichael Brown2006-12-041-24/+15Star
| | | | | | that don't provide the full flexibility of a bit-bashing interface. Temporarily hacked rtl8139.c to use the new interface.
* Generalise three-wire interface to generic SPI interface.Michael Brown2006-06-141-30/+19Star
| | | | | Update rtl8139 driver to instantiate an SPI interface with a three-wire device attached.
* Added abstraction layer for a three-wire serial device (e.g. the EEPROMMichael Brown2006-05-261-0/+68
used on RTL8139 cards).