diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-01-18 17:45:32 +0100 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2014-01-23 20:42:08 +0100 |
commit | e23bd0e3c4e4ec8fddf8b2bc6aa6fa398781fcd1 (patch) | |
tree | f07861a6b3871c52d811488fb80e7e919cec239c /src/include/spi-generic.h | |
parent | e33d6cac96a3cc0fce313a6a19d20cb2561d057f (diff) |
SPI: Add API for programmer-specific flashing.
Change-Id: I7a2f5b9ae74458b5ed6271b1c27842c61546dcd2
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/4712
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/include/spi-generic.h')
-rw-r--r-- | src/include/spi-generic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/spi-generic.h b/src/include/spi-generic.h index d252c32ab0..6cdb87a7e7 100644 --- a/src/include/spi-generic.h +++ b/src/include/spi-generic.h @@ -64,6 +64,8 @@ struct spi_slave { unsigned int bus; unsigned int cs; unsigned int rw; + int force_programmer_specific; + struct spi_flash * (*programmer_specific_probe) (struct spi_slave *spi); }; /*----------------------------------------------------------------------- |