summaryrefslogtreecommitdiffstats
path: root/src/drivers/tpm
diff options
context:
space:
mode:
authorReka Norman <rekanorman@google.com>2022-08-29 09:00:27 +1000
committerSubrata Banik <subratabanik@google.com>2022-08-29 04:57:37 +0000
commit39564922a56feb18c85da8748bfb0f55b9fa1eeb (patch)
treec2d1a5ef1f8b814ea981fd86af164f7bae49e5d2 /src/drivers/tpm
parentfeab41b030890e1a11519cbdf603c43f2baafdaa (diff)
downloadcoreboot-39564922a56feb18c85da8748bfb0f55b9fa1eeb.tar.gz
coreboot-39564922a56feb18c85da8748bfb0f55b9fa1eeb.tar.bz2
coreboot-39564922a56feb18c85da8748bfb0f55b9fa1eeb.zip
drivers/i2c/tpm: Remove TI50_FIRMWARE_VERSION_NOT_SUPPORTED
This workaround was added since reading the firmware version on Ti50 versions < 0.0.15 will cause the Ti50 to become unresponsive. No one is using Ti50 this old anymore, so remove the workaround. BUG=b:224650720,b:236911319 TEST=Boot to OS on nivviks with Ti50 0.22.4. Check the log contains the firmware version: [INFO ] Firmware version: Ti50/D3C1 RO_B:0.0.26/- RW_B:0.22.4/ti50_common:v095c Change-Id: I3628b799e436a80d0512dabd356c4b2566ed600a Signed-off-by: Reka Norman <rekanorman@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/67138 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kangheui Won <khwon@chromium.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Diffstat (limited to 'src/drivers/tpm')
-rw-r--r--src/drivers/tpm/cr50.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/drivers/tpm/cr50.c b/src/drivers/tpm/cr50.c
index 1fe6cf8b89b6..25ce881d8aa8 100644
--- a/src/drivers/tpm/cr50.c
+++ b/src/drivers/tpm/cr50.c
@@ -192,13 +192,6 @@ enum cb_err cr50_get_firmware_version(struct cr50_firmware_version *version)
cr50_firmware_version.minor)
goto success;
- if (CONFIG(TI50_FIRMWARE_VERSION_NOT_SUPPORTED)) {
- printk(BIOS_WARNING, "Reading Ti50 firmware version is not supported\n");
- if (version)
- *version = cr50_firmware_version;
- return CB_ERR;
- }
-
int chunk_count = 0;
size_t chunk_size = 50;
char version_str[301];