[coreboot-gerrit] Patch merged into coreboot/master: spi: Get rid of flash_programmer_probe in spi_slave structure

gerrit at coreboot.org gerrit at coreboot.org
Tue Nov 22 17:38:06 CET 2016


the following patch was just integrated into master:
commit d2fb6ae813880b8fd1b3983e0e61c7e51fb9b20b
Author: Furquan Shaikh <furquan at chromium.org>
Date:   Thu Nov 17 20:38:07 2016 -0800

    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 at chromium.org>
    Reviewed-on: https://review.coreboot.org/17465
    Tested-by: build bot (Jenkins)
    Reviewed-by: Aaron Durbin <adurbin at chromium.org>


See https://review.coreboot.org/17465 for details.

-gerrit



More information about the coreboot-gerrit mailing list