summaryrefslogtreecommitdiff
path: root/include/spi_flash.h
Commit message (Collapse)AuthorAgeLines
* sf: add struct spi_flash.sector_size parameterRichard Retanubun2011-04-12-0/+2
| | | | | | | | | | | | | | | This patch adds a new member to struct spi_flash (u16 sector_size) and updates the spi flash drivers to start populating it. This parameter can be used by spi flash commands that need to round up units of operation to the flash's sector_size. Having this number in one place also allows duplicated code to be further collapsed into one common location (such as erase parameter and the detected message). Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* sf: punt unused spi_flash_region structMike Frysinger2011-04-11-5/+0
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* spi_flash.h: pull in linux/types.h for u## typesMike Frysinger2009-11-24-0/+1
|
* SPI Flash subsystemHaavard Skinnemoen2008-06-03-0/+70
This adds a new SPI flash subsystem. Currently, only AT45 DataFlash in non-power-of-two mode is supported, but some preliminary support for other flash types is in place as well. Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>