the following patch was just integrated into master:
commit 24de342438208d9b843e87627f15b9a272285b0f
Author: Duncan Laurie <dlaurie(a)chromium.org>
Date: Mon Sep 19 17:24:55 2016 -0700
mainboard/google/reef: Enable cr50 TPM interrupt
Enable the cr50 TPM and interrupt as GPE0_DW1_28 for use during
verstage. The interrupt is left in APIC mode as the GPE is
still latched when the GPIO is pulled low.
BUG=chrome-os-partner:53336
Change-Id: I28ade5ee3bf08fa17d8cabf16287319480f03921
Signed-off-by: Duncan Laurie <dlaurie(a)chromium.org>
See https://review.coreboot.org/16661 for details.
-gerrit
the following patch was just integrated into master:
commit 64df72e8e2d1c086705325533767ca5e201e842a
Author: Duncan Laurie <dlaurie(a)chromium.org>
Date: Wed Sep 14 16:27:04 2016 -0700
drivers/i2c/tpm: Move common variables to header
Move the common enums and variables to tpm.h so it can be
used by multiple drivers.
BUG=chrome-os-partner:53336
Change-Id: I0febe98620d0ddd4ec6b46cd3073e48c12926266
Signed-off-by: Duncan Laurie <dlaurie(a)chromium.org>
See https://review.coreboot.org/16650 for details.
-gerrit
the following patch was just integrated into master:
commit c565f9910707b91fcc7a27bab28806e558bb474d
Author: Duncan Laurie <dlaurie(a)chromium.org>
Date: Mon Sep 19 16:04:39 2016 -0700
drivers/i2c/tpm: Split cr50 driver from main driver
Originally I thought it would be cleaner to keep this code in one
place, but as things continue to diverge it ends up being easier
to split this into its own driver. This way the different drivers
in coreboot, depthcharge, and the kernel, can all be standalone
and if one is changed it is easier to modify the others.
This change splits out the cr50 driver and brings along the basic
elements from the existing driver with no real change in
functionality. The following commits will modify the code to make
it consistent so it can all be shared with depthcharge and the
linux kernel drivers.
BUG=chrome-os-partner:53336
Change-Id: Ia9a65e72519b95f5739e3b7a16b9c2431d64ebe2
Signed-off-by: Duncan Laurie <dlaurie(a)chromium.org>
See https://review.coreboot.org/16651 for details.
-gerrit
the following patch was just integrated into master:
commit 97a2a1ece152b6d40a524361721405b77c37959d
Author: Duncan Laurie <dlaurie(a)chromium.org>
Date: Mon Sep 19 16:37:46 2016 -0700
drivers/i2c/tpm/cr50: Reduce max buffer size
Reduce the static buffer size from the generic default 1260
down to 64 to match the max FIFO size for the cr50 hardware
and reduce the footprint of the driver.
BUG=chrome-os-partner:53336
Change-Id: Ia88facca607f3fd5072d0d986323fde075f15855
Signed-off-by: Duncan Laurie <dlaurie(a)chromium.org>
See https://review.coreboot.org/16652 for details.
-gerrit
the following patch was just integrated into master:
commit 93c778688f0bf2f90334505a3082a2cd4ce1623a
Author: Duncan Laurie <dlaurie(a)chromium.org>
Date: Mon Sep 19 16:49:23 2016 -0700
drivers/i2c/tpm/cr50: Clean up timeouts
Use two different timeouts in the driver. The 2ms timeout is needed
to be safe for cr50 to cover the extended timeout that is seen with
some commands. The other at 2 seconds which is a TPM spec timeout.
BUG=chrome-os-partner:53336
Change-Id: I77fdd7ea646b8b2fef449f07e3a08bcce174fe8b
Signed-off-by: Duncan Laurie <dlaurie(a)chromium.org>
See https://review.coreboot.org/16653 for details.
-gerrit
the following patch was just integrated into master:
commit 6f5ceb26b9b3e1455ebbd6192e1d2c832bddc77e
Author: Duncan Laurie <dlaurie(a)chromium.org>
Date: Mon Sep 19 17:05:45 2016 -0700
drivers/i2c/tpm/cr50: Rename i2c read/write functions
Rename the low-level functions from iic_tpm_read/write to
cr50_i2c_read/write to better match the driver name, and pass in the
tpm_chip structure to the low-level read/write functions as it will
be needed in future changes.
BUG=chrome-os-partner:53336
Change-Id: Ib4a68ce1b3a83ea7c4bcefb9c6f002f6dd4aac1f
Signed-off-by: Duncan Laurie <dlaurie(a)chromium.org>
See https://review.coreboot.org/16654 for details.
-gerrit
the following patch was just integrated into master:
commit 557e1a729a9ca89e814220b6203b7ac0dc446913
Author: Duncan Laurie <dlaurie(a)chromium.org>
Date: Mon Sep 19 17:09:01 2016 -0700
drivers/i2c/tpm/cr50: Clean up locality functions
Clean up the mask and timeout handling in the locality functions
that were copied from the original driver.
BUG=chrome-os-partner:53336
Change-Id: Ifa1445224b475aec38c2ac56e15cb7ba7fcd21ea
Signed-off-by: Duncan Laurie <dlaurie(a)chromium.org>
See https://review.coreboot.org/16655 for details.
-gerrit