[coreboot-gerrit] Patch merged into coreboot/master: tpm2: refactor session header marshalling

gerrit at coreboot.org gerrit at coreboot.org
Wed Jul 13 23:59:10 CEST 2016


the following patch was just integrated into master:
commit ebba4d7c2f3e9162859d5a95c8b9597a218698d7
Author: Vadim Bendebury <vbendeb at chromium.org>
Date:   Thu Jul 7 11:04:06 2016 -0700

    tpm2: refactor session header marshalling
    
    For coreboot TPM2 the use case session header is always the minimal
    possible size, the only difference is that some commands require one
    and some require two handles.
    
    Refactor common session header marshalling code into a separate
    function.  This will be useful when more commands marshalling code is
    added.
    
    BRANCH=none
    BUG=chrome-os-partner:50645
    TEST=flashed the TPM and rebooted the device a few times, it
         successfully loaded chrome os on every attempt.
    
    Change-Id: I9b1697c44f67aab32b9cd556b559a55d5050be06
    Signed-off-by: Martin Roth <martinroth at chromium.org>
    Original-Commit-Id: a97a7fa16ceeb484e90e2e1f0573e58a468350b2
    Original-Change-Id: I86e6426be5200f28ebb2174b418254018e81da8e
    Original-Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/357972
    Original-Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    Reviewed-on: https://review.coreboot.org/15633
    Tested-by: build bot (Jenkins)
    Reviewed-by: Philipp Deppenwiese <zaolin.daisuki at googlemail.com>


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

-gerrit



More information about the coreboot-gerrit mailing list