[coreboot-gerrit] Patch merged into coreboot/master: a555f74 fmap: allocate memory as much as discovered fmap size

gerrit at coreboot.org gerrit at coreboot.org
Fri Apr 10 20:51:34 CEST 2015


the following patch was just integrated into master:
commit a555f749cbff688854b459336d4a112aa7e292d6
Author: Daisuke Nojiri <dnojiri at chromium.org>
Date:   Mon Nov 24 13:01:11 2014 -0800

    fmap: allocate memory as much as discovered fmap size
    
    fmap_find used to read 4096 bytes from the fmap offset blindly. instead, we read
    the fmap header first to calcurate the size of the fmap. Then, we read flash
    again exactly as much as the discovered fmap.
    
    BUG=none
    BRANCH=ToT
    TEST=Booted Storm and Peppy. Built all current boards.
    
    Change-Id: Iaa50c1bc3401c77b433af11406d4b9d2e4e722e8
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Original-Commit-Id: 755ff66ab0a4d05e6d5410c11a6badb9fcb77a0d
    Original-Signed-off-by: Daisuke Nojiri <dnojiri at chromium.org>
    Original-Change-Id: Ie5058d181e6565acb70bf108464682dd0e6c1f64
    Original-Reviewed-on: https://chromium-review.googlesource.com/231685
    Original-Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    Original-Reviewed-by: Julius Werner <jwerner at chromium.org>
    Reviewed-on: http://review.coreboot.org/9556
    Tested-by: build bot (Jenkins)
    Reviewed-by: Stefan Reinauer <stefan.reinauer at coreboot.org>


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

-gerrit



More information about the coreboot-gerrit mailing list