[coreboot-gerrit] Patch merged into coreboot/master: cbfstool: provide metadata size to cbfs_locate_entry()

gerrit at coreboot.org gerrit at coreboot.org
Wed Sep 16 14:11:10 CET 2015


the following patch was just integrated into master:
commit d7339411a983e562cddeba676384ad836bb56ec9
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Tue Sep 15 12:50:14 2015 -0500

    cbfstool: provide metadata size to cbfs_locate_entry()
    
    The cbfs_locate_entry() function had a hack in there which
    assumed a struct cbfs_stage data was being added in addition
    to the struct cbfs_file and name. Move that logic out to the
    callers while still maintaining the logic for consistency.
    The only impacted commands cbfs_add and cbfs_locate, but
    those are using the default 'always adding struct cbfs_stage'
    in addition to cbfs_file + name. Eventually those should be
    removed when cbfs_locate is removed as cbfs_add has no smarts
    related to the cbfs file type provided.
    
    BUG=chrome-os-partner:44827
    BRANCH=None
    TEST=Built rambi.
    
    Change-Id: I2771116ea1ff439ea53b8886e1f33e0e637a79d4
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
    Reviewed-on: http://review.coreboot.org/11668
    Tested-by: build bot (Jenkins)
    Reviewed-by: Patrick Georgi <pgeorgi at google.com>


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

-gerrit



More information about the coreboot-gerrit mailing list