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>
This commit is contained in:
committed by
Subrata Banik
parent
feab41b030
commit
39564922a5
@@ -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];
|
||||
|
Reference in New Issue
Block a user