coreboot-kgpe-d16/src/drivers/spi
Furquan Shaikh d2fb6ae813 spi: Get rid of flash_programmer_probe in spi_slave structure
flash_programmer_probe is a property of the spi flash driver and does
not belong in the spi_slave structure. Thus, make
spi_flash_programmer_probe a callback from the spi_flash_probe
function. Logic still remains the same as before (order matters):
1. Try spi_flash_programmer_probe without force option
2. Try generic flash probing
3. Try spi_flash_programmer_probe with force option

If none of the above steps work, fail probing. Flash controller is
expected to honor force option to decide whether to perform specialized
probing or to defer to generic probing.

BUG=None
BRANCH=None
TEST=Compiles successfully

Change-Id: I4163593eea034fa044ec2216e56d0ea3fbc86c7d
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/17465
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-11-22 17:37:57 +01:00
..
tpm Kconfig: Update default hex values to start with 0x 2016-10-02 19:08:15 +02:00
adesto.c spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
amic.c spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
atmel.c spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
boot_device_rw_nommap.c spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
cbfs_spi.c spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
eon.c spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
gigadevice.c spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
Kconfig spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
macronix.c spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
Makefile.inc drivers/spi: provide optional implementation of boot_device_rw() 2016-08-19 18:15:08 +02:00
spansion.c spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
spi_flash.c spi: Get rid of flash_programmer_probe in spi_slave structure 2016-11-22 17:37:57 +01:00
spi_flash_internal.h spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
spiconsole.c spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
sst.c spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
stmicro.c spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00
winbond.c spi: Clean up SPI flash driver interface 2016-11-22 17:32:09 +01:00