[coreboot-gerrit] Patch merged into coreboot/master: vboot: TPM2 - report attempts to re-create NVRAM spaces

gerrit at coreboot.org gerrit at coreboot.org
Wed Nov 16 02:16:03 CET 2016


the following patch was just integrated into master:
commit af8ae93172bd793787dc3a9b81695905c1899d1f
Author: Vadim Bendebury <vbendeb at chromium.org>
Date:   Fri Nov 11 14:15:31 2016 -0800

    vboot: TPM2 - report attempts to re-create NVRAM spaces
    
    Currently the tlcl_define_space() function returns the same error
    value for any non-zero TPM response code. The thing is that the caller
    might want to allow attempts to re-create existing NVRAM spaces. This
    patch adds a new API return value to indicate this condition and uses
    it as appropriate.
    
    BRANCH=none
    BUG=chrome-os-partner:59654
    TEST=for test purposes modified the code not to create the firmware
         space, wiped out the TPM NVRAM and booted the device. Observed it
         create kernel and MRC index spaces on the first boot and then
         reporting return code 0x14c for already existing spaces on the
         following restarts.
    
    Change-Id: Ic183eb45e73edfbccf11cc19fd2f64f64274bfb2
    Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
    Reviewed-on: https://review.coreboot.org/17422
    Tested-by: build bot (Jenkins)
    Reviewed-by: Aaron Durbin <adurbin at chromium.org>


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

-gerrit



More information about the coreboot-gerrit mailing list