diff options
-rw-r--r-- | libstb/drivers/tpm_i2c_interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libstb/drivers/tpm_i2c_interface.c b/libstb/drivers/tpm_i2c_interface.c index a6342e0..8e5ba32 100644 --- a/libstb/drivers/tpm_i2c_interface.c +++ b/libstb/drivers/tpm_i2c_interface.c @@ -21,7 +21,8 @@ #include "tpm_i2c_interface.h" #include "../status_codes.h" -#define I2C_BYTE_TIMEOUT_MS 30 /* 30ms/byte timeout */ +/* TPMs can clock strech I2C operations for a LOOOOOOONG */ +#define I2C_BYTE_TIMEOUT_MS 2000 /* 2000ms/byte timeout */ /** * tpm_i2c_request_send - send request to i2c bus |