[coreboot-gerrit] Patch merged into coreboot/master: drivers/spi: ensure SPI flash is boot device for coreboot tables

gerrit at coreboot.org gerrit at coreboot.org
Fri Aug 19 18:14:23 CEST 2016


the following patch was just integrated into master:
commit c0a823c737d984cd212b2018a71b37fbf9146111
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Thu Aug 11 14:51:38 2016 -0500

    drivers/spi: ensure SPI flash is boot device for coreboot tables
    
    The spi_flash_probe() routine was setting a global varible
    unconditonally regardless if the probe was for the boot device
    or even if the boot devcie was flash. Moreover, there's no need
    to report the SPI information if the boot device isn't even SPI.
    
    Lastly, it's possible that the boot device is a SPI flash, but
    the platform may never probe (selecting SPI_FLASH) for the
    actual device connected. In that situation don't fill anything
    in as no correct information is known.
    
    BUG=chrome-os-partner:56151
    
    Change-Id: Ib0eba601df4d77bede313c358c92b0536355bbd0
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
    Reviewed-on: https://review.coreboot.org/16197
    Tested-by: build bot (Jenkins)
    Reviewed-by: Furquan Shaikh <furquan at google.com>


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

-gerrit



More information about the coreboot-gerrit mailing list