[coreboot-gerrit] Patch merged into coreboot/master: soc/intel/common/nvm: Allow overriding to_flash_offset() function

gerrit at coreboot.org gerrit at coreboot.org
Fri Apr 8 18:11:01 CEST 2016


the following patch was just integrated into master:
commit 922064162bb4695a276bd46ba0a928e94825ac8b
Author: Alexandru Gagniuc <alexandrux.gagniuc at intel.com>
Date:   Thu Mar 3 10:58:30 2016 -0800

    soc/intel/common/nvm: Allow overriding to_flash_offset() function
    
    On apollolake, the flash is memory-mapped differently, and the default
    MMIO to flash calculation does not produce correct results. While the
    long-term solution is to rewrite the NVM functionality to keep the
    flash offset as part of its context, as a temporary measure, allow
    overriding the to_flash_offset() function by declaring it weak.
    
    Change-Id: Ic54baeba2441a08cfe1a47e235747797f6efb59b
    Signed-off-by: Alexandru Gagniuc <alexandrux.gagniuc at intel.com>
    Signed-off-by: Andrey Petrov <andrey.petrov at intel.com>
    Reviewed-on: https://review.coreboot.org/14247
    Tested-by: build bot (Jenkins)
    Reviewed-by: Aaron Durbin <adurbin at chromium.org>


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

-gerrit



More information about the coreboot-gerrit mailing list