Patrick Georgi (pgeorgi@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10303
-gerrit
commit ea91cdec81b50f657ff660619593957c67db5828 Author: Subrata subrata.banik@intel.com Date: Thu May 14 14:38:07 2015 +0530
tpm: Fix multiple device support
Current TPM driver does not support multiple devices for a given vendor. As the device object never takes the 2nd ID in the list. This patch fixes the same.
BRANCH=None BUG=None TEST=Built for sklrvp and tested on RVP3.
Change-Id: I82c3267c6c74b22650fc53dc6abdc2eb3daa138e Signed-off-by: Patrick Georgi pgeorgi@chromium.org Original-Commit-Id: ff42613f11b4f1a79e907601f1ecb7b83a3aeaab Original-Change-Id: Ieb44735c37208bfe90a8e22e0348dd41c8c642d2 Original-Signed-off-by: Subrata subrata.banik@intel.com Original-Reviewed-on: https://chromium-review.googlesource.com/271727 Original-Reviewed-by: Duncan Laurie dlaurie@chromium.org Original-Commit-Queue: Naveenkrishna Ch naveenkrishna.ch@intel.com Original-Tested-by: Naveenkrishna Ch naveenkrishna.ch@intel.com Original-Commit-Queue: Pravin K Angolkar pravin.k.angolkar@intel.com Original-Tested-by: Pravin K Angolkar pravin.k.angolkar@intel.com --- src/drivers/pc80/tpm/tpm.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/drivers/pc80/tpm/tpm.c b/src/drivers/pc80/tpm/tpm.c index 1013c05..0ee3a90 100644 --- a/src/drivers/pc80/tpm/tpm.c +++ b/src/drivers/pc80/tpm/tpm.c @@ -404,6 +404,7 @@ static u32 tis_probe(void) break; } j++; + dev = &vendor_names[i].dev_names[j]; } break; }