summaryrefslogtreecommitdiff
path: root/src/drivers/pc80
diff options
context:
space:
mode:
authorSubrata <subrata.banik@intel.com>2015-05-14 14:38:07 +0530
committerPatrick Georgi <pgeorgi@google.com>2015-05-29 19:19:28 +0200
commit41b08d99441fb8cf9e5f69eec0209c3495a40ec9 (patch)
tree32cd67a37de46af853fc9b0a35abfae8b2406434 /src/drivers/pc80
parent1ec23c9b52ed95bfcc71ed0637cca1c302e7a815 (diff)
downloadcoreboot-41b08d99441fb8cf9e5f69eec0209c3495a40ec9.tar.xz
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> Reviewed-on: http://review.coreboot.org/10303 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Philipp Deppenwiese <zaolin@das-labor.org>
Diffstat (limited to 'src/drivers/pc80')
-rw-r--r--src/drivers/pc80/tpm/tpm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/pc80/tpm/tpm.c b/src/drivers/pc80/tpm/tpm.c
index 12eba2828f..7fa9b58299 100644
--- a/src/drivers/pc80/tpm/tpm.c
+++ b/src/drivers/pc80/tpm/tpm.c
@@ -403,6 +403,7 @@ static u32 tis_probe(void)
break;
}
j++;
+ dev = &vendor_names[i].dev_names[j];
}
break;
}