u-boot-brain/drivers/mtd/spi
Richard Retanubun 4e6a515899 sf: add struct spi_flash.sector_size parameter
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>
2011-04-12 02:15:37 -04:00
..
atmel.c sf: add struct spi_flash.sector_size parameter 2011-04-12 02:15:37 -04:00
eeprom_m95xxx.c drivers/mtd/spi/eeprom_m95xxx.c: add missing error checking 2010-04-09 23:05:54 +02:00
eon.c sf: add struct spi_flash.sector_size parameter 2011-04-12 02:15:37 -04:00
macronix.c sf: add struct spi_flash.sector_size parameter 2011-04-12 02:15:37 -04:00
Makefile sf: new driver for EON devices 2010-12-17 08:53:55 -05:00
ramtron.c sf: add struct spi_flash.sector_size parameter 2011-04-12 02:15:37 -04:00
spansion.c sf: add struct spi_flash.sector_size parameter 2011-04-12 02:15:37 -04:00
spi_flash_internal.h sf: add struct spi_flash.sector_size parameter 2011-04-12 02:15:37 -04:00
spi_flash.c sf: add struct spi_flash.sector_size parameter 2011-04-12 02:15:37 -04:00
sst.c sf: add struct spi_flash.sector_size parameter 2011-04-12 02:15:37 -04:00
stmicro.c sf: add struct spi_flash.sector_size parameter 2011-04-12 02:15:37 -04:00
winbond.c sf: add struct spi_flash.sector_size parameter 2011-04-12 02:15:37 -04:00