[coreboot-gerrit] Patch merged into coreboot/master: dda0e66 Exynos5420: Fix up the i2c driver for use with the TPM driver

gerrit at coreboot.org gerrit at coreboot.org
Wed Sep 10 19:39:48 CEST 2014


the following patch was just integrated into master:
commit dda0e66d9c0d834acb5cda6dc85c273eeaecd48a
Author: Gabe Black <gabeblack at google.com>
Date:   Wed Nov 6 11:21:48 2013 -0800

    Exynos5420: Fix up the i2c driver for use with the TPM driver
    
    The TPM driver expects to call i2c_read with zero address length. The i2c
    driver wasn't prepared to handle that particularly in the case of reads
    because it expected to send an address before switching over to read mode for
    the data. This change also fixes up the read and write calls to consistently
    be read32 and write32 instead of readl and writel.
    
    Change-Id: I33dee89b83d4cd9d3e1b90e84b40e761bb8d4de4
    Signed-off-by: Gabe Black <gabeblack at google.com>
    Reviewed-on: https://chromium-review.googlesource.com/175966
    Reviewed-by: Stefan Reinauer <reinauer at chromium.org>
    Tested-by: Stefan Reinauer <reinauer at chromium.org>
    Commit-Queue: Gabe Black <gabeblack at chromium.org>
    (cherry picked from commit cf686269424ea938d6f953d0f76103182eb71297)
    Signed-off-by: Isaac Christensen <isaac.christensen at se-eng.com>
    Reviewed-on: http://review.coreboot.org/6857
    Tested-by: build bot (Jenkins)
    Reviewed-by: Ronald G. Minnich <rminnich at gmail.com>


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

-gerrit



More information about the coreboot-gerrit mailing list