[coreboot-gerrit] Patch merged into coreboot/master: cbfs_spi: Initialize spi_flash when initializing cbfs_cache

gerrit at coreboot.org gerrit at coreboot.org
Thu Dec 3 14:23:13 CET 2015


the following patch was just integrated into master:
commit a8aef3acbc0aea2dd594f7133a7024f3babf764a
Author: Mary Ruthven <mruthven at chromium.org>
Date:   Tue Nov 24 09:43:27 2015 -0800

    cbfs_spi: Initialize spi_flash when initializing cbfs_cache
    
    Most devices do not use SPI before they initialize CBMEM. This change
    initializes spi_flash in the CBMEM_INIT_HOOK to initialize the postram
    cbfs cache so it is not overwritten when boot_device_init is called
    later.
    
    BUG=chromium:210230
    BRANCH=none
    TEST=confirm that the first cbfs access can occur before RAM initialized
    and after on panther and jerry.
    
    Change-Id: If3b6efc04082190e81c3773c0d3ce116bb12421f
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Original-Commit-Id: 0ab242786a16eba7fb423694f6b266e27d7660ec
    Original-Change-Id: I5f884b473e51e6813fdd726bba06b56baf3841b0
    Original-Signed-off-by: Mary Ruthven <mruthven at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/314311
    Original-Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    Reviewed-on: https://review.coreboot.org/12601
    Tested-by: build bot (Jenkins)
    Reviewed-by: Stefan Reinauer <stefan.reinauer at coreboot.org>


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

-gerrit



More information about the coreboot-gerrit mailing list