[coreboot-gerrit] Patch merged into coreboot/master: 8e64388 drivers/spi: Prepare Spansion driver for use in CBFS wrapper

gerrit at coreboot.org gerrit at coreboot.org
Tue Dec 30 19:30:12 CET 2014


the following patch was just integrated into master:
commit 8e64388210352dd1a3c594d3de29208fd1010d8d
Author: Vadim Bendebury <vbendeb at chromium.org>
Date:   Thu May 1 19:30:46 2014 -0700

    drivers/spi: Prepare Spansion driver for use in CBFS wrapper
    
    Since the same driver is going to be used at all coreboot stages, it
    can not use malloc() anymore. Replace it with static allocation of the
    driver container structure.
    
    The read interface is changed to spi_flash_cmd_read_slow(), because of
    the problems with spi_flash_cmd_read_fast() implementation. In fact
    there is no performance difference in the way the two interface
    functions are implemented.
    
    BUG=chrome-os-partner:27784
    TEST=manual
      . with all patches applied coreboot proceeds to attempting to load
        the payload.
    
    Original-Change-Id: I1c7beedce7747bc89ab865fd844b568ad50d2dae
    Original-Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/197931
    Original-Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    Original-Reviewed-by: David Hendricks <dhendrix at chromium.org>
    (cherry picked from commit 57ee2fd875c689706c70338e073acefb806787e7)
    Signed-off-by: Marc Jones <marc.jones at se-eng.com>
    
    Change-Id: I9d9e7e343148519580ed4986800dc6c6b9a5f5d2
    Reviewed-on: http://review.coreboot.org/7933
    Tested-by: build bot (Jenkins)
    Reviewed-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>


See http://review.coreboot.org/7933 for details.

-gerrit



More information about the coreboot-gerrit mailing list