summaryrefslogtreecommitdiff
path: root/src/ao_flash.c
Commit message (Collapse)AuthorAge
* altos: Speed up at45 and 25lc erase speedsKeith Packard2011-01-07
| | | | | | No need to read the block to be erased before erasing it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Move common storage code to ao_storage.c. Add M25P80 driverKeith Packard2011-01-06
| | | | | | | This reworks the storage API so that you erase blocks and then store data to them so that the M25P80 driver will work. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Require manual flight erasing.Keith Packard2011-01-06
| | | | | | This supports flash chips that require larger erase blocks. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Simplify storage APIKeith Packard2011-01-06
| | | | | | | This removes the config-specific APIs and exposes global variables for the available storage space, block size and config storage location. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Split out SPI driver.Keith Packard2010-12-22
| | | | | | | | For TM with the companion connector, the SPI bus will be shared among multiple devices. Split out the existing SPI code into a common driver, with the SPI bus protected by a mutex. Signed-off-by: Keith Packard <keithp@keithp.com>
* Remove flash debugging printfsKeith Packard2010-01-09
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Don't set ao_flash_setup_done until we're actually done.Keith Packard2010-01-09
| | | | | | | Because we're accessing this variable outside of the mutex, we need to make sure it isn't set until the data it covers has been initialized. Signed-off-by: Keith Packard <keithp@keithp.com>
* Dump config block from read/write config and flash_status commandsKeith Packard2010-01-09
|
* Dump more flash parameters for the flash_status commandKeith Packard2010-01-09
|
* Add 'f' command to display flash status register contentsKeith Packard2010-01-09
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Add AT45DBxx1D driverKeith Packard2010-01-09
This driver supports the AT45DB011D through AT45DB321D DataFlash parts as found in TeleMetrum v0.2 Signed-off-by: Keith Packard <keithp@keithp.com>