[coreboot-gerrit] Patch merged into coreboot/master: drivers/i2c/tpm: Make driver safe for use in x86 pre-ram

gerrit at coreboot.org gerrit at coreboot.org
Tue Sep 6 22:51:30 CEST 2016


the following patch was just integrated into master:
commit 40ae1706a447ca81fed31287ec30f28823504c01
Author: Duncan Laurie <dlaurie at chromium.org>
Date:   Wed Aug 31 13:51:14 2016 -0700

    drivers/i2c/tpm: Make driver safe for use in x86 pre-ram
    
    Use CAR accessors where needed for accessing static data.
    In some cases this required some minor restructuring to pass
    in a variable instead of use a global one.
    
    For the tpm_vendor_init the structure no longer has useful
    defaults, which nobody was depending on anyway.  This now
    requires the caller to provide a non-zero address.
    
    Tested by enabling I2C TPM on reef and compiling successfully.
    
    Change-Id: I8e02fbcebf5fe10c4122632eda1c48b247478289
    Signed-off-by: Duncan Laurie <dlaurie at chromium.org>
    Reviewed-on: https://review.coreboot.org/16394
    Tested-by: build bot (Jenkins)
    Reviewed-by: Furquan Shaikh <furquan at google.com>
    Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>


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

-gerrit



More information about the coreboot-gerrit mailing list