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>
This commit is contained in:
@ -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);
|
||||
};
|
||||
|
||||
/*-----------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user